org.apache.jetspeed.om.page.psml
Class PageSecurityImpl

java.lang.Object
  extended by org.apache.jetspeed.om.page.psml.AbstractBaseElement
      extended by org.apache.jetspeed.page.document.psml.AbstractNode
          extended by org.apache.jetspeed.om.page.psml.DocumentImpl
              extended by org.apache.jetspeed.om.page.psml.PageSecurityImpl
All Implemented Interfaces:
Serializable, 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

SecurityImpl

Version:
$Id: PageSecurityImpl.java 516448 2007-03-09 16:25:47Z ate $
Author:
Randy Watler
See Also:
Serialized Form

Field Summary
private  List constraintsDefsList
           
private  Map constraintsDefsMap
           
private  List globalConstraintsRefs
           
 
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
 
Constructor Summary
PageSecurityImpl()
           
 
Method Summary
 List getGlobalSecurityConstraintsRefs()
           getGlobalSecurityConstraintsRefs
 org.apache.jetspeed.om.page.SecurityConstraintsDef getSecurityConstraintsDef(String name)
           getSecurityConstraintsDef
 List getSecurityConstraintsDefs()
           getSecurityConstraintsDefs
 String getType()
           getType
 org.apache.jetspeed.om.page.SecurityConstraintsDef newSecurityConstraintsDef()
           newSecurityConstraintsDef
 void setGlobalSecurityConstraintsRefs(List constraintsRefs)
           setGlobalSecurityConstraintsRefs
 void setSecurityConstraintsDefs(List definitions)
           setSecurityConstraintsDefs
 
Methods inherited from class org.apache.jetspeed.om.page.psml.DocumentImpl
getVersion, isDirty, setDirty, setVersion, unmarshalled
 
Methods inherited from class org.apache.jetspeed.page.document.psml.AbstractNode
checkConstraints, checkPermissions, getEffectivePageSecurity, getLogicalPermissionPath, getMetadata, getMetadataFields, getName, getParent, getParent, getPath, getPhysicalPermissionPath, getProfiledPath, getShortTitle, getTitle, getTitleName, getUrl, isHidden, setHidden, setMetadata, setMetadataFields, setParent, setPath, setProfiledPath, setUrl
 
Methods inherited from class org.apache.jetspeed.om.page.psml.AbstractBaseElement
checkAccess, checkAccess, checkConstraints, checkPermissions, checkPermissions, equals, getConstraintsEnabled, getHandlerFactory, getId, getPermissionsEnabled, getSecurityConstraints, getShortTitle, getTitle, grantViewActionAccess, hashCode, marshalling, newSecurityConstraint, newSecurityConstraints, setConstraintsEnabled, setHandlerFactory, setId, setPermissionsEnabled, setSecurityConstraints, setShortTitle, setTitle, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
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, newSecurityConstraint, newSecurityConstraints, setSecurityConstraints
 

Field Detail

constraintsDefsList

private List constraintsDefsList

constraintsDefsMap

private Map constraintsDefsMap

globalConstraintsRefs

private List globalConstraintsRefs
Constructor Detail

PageSecurityImpl

public PageSecurityImpl()
Method Detail

getType

public String getType()

getType

Specified by:
getType in interface org.apache.jetspeed.page.document.Node
Returns:
See Also:
Node.getType()

getSecurityConstraintsDefs

public List getSecurityConstraintsDefs()

getSecurityConstraintsDefs

Specified by:
getSecurityConstraintsDefs in interface org.apache.jetspeed.om.page.PageSecurity
Returns:
See Also:
PageSecurity.getSecurityConstraintsDefs()

setSecurityConstraintsDefs

public void setSecurityConstraintsDefs(List definitions)

setSecurityConstraintsDefs

Specified by:
setSecurityConstraintsDefs in interface org.apache.jetspeed.om.page.PageSecurity
Parameters:
defintions -
See Also:
PageSecurity.setSecurityConstraintsDefs(java.util.List)

newSecurityConstraintsDef

public org.apache.jetspeed.om.page.SecurityConstraintsDef newSecurityConstraintsDef()

newSecurityConstraintsDef

Specified by:
newSecurityConstraintsDef in interface org.apache.jetspeed.om.page.PageSecurity
Returns:
security constraints definition
See Also:
PageSecurity.newSecurityConstraintsDef()

getSecurityConstraintsDef

public org.apache.jetspeed.om.page.SecurityConstraintsDef getSecurityConstraintsDef(String name)

getSecurityConstraintsDef

Specified by:
getSecurityConstraintsDef in interface org.apache.jetspeed.om.page.PageSecurity
Parameters:
name -
Returns:
See Also:
PageSecurity.getSecurityConstraintsDef(java.lang.String)

getGlobalSecurityConstraintsRefs

public List getGlobalSecurityConstraintsRefs()

getGlobalSecurityConstraintsRefs

Specified by:
getGlobalSecurityConstraintsRefs in interface org.apache.jetspeed.om.page.PageSecurity
Returns:
See Also:
PageSecurity.getGlobalSecurityConstraintsRefs()

setGlobalSecurityConstraintsRefs

public void setGlobalSecurityConstraintsRefs(List constraintsRefs)

setGlobalSecurityConstraintsRefs

Specified by:
setGlobalSecurityConstraintsRefs in interface org.apache.jetspeed.om.page.PageSecurity
Parameters:
constraintsRefs -
See Also:
PageSecurity.setGlobalSecurityConstraintsRefs(java.util.List)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.