org.apache.jetspeed.om.page.impl
Class PageSecurityImpl
java.lang.Object
org.apache.jetspeed.om.page.impl.BaseElementImpl
org.apache.jetspeed.page.document.impl.NodeImpl
org.apache.jetspeed.page.document.impl.DocumentImpl
org.apache.jetspeed.om.page.impl.PageSecurityImpl
- All Implemented Interfaces:
- org.apache.jetspeed.om.common.SecuredResource, org.apache.jetspeed.om.page.BaseElement, org.apache.jetspeed.om.page.Document, org.apache.jetspeed.om.page.PageSecurity, org.apache.jetspeed.page.document.Node
public class PageSecurityImpl
- extends DocumentImpl
- implements org.apache.jetspeed.om.page.PageSecurity
PageSecurityImpl
- Version:
- $Id$
- Author:
- Randy Watler
Fields inherited from interface org.apache.jetspeed.om.page.PageSecurity |
DOCUMENT_TYPE |
Fields inherited from interface org.apache.jetspeed.page.document.Node |
PATH_SEPARATOR, PATH_SEPARATOR_CHAR |
Methods inherited from class org.apache.jetspeed.page.document.impl.NodeImpl |
checkConstraints, checkPermissions, defaultTitleFromName, getCanonicalNodePath, getEffectivePageSecurity, getLogicalPermissionPath, getMetadata, getName, getPageMetadata, getParent, getPath, getPhysicalPermissionPath, getShortTitle, getTitle, getUrl, isHidden, newPageMetadata, setHidden, setName, setParent, setPath |
Methods inherited from class org.apache.jetspeed.om.page.impl.BaseElementImpl |
checkAccess, checkConstraints, checkPermissions, checkPermissions, equals, getConstraintsEnabled, getId, getPermissionsEnabled, getSecurityConstraints, getShortTitle, grantViewActionAccess, hashCode, newSecurityConstraints, resetCachedSecurityConstraints, setConstraintsEnabled, setPermissionsEnabled, setSecurityConstraints, setShortTitle, setTitle |
Methods inherited from interface org.apache.jetspeed.om.page.Document |
getVersion, isDirty, setDirty, setVersion |
Methods inherited from interface org.apache.jetspeed.page.document.Node |
getMetadata, getName, getParent, getPath, getShortTitle, getTitle, getUrl, isHidden, setHidden, setParent, setPath |
Methods inherited from interface org.apache.jetspeed.om.page.BaseElement |
getId, getShortTitle, getTitle, setShortTitle, setTitle |
Methods inherited from interface org.apache.jetspeed.om.common.SecuredResource |
checkAccess, checkConstraints, checkPermissions, getConstraintsEnabled, getPermissionsEnabled, getSecurityConstraints, newSecurityConstraints, setSecurityConstraints |
constraintsDefs
private List constraintsDefs
globalConstraintsRefs
private List globalConstraintsRefs
securityConstraintsDefs
private PageSecurityConstraintsDefList securityConstraintsDefs
securityConstraintsDefsMap
private Map securityConstraintsDefsMap
globalSecurityConstraintsRefs
private PageSecurityConstraintsRefList globalSecurityConstraintsRefs
PageSecurityImpl
public PageSecurityImpl()
accessConstraintsDefs
List accessConstraintsDefs()
- accessConstraintsDefs
Access mutable persistent collection member for List wrappers.
- Returns:
- persistent collection
accessGlobalConstraintsRefs
List accessGlobalConstraintsRefs()
- accessGlobalConstraintsRefs
Access mutable persistent collection member for List wrappers.
- Returns:
- persistent collection
clearSecurityConstraintsDefsMap
void clearSecurityConstraintsDefsMap()
- clearSecurityConstraintsDefsMap
Clear previously cached security constraints definitions map.
newSecurityConstraint
public org.apache.jetspeed.om.common.SecurityConstraint newSecurityConstraint()
- Specified by:
newSecurityConstraint
in interface org.apache.jetspeed.om.common.SecuredResource
- Overrides:
newSecurityConstraint
in class BaseElementImpl
getSecurityConstraintsDefs
public List getSecurityConstraintsDefs()
- Specified by:
getSecurityConstraintsDefs
in interface org.apache.jetspeed.om.page.PageSecurity
newSecurityConstraintsDef
public org.apache.jetspeed.om.page.SecurityConstraintsDef newSecurityConstraintsDef()
- Specified by:
newSecurityConstraintsDef
in interface org.apache.jetspeed.om.page.PageSecurity
setSecurityConstraintsDefs
public void setSecurityConstraintsDefs(List definitions)
- Specified by:
setSecurityConstraintsDefs
in interface org.apache.jetspeed.om.page.PageSecurity
getSecurityConstraintsDef
public org.apache.jetspeed.om.page.SecurityConstraintsDef getSecurityConstraintsDef(String name)
- Specified by:
getSecurityConstraintsDef
in interface org.apache.jetspeed.om.page.PageSecurity
getGlobalSecurityConstraintsRefs
public List getGlobalSecurityConstraintsRefs()
- Specified by:
getGlobalSecurityConstraintsRefs
in interface org.apache.jetspeed.om.page.PageSecurity
setGlobalSecurityConstraintsRefs
public void setGlobalSecurityConstraintsRefs(List constraintsRefs)
- Specified by:
setGlobalSecurityConstraintsRefs
in interface org.apache.jetspeed.om.page.PageSecurity
getType
public String getType()
- Specified by:
getType
in interface org.apache.jetspeed.page.document.Node
- Specified by:
getType
in class NodeImpl
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.