|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.om.page.impl.SecurityConstraintsImpl
public class SecurityConstraintsImpl
SecurityConstraintsImpl
Field Summary | |
---|---|
private List |
allConstraints
|
private List |
constraints
|
private List |
constraintsRefs
|
private String |
owner
|
private SecurityConstraintList |
securityConstraints
|
private SecurityConstraintsRefList |
securityConstraintsRefs
|
Constructor Summary | |
---|---|
SecurityConstraintsImpl()
|
Method Summary | |
---|---|
(package private) List |
accessConstraints()
accessConstraints Access mutable persistent collection member for List wrappers. |
(package private) List |
accessConstraintsRefs()
accessConstraintsRefs Access mutable persistent collection member for List wrappers. |
void |
checkConstraints(List actions,
List userPrincipals,
List rolePrincipals,
List groupPrincipals,
org.apache.jetspeed.om.page.PageSecurity pageSecurity)
checkConstraints |
(package private) void |
clearAllSecurityConstraints()
clearAllSecurityConstraints |
private List |
dereferenceSecurityConstraintsRefs(List constraintsRefs,
org.apache.jetspeed.om.page.PageSecurity pageSecurity)
dereferenceSecurityConstraintsRefs |
private List |
getAllSecurityConstraints(org.apache.jetspeed.om.page.PageSecurity pageSecurity)
getAllSecurityConstraints |
String |
getOwner()
|
Class |
getSecurityConstraintClass()
getSecurityConstraintClass Return class of persistent constraint instance. |
List |
getSecurityConstraints()
|
Class |
getSecurityConstraintsRefClass()
getSecurityConstraintsRefClass Return class of persistent constraints reference instance. |
List |
getSecurityConstraintsRefs()
|
boolean |
isEmpty()
|
void |
resetCachedSecurityConstraints()
resetCachedSecurityConstraints |
void |
setOwner(String owner)
|
void |
setSecurityConstraints(List constraints)
|
void |
setSecurityConstraintsRefs(List constraintsRefs)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private String owner
private List constraints
private List constraintsRefs
private SecurityConstraintList securityConstraints
private SecurityConstraintsRefList securityConstraintsRefs
private List allConstraints
Constructor Detail |
---|
public SecurityConstraintsImpl()
Method Detail |
---|
List accessConstraintsRefs()
List accessConstraints()
public Class getSecurityConstraintClass()
public Class getSecurityConstraintsRefClass()
public void checkConstraints(List actions, List userPrincipals, List rolePrincipals, List groupPrincipals, org.apache.jetspeed.om.page.PageSecurity pageSecurity) throws SecurityException
actions
- actions to checkuserPrincipals
- principal users listrolePrincipals
- principal roles listgroupPrincipals
- principal group listpageSecurity
- page security definitions
SecurityException
public void resetCachedSecurityConstraints()
private List getAllSecurityConstraints(org.apache.jetspeed.om.page.PageSecurity pageSecurity)
pageSecurity
- page security definitions
void clearAllSecurityConstraints()
private List dereferenceSecurityConstraintsRefs(List constraintsRefs, org.apache.jetspeed.om.page.PageSecurity pageSecurity)
constraintsRefs
- contstraints references to be dereferencedpageSecurity
- page security definitions
public String getOwner()
getOwner
in interface org.apache.jetspeed.om.common.SecurityConstraints
public void setOwner(String owner)
setOwner
in interface org.apache.jetspeed.om.common.SecurityConstraints
public List getSecurityConstraints()
getSecurityConstraints
in interface org.apache.jetspeed.om.common.SecurityConstraints
public void setSecurityConstraints(List constraints)
setSecurityConstraints
in interface org.apache.jetspeed.om.common.SecurityConstraints
public List getSecurityConstraintsRefs()
getSecurityConstraintsRefs
in interface org.apache.jetspeed.om.common.SecurityConstraints
public void setSecurityConstraintsRefs(List constraintsRefs)
setSecurityConstraintsRefs
in interface org.apache.jetspeed.om.common.SecurityConstraints
public boolean isEmpty()
isEmpty
in interface org.apache.jetspeed.om.common.SecurityConstraints
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |