|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.om.page.psml.AbstractBaseElement
public abstract class AbstractBaseElement
| Constructor Summary | |
|---|---|
AbstractBaseElement()
|
|
| Method Summary | |
|---|---|
static NodeSet |
checkAccess(NodeSet nodes,
java.lang.String actions)
checkAccess returns a set of nodes we can access. |
void |
checkAccess(java.lang.String actions)
checkAccess |
void |
checkConstraints(java.util.List actions,
java.util.List userPrincipals,
java.util.List rolePrincipals,
java.util.List groupPrincipals,
boolean checkNodeOnly,
boolean checkParentsOnly)
checkConstraints |
void |
checkConstraints(java.lang.String actions)
checkConstraints |
void |
checkPermissions(int mask)
checkPermissions |
void |
checkPermissions(int mask,
boolean checkNodeOnly,
boolean checkParentsOnly)
checkPermissions |
void |
checkPermissions(java.lang.String path,
int mask,
boolean checkNodeOnly,
boolean checkParentsOnly)
checkPermissions |
boolean |
equals(java.lang.Object obj)
equals |
boolean |
getConstraintsEnabled()
getConstraintsEnabled |
PageSecurity |
getEffectivePageSecurity()
getEffectivePageSecurity |
DocumentHandlerFactory |
getHandlerFactory()
getHandlerFactory |
java.lang.String |
getId()
|
java.lang.String |
getLogicalPermissionPath()
getLogicalPermissionPath |
boolean |
getPermissionsEnabled()
getPermissionsEnabled |
java.lang.String |
getPhysicalPermissionPath()
getPhysicalPermissionPath |
SecurityConstraints |
getSecurityConstraints()
getSecurityConstraints |
java.lang.String |
getShortTitle()
getShortTitle |
java.lang.String |
getTitle()
getTitle |
boolean |
grantViewActionAccess()
grantViewActionAccess |
int |
hashCode()
hashCode |
void |
marshalling()
marshalling - notification that this instance is to be saved to the persistent store |
SecurityConstraint |
newSecurityConstraint()
newSecurityConstraint |
SecurityConstraints |
newSecurityConstraints()
newSecurityConstraints |
void |
setConstraintsEnabled(boolean enabled)
setConstraintsEnabled |
void |
setHandlerFactory(DocumentHandlerFactory factory)
setHandlerFactory |
void |
setId(java.lang.String id)
|
void |
setPermissionsEnabled(boolean enabled)
setPermissionsEnabled |
void |
setSecurityConstraints(SecurityConstraints constraints)
setSecurityConstraints |
void |
setShortTitle(java.lang.String title)
setShortTitle |
void |
setTitle(java.lang.String title)
setTitle |
java.lang.String |
toString()
toString |
void |
unmarshalled()
unmarshalled - notification that this instance has been loaded from the persistent store |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractBaseElement()
| Method Detail |
|---|
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getTitle()
getTitle
BaseElement.getTitle()public void setTitle(java.lang.String title)
setTitle
title - BaseElement.setTitle(java.lang.String)public java.lang.String getShortTitle()
getShortTitle
BaseElement.getShortTitle()public void setShortTitle(java.lang.String title)
setShortTitle
title - BaseElement.setShortTitle(java.lang.String)public boolean getConstraintsEnabled()
getConstraintsEnabled
getConstraintsEnabled in interface SecuredResourceorg.apache.jetspeed.om.common.SecureResource#getConstraintsEnabled()public void setConstraintsEnabled(boolean enabled)
setConstraintsEnabled
enabled - indicatorpublic SecurityConstraints getSecurityConstraints()
getSecurityConstraints
getSecurityConstraints in interface SecuredResourceorg.apache.jetspeed.om.common.SecureResource#getSecurityConstraints()public SecurityConstraints newSecurityConstraints()
newSecurityConstraints
newSecurityConstraints in interface SecuredResourceorg.apache.jetspeed.om.common.SecureResource#newSecurityConstraints()public SecurityConstraint newSecurityConstraint()
newSecurityConstraint
newSecurityConstraint in interface SecuredResourceorg.apache.jetspeed.om.common.SecureResource#newSecurityConstraint()public void setSecurityConstraints(SecurityConstraints constraints)
setSecurityConstraints
setSecurityConstraints in interface SecuredResourceconstraints - org.apache.jetspeed.om.common.SecureResource#setSecurityConstraints(org.apache.jetspeed.om.common.SecurityConstraints)
public void checkConstraints(java.lang.String actions)
throws java.lang.SecurityException
checkConstraints
checkConstraints in interface SecuredResourceactions -
java.lang.SecurityExceptionorg.apache.jetspeed.om.common.SecureResource#checkConstraints(java.lang.String)
public void checkConstraints(java.util.List actions,
java.util.List userPrincipals,
java.util.List rolePrincipals,
java.util.List groupPrincipals,
boolean checkNodeOnly,
boolean checkParentsOnly)
throws java.lang.SecurityException
checkConstraints
actions - userPrincipals - rolePrincipals - groupPrincipals - checkNodeOnly - checkParentsOnly -
java.lang.SecurityExceptionpublic boolean getPermissionsEnabled()
getPermissionsEnabled
getPermissionsEnabled in interface SecuredResourceorg.apache.jetspeed.om.common.SecureResource#getPermissionsEnabled()public void setPermissionsEnabled(boolean enabled)
setPermissionsEnabled
enabled - indicator
public void checkPermissions(int mask)
throws java.lang.SecurityException
checkPermissions
checkPermissions in interface SecuredResourcemask - Mask of actions requested
java.lang.SecurityExceptionSecuredResource.checkPermissions(int)
public void checkPermissions(int mask,
boolean checkNodeOnly,
boolean checkParentsOnly)
throws java.lang.SecurityException
checkPermissions
mask - of actionscheckNodeOnly - checkParentsOnly -
java.lang.SecurityException
public void checkPermissions(java.lang.String path,
int mask,
boolean checkNodeOnly,
boolean checkParentsOnly)
throws java.lang.SecurityException
checkPermissions
path - mask - Mask of actions requestedcheckNodeOnly - checkParentsOnly -
java.lang.SecurityExceptionpublic java.lang.String getLogicalPermissionPath()
getLogicalPermissionPath
public java.lang.String getPhysicalPermissionPath()
getPhysicalPermissionPath
public void checkAccess(java.lang.String actions)
throws java.lang.SecurityException
checkAccess
checkAccess in interface SecuredResourceactions -
java.lang.SecurityExceptionorg.apache.jetspeed.om.common.SecureResource#checkAccess(java.lang.String)public boolean grantViewActionAccess()
grantViewActionAccess
public PageSecurity getEffectivePageSecurity()
public DocumentHandlerFactory getHandlerFactory()
getHandlerFactory
public void setHandlerFactory(DocumentHandlerFactory factory)
setHandlerFactory
factory - element handler factorypublic boolean equals(java.lang.Object obj)
equals
equals in class java.lang.Objectobj -
Object.equals(java.lang.Object)public int hashCode()
hashCode
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String toString()
toString
toString in class java.lang.ObjectObject.toString()
public static NodeSet checkAccess(NodeSet nodes,
java.lang.String actions)
checkAccess returns a set of nodes we can access. It may be the passed in node set or a partial copy.
nodes - actions -
public void unmarshalled()
public void marshalling()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||