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

java.lang.Object
  extended byorg.apache.jetspeed.om.page.psml.AbstractBaseElement
      extended byorg.apache.jetspeed.page.document.AbstractNode
          extended byorg.apache.jetspeed.om.page.psml.PageSecurityImpl
All Implemented Interfaces:
org.apache.jetspeed.om.page.BaseElement, org.apache.jetspeed.om.page.Document, org.apache.jetspeed.page.document.Node, org.apache.jetspeed.om.page.PageSecurity, org.apache.jetspeed.om.common.SecuredResource, Serializable

public class PageSecurityImpl
extends AbstractNode
implements org.apache.jetspeed.om.page.PageSecurity

SecurityImpl

Version:
$Id: PageSecurityImpl.java 187962 2004-11-19 03:07:43Z taylor $
Author:
Randy Watler
See Also:
Serialized Form

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

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-2005 Apache Software Foundation. All Rights Reserved.