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

java.lang.Object
  extended by org.apache.jetspeed.om.page.impl.BaseElementImpl
      extended by org.apache.jetspeed.page.document.impl.NodeImpl
          extended by org.apache.jetspeed.page.document.impl.DocumentImpl
              extended by org.apache.jetspeed.om.page.impl.PageSecurityImpl
All Implemented Interfaces:
SecuredResource, BaseElement, Document, PageSecurity, Node

public class PageSecurityImpl
extends DocumentImpl
implements PageSecurity

PageSecurityImpl

Version:
$Id$
Author:
Randy Watler

Field Summary
 
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
 java.util.List getGlobalSecurityConstraintsRefs()
           getGlobalSecurityConstraintsRefs
 SecurityConstraintsDef getSecurityConstraintsDef(java.lang.String name)
           getSecurityConstraintsDef
 java.util.List getSecurityConstraintsDefs()
           getSecurityConstraintsDefs
 java.lang.String getType()
           getType
 SecurityConstraint newSecurityConstraint()
           newSecurityConstraint
 SecurityConstraintsDef newSecurityConstraintsDef()
           newSecurityConstraintsDef
 void setGlobalSecurityConstraintsRefs(java.util.List constraintsRefs)
           setGlobalSecurityConstraintsRefs
 void setSecurityConstraintsDefs(java.util.List definitions)
           setSecurityConstraintsDefs
 
Methods inherited from class org.apache.jetspeed.page.document.impl.DocumentImpl
getTitle, getVersion, isDirty, setDirty, setVersion
 
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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, 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, newSecurityConstraints, setSecurityConstraints
 

Constructor Detail

PageSecurityImpl

public PageSecurityImpl()
Method Detail

newSecurityConstraint

public SecurityConstraint newSecurityConstraint()
Description copied from interface: SecuredResource

newSecurityConstraint

Specified by:
newSecurityConstraint in interface SecuredResource
Overrides:
newSecurityConstraint in class BaseElementImpl
Returns:
a newly created SecurityConstraint object for use in SecuredResource

getSecurityConstraintsDefs

public java.util.List getSecurityConstraintsDefs()
Description copied from interface: PageSecurity

getSecurityConstraintsDefs

Specified by:
getSecurityConstraintsDefs in interface PageSecurity
Returns:
security constraints definitions of type SecurityConstraintsDef

newSecurityConstraintsDef

public SecurityConstraintsDef newSecurityConstraintsDef()
Description copied from interface: PageSecurity

newSecurityConstraintsDef

Specified by:
newSecurityConstraintsDef in interface PageSecurity
Returns:
a newly created SecurityConstraintsDef object for use in PageSecurity

setSecurityConstraintsDefs

public void setSecurityConstraintsDefs(java.util.List definitions)
Description copied from interface: PageSecurity

setSecurityConstraintsDefs

Specified by:
setSecurityConstraintsDefs in interface PageSecurity

getSecurityConstraintsDef

public SecurityConstraintsDef getSecurityConstraintsDef(java.lang.String name)
Description copied from interface: PageSecurity

getSecurityConstraintsDef

Specified by:
getSecurityConstraintsDef in interface PageSecurity
Parameters:
name - of security constraints definition to return
Returns:
security constraints definition

getGlobalSecurityConstraintsRefs

public java.util.List getGlobalSecurityConstraintsRefs()
Description copied from interface: PageSecurity

getGlobalSecurityConstraintsRefs

Specified by:
getGlobalSecurityConstraintsRefs in interface PageSecurity
Returns:
global security constraints references of element type String

setGlobalSecurityConstraintsRefs

public void setGlobalSecurityConstraintsRefs(java.util.List constraintsRefs)
Description copied from interface: PageSecurity

setGlobalSecurityConstraintsRefs

Specified by:
setGlobalSecurityConstraintsRefs in interface PageSecurity
Parameters:
constraintsRefs - global security constraints references

getType

public java.lang.String getType()
Description copied from interface: Node

getType

Specified by:
getType in interface Node
Specified by:
getType in class NodeImpl
Returns:


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