|
||||||||||
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 | |
---|---|
private boolean |
dirty
|
private boolean |
hidden
|
private PageMetadataImpl |
metadata
|
private org.apache.jetspeed.page.document.Node |
parent
|
private String |
path
|
private String |
profiledPath
|
private String |
url
|
Fields inherited from interface org.apache.jetspeed.page.document.Node |
---|
PATH_SEPARATOR, PATH_SEPARATOR_CHAR |
Constructor Summary | |
---|---|
AbstractNode()
|
Method Summary | |
---|---|
void |
checkConstraints(List actions,
List userPrincipals,
List rolePrincipals,
List groupPrincipals,
boolean checkNodeOnly,
boolean checkParentsOnly)
checkConstraints |
void |
checkPermissions(String path,
int mask,
boolean checkNodeOnly,
boolean checkParentsOnly)
checkPermissions |
org.apache.jetspeed.om.page.PageSecurity |
getEffectivePageSecurity()
getEffectivePageSecurity |
String |
getLogicalPermissionPath()
getLogicalPermissionPath |
org.apache.jetspeed.om.common.GenericMetadata |
getMetadata()
getMetadata - get/construct metadata |
Collection |
getMetadataFields()
getMetadataFields - get metadata fields collection for marshalling/unmarshalling |
String |
getName()
getName |
private PageMetadataImpl |
getPageMetadata()
getPageMetadata - get/construct page metadata instance |
org.apache.jetspeed.page.document.Node |
getParent()
getParent |
org.apache.jetspeed.page.document.Node |
getParent(boolean checkAccess)
getParent |
String |
getPath()
|
String |
getPhysicalPermissionPath()
getPhysicalPermissionPath |
String |
getProfiledPath()
|
String |
getShortTitle(Locale locale)
getShortTitle |
String |
getTitle(Locale locale)
getTitle |
String |
getTitleName()
getTitleName - get name for use as default titles |
String |
getUrl()
getUrl |
boolean |
isDirty()
|
boolean |
isHidden()
isHidden |
void |
setDirty(boolean dirty)
|
void |
setHidden(boolean hidden)
|
void |
setMetadata(org.apache.jetspeed.om.common.GenericMetadata metadata)
setMetadata - set metadata fields |
void |
setMetadataFields(Collection metadataFields)
setMetadataFields - set metadata fields collection |
void |
setParent(org.apache.jetspeed.page.document.Node parent)
setParent |
void |
setPath(String path)
setPath |
void |
setProfiledPath(String profiledPath)
|
void |
setUrl(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 |
Field Detail |
---|
private PageMetadataImpl metadata
private org.apache.jetspeed.page.document.Node parent
private String path
private String url
private boolean hidden
private String profiledPath
private boolean dirty
Constructor Detail |
---|
public AbstractNode()
Method Detail |
---|
public org.apache.jetspeed.om.common.GenericMetadata getMetadata()
getMetadata
in interface org.apache.jetspeed.page.document.Node
public void setMetadata(org.apache.jetspeed.om.common.GenericMetadata metadata)
metadata
- metadatapublic Collection getMetadataFields()
public void setMetadataFields(Collection metadataFields)
metadataFields
- metadata fields collectionprivate PageMetadataImpl getPageMetadata()
public String getTitle(Locale locale)
getTitle
getTitle
in interface org.apache.jetspeed.page.document.Node
locale
-
Node.getTitle(java.util.Locale)
public String getShortTitle(Locale locale)
getShortTitle
getShortTitle
in interface org.apache.jetspeed.page.document.Node
locale
-
Node.getShortTitle(java.util.Locale)
public org.apache.jetspeed.page.document.Node getParent(boolean checkAccess)
getParent
checkAccess
- flag
public org.apache.jetspeed.page.document.Node getParent()
getParent
getParent
in interface org.apache.jetspeed.page.document.Node
Node.getParent()
public void setParent(org.apache.jetspeed.page.document.Node parent)
setParent
setParent
in interface org.apache.jetspeed.page.document.Node
parent
- Node.setParent(Node)
public String getName()
getName
getName
in interface org.apache.jetspeed.page.document.Node
Node.getName()
public String getTitleName()
public String getPath()
getPath
in interface org.apache.jetspeed.page.document.Node
public void setPath(String path)
setPath
setPath
in interface org.apache.jetspeed.page.document.Node
path
- The path to set.public String getUrl()
getUrl
Same as invokingNode.getPath()
unless url explicitly set.
getUrl
in interface org.apache.jetspeed.page.document.Node
Node.getUrl()
public void setUrl(String url)
setUrl
url
- The url to set.public boolean isHidden()
isHidden
isHidden
in interface org.apache.jetspeed.page.document.Node
Node.isHidden()
public void setHidden(boolean hidden)
setHidden
in interface org.apache.jetspeed.page.document.Node
hidden
- The hidden to set.public String getProfiledPath()
public void setProfiledPath(String profiledPath)
profiledPath
- The profiled path to set.public org.apache.jetspeed.om.page.PageSecurity getEffectivePageSecurity()
getEffectivePageSecurity
in class AbstractBaseElement
AbstractBaseElement.getEffectivePageSecurity()
public void checkConstraints(List actions, List userPrincipals, List rolePrincipals, List groupPrincipals, boolean checkNodeOnly, boolean checkParentsOnly) throws SecurityException
checkConstraints
checkConstraints
in class AbstractBaseElement
actions
- userPrincipals
- rolePrincipals
- groupPrincipals
- checkNodeOnly
- checkParentsOnly
-
SecurityException
public void checkPermissions(String path, int mask, boolean checkNodeOnly, boolean checkParentsOnly) throws SecurityException
checkPermissions
checkPermissions
in class AbstractBaseElement
path
- mask
- Mask of actions requestedcheckNodeOnly
- checkParentsOnly
-
SecurityException
public String getLogicalPermissionPath()
getLogicalPermissionPath
getLogicalPermissionPath
in class AbstractBaseElement
public 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 |