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:
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

Field Summary
private  List constraintsDefs
           
private  List globalConstraintsRefs
           
private  PageSecurityConstraintsRefList globalSecurityConstraintsRefs
           
private  PageSecurityConstraintsDefList securityConstraintsDefs
           
private  Map securityConstraintsDefsMap
           
 
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
(package private)  List accessConstraintsDefs()
          accessConstraintsDefs Access mutable persistent collection member for List wrappers.
(package private)  List accessGlobalConstraintsRefs()
          accessGlobalConstraintsRefs Access mutable persistent collection member for List wrappers.
(package private)  void clearSecurityConstraintsDefsMap()
          clearSecurityConstraintsDefsMap Clear previously cached security constraints definitions map.
 List getGlobalSecurityConstraintsRefs()
           
 org.apache.jetspeed.om.page.SecurityConstraintsDef getSecurityConstraintsDef(String name)
           
 List getSecurityConstraintsDefs()
           
 String getType()
           
 org.apache.jetspeed.om.common.SecurityConstraint newSecurityConstraint()
           
 org.apache.jetspeed.om.page.SecurityConstraintsDef newSecurityConstraintsDef()
           
 void setGlobalSecurityConstraintsRefs(List constraintsRefs)
           
 void setSecurityConstraintsDefs(List definitions)
           
 
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
 

Field Detail

constraintsDefs

private List constraintsDefs

globalConstraintsRefs

private List globalConstraintsRefs

securityConstraintsDefs

private PageSecurityConstraintsDefList securityConstraintsDefs

securityConstraintsDefsMap

private Map securityConstraintsDefsMap

globalSecurityConstraintsRefs

private PageSecurityConstraintsRefList globalSecurityConstraintsRefs
Constructor Detail

PageSecurityImpl

public PageSecurityImpl()
Method Detail

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.