|
||||||||||
| 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
org.apache.jetspeed.page.document.psml.AbstractNode
public abstract class AbstractNode
AbstractNode
| Field Summary |
|---|
| Fields inherited from interface org.apache.jetspeed.page.document.Node |
|---|
PATH_SEPARATOR, PATH_SEPARATOR_CHAR |
| Constructor Summary | |
|---|---|
AbstractNode()
|
|
| Method Summary | |
|---|---|
void |
checkConstraints(java.util.List actions,
java.util.List userPrincipals,
java.util.List rolePrincipals,
java.util.List groupPrincipals,
boolean checkNodeOnly,
boolean checkParentsOnly)
checkConstraints |
void |
checkPermissions(java.lang.String path,
int mask,
boolean checkNodeOnly,
boolean checkParentsOnly)
checkPermissions |
PageSecurity |
getEffectivePageSecurity()
getEffectivePageSecurity |
java.lang.String |
getLogicalPermissionPath()
getLogicalPermissionPath |
GenericMetadata |
getMetadata()
getMetadata - get/construct metadata |
java.util.Collection |
getMetadataFields()
getMetadataFields - get metadata fields collection for marshalling/unmarshalling |
java.lang.String |
getName()
getName |
Node |
getParent()
getParent |
Node |
getParent(boolean checkAccess)
getParent |
java.lang.String |
getPath()
getPath |
java.lang.String |
getPhysicalPermissionPath()
getPhysicalPermissionPath |
java.lang.String |
getProfiledPath()
|
java.lang.String |
getShortTitle(java.util.Locale locale)
getShortTitle |
java.lang.String |
getTitle(java.util.Locale locale)
getTitle |
java.lang.String |
getTitleName()
getTitleName - get name for use as default titles |
java.lang.String |
getUrl()
getUrl |
boolean |
isDirty()
|
boolean |
isHidden()
isHidden |
void |
setDirty(boolean dirty)
|
void |
setHidden(boolean hidden)
setHidden |
void |
setMetadata(GenericMetadata metadata)
setMetadata - set metadata fields |
void |
setMetadataFields(java.util.Collection metadataFields)
setMetadataFields - set metadata fields collection |
void |
setParent(Node parent)
setParent |
void |
setPath(java.lang.String path)
setPath |
void |
setProfiledPath(java.lang.String profiledPath)
|
void |
setUrl(java.lang.String url)
setUrl |
void |
unmarshalled()
unmarshalled - notification that this instance has been loaded from the persistent store |
| 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.page.document.Node |
|---|
getType |
| 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 |
| Constructor Detail |
|---|
public AbstractNode()
| Method Detail |
|---|
public GenericMetadata getMetadata()
getMetadata in interface Nodepublic void setMetadata(GenericMetadata metadata)
metadata - metadatapublic java.util.Collection getMetadataFields()
public void setMetadataFields(java.util.Collection metadataFields)
metadataFields - metadata fields collectionpublic java.lang.String getTitle(java.util.Locale locale)
getTitle
getTitle in interface Nodelocale -
Node.getTitle(java.util.Locale)public java.lang.String getShortTitle(java.util.Locale locale)
getShortTitle
getShortTitle in interface Nodelocale -
Node.getShortTitle(java.util.Locale)public Node getParent(boolean checkAccess)
getParent
checkAccess - flag
public Node getParent()
getParent
getParent in interface NodeNode.getParent()public void setParent(Node parent)
setParent
setParent in interface Nodeparent - Node.setParent(Node)public java.lang.String getName()
getName
getName in interface NodeNode.getName()public java.lang.String getTitleName()
public java.lang.String getPath()
NodegetPath
getPath in interface Nodepublic void setPath(java.lang.String path)
setPath
setPath in interface Nodepath - The path to set.public java.lang.String getUrl()
getUrl
Same as invokingNode.getPath() unless url explicitly set.
getUrl in interface NodeNode.getUrl()public void setUrl(java.lang.String url)
setUrl
url - The url to set.public boolean isHidden()
isHidden
isHidden in interface NodeNode.isHidden()public void setHidden(boolean hidden)
NodesetHidden
Whether or not this Node should be hidden in terms of the view.
setHidden in interface Nodehidden - The hidden to set.public java.lang.String getProfiledPath()
public void setProfiledPath(java.lang.String profiledPath)
profiledPath - The profiled path to set.public PageSecurity getEffectivePageSecurity()
getEffectivePageSecurity in class AbstractBaseElementAbstractBaseElement.getEffectivePageSecurity()
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
checkConstraints in class AbstractBaseElementactions - userPrincipals - rolePrincipals - groupPrincipals - checkNodeOnly - checkParentsOnly -
java.lang.SecurityException
public void checkPermissions(java.lang.String path,
int mask,
boolean checkNodeOnly,
boolean checkParentsOnly)
throws java.lang.SecurityException
checkPermissions
checkPermissions in class AbstractBaseElementpath - mask - Mask of actions requestedcheckNodeOnly - checkParentsOnly -
java.lang.SecurityExceptionpublic java.lang.String getLogicalPermissionPath()
getLogicalPermissionPath
getLogicalPermissionPath in class AbstractBaseElementpublic java.lang.String getPhysicalPermissionPath()
getPhysicalPermissionPath
getPhysicalPermissionPath in class AbstractBaseElementpublic void unmarshalled()
unmarshalled in class AbstractBaseElementpublic boolean isDirty()
public void setDirty(boolean dirty)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||