|
||||||||||
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 Node
public 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 Node
locale
-
Node.getTitle(java.util.Locale)
public java.lang.String getShortTitle(java.util.Locale locale)
getShortTitle
getShortTitle
in interface Node
locale
-
Node.getShortTitle(java.util.Locale)
public Node getParent(boolean checkAccess)
getParent
checkAccess
- flag
public Node getParent()
getParent
getParent
in interface Node
Node.getParent()
public void setParent(Node parent)
setParent
setParent
in interface Node
parent
- Node.setParent(Node)
public java.lang.String getName()
getName
getName
in interface Node
Node.getName()
public java.lang.String getTitleName()
public java.lang.String getPath()
Node
getPath
getPath
in interface Node
public void setPath(java.lang.String path)
setPath
setPath
in interface Node
path
- The path to set.public java.lang.String getUrl()
getUrl
Same as invokingNode.getPath()
unless url explicitly set.
getUrl
in interface Node
Node.getUrl()
public void setUrl(java.lang.String url)
setUrl
url
- The url to set.public boolean isHidden()
isHidden
isHidden
in interface Node
Node.isHidden()
public void setHidden(boolean hidden)
Node
setHidden
Whether or not this Node should be hidden in terms of the view.
setHidden
in interface Node
hidden
- 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 AbstractBaseElement
AbstractBaseElement.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 AbstractBaseElement
actions
- 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 AbstractBaseElement
path
- mask
- Mask of actions requestedcheckNodeOnly
- checkParentsOnly
-
java.lang.SecurityException
public java.lang.String getLogicalPermissionPath()
getLogicalPermissionPath
getLogicalPermissionPath
in class AbstractBaseElement
public java.lang.String getPhysicalPermissionPath()
getPhysicalPermissionPath
getPhysicalPermissionPath
in class AbstractBaseElement
public void unmarshalled()
unmarshalled
in class AbstractBaseElement
public boolean isDirty()
public void setDirty(boolean dirty)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |