|
|||||||||||
| 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.AbstractNode
AbstractNode
| Field Summary | |
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 class org.apache.jetspeed.om.page.psml.AbstractBaseElement |
|
| Fields inherited from interface org.apache.jetspeed.page.document.Node |
PATH_SEPARATOR, PATH_SEPARATOR_CHAR |
| Fields inherited from interface org.apache.jetspeed.om.common.SecuredResource |
EDIT_ACTION, VIEW_ACTION |
| Constructor Summary | |
AbstractNode()
|
|
| Method Summary | |
void |
checkConstraints(List actions,
List userPrincipals,
List rolePrincipals,
List groupPrincipals,
boolean checkNodeOnly,
boolean checkParentsOnly)
checkConstraints |
void |
checkPermissions(String path,
String actions,
boolean checkNodeOnly,
boolean checkParentsOnly)
checkPermissions |
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 |
isHidden()
isHidden |
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, clone, equals, getConstraintsEnabled, getHandlerFactory, getId, getPermissionsEnabled, getSecurityConstraints, getShortTitle, getTitle, grantViewActionAccess, hashCode, marshalling, setConstraintsEnabled, setHandlerFactory, setId, setPermissionsEnabled, setSecurityConstraints, setShortTitle, setTitle, toString |
| Methods inherited from class java.lang.Object |
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, setId, setShortTitle, setTitle |
| Methods inherited from interface org.apache.jetspeed.om.common.SecuredResource |
checkAccess, checkConstraints, checkPermissions, getConstraintsEnabled, getPermissionsEnabled, getSecurityConstraints, 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
| Constructor Detail |
public AbstractNode()
| Method Detail |
public org.apache.jetspeed.om.common.GenericMetadata getMetadata()
getMetadata in interface org.apache.jetspeed.page.document.Nodepublic 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.Nodelocale -
Node.getTitle(java.util.Locale)public String getShortTitle(Locale locale)
getShortTitle
getShortTitle in interface org.apache.jetspeed.page.document.Nodelocale -
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.NodeNode.getParent()public void setParent(org.apache.jetspeed.page.document.Node parent)
setParent
setParent in interface org.apache.jetspeed.page.document.Nodeparent - org.apache.jetspeed.page.document.Node#setParent(org.apache.jetspeed.om.folder.Folder)public String getName()
getName
getName in interface org.apache.jetspeed.page.document.NodeNode.getName()public String getTitleName()
public String getPath()
getPath in interface org.apache.jetspeed.page.document.Nodepublic void setPath(String path)
setPath
setPath in interface org.apache.jetspeed.page.document.Nodepath - The path to set.public String getUrl()
getUrl
Same as invokingNode.getPath() unless url explicitly set.
getUrl in interface org.apache.jetspeed.page.document.NodeNode.getUrl()public void setUrl(String url)
setUrl
url - The url to set.public boolean isHidden()
isHidden
isHidden in interface org.apache.jetspeed.page.document.NodeNode.isHidden()public void setHidden(boolean hidden)
hidden - The hidden to set.public String getProfiledPath()
public void setProfiledPath(String profiledPath)
public void checkConstraints(List actions,
List userPrincipals,
List rolePrincipals,
List groupPrincipals,
boolean checkNodeOnly,
boolean checkParentsOnly)
throws SecurityException
checkConstraints
checkConstraints in class AbstractBaseElementactions - userPrincipals - rolePrincipals - groupPrincipals - checkNodeOnly - checkParentsOnly -
SecurityException
public void checkPermissions(String path,
String actions,
boolean checkNodeOnly,
boolean checkParentsOnly)
throws SecurityException
checkPermissions
checkPermissions in class AbstractBaseElementpath - actions - checkNodeOnly - checkParentsOnly -
SecurityExceptionpublic String getLogicalPermissionPath()
getLogicalPermissionPath
getLogicalPermissionPath in class AbstractBaseElementpublic String getPhysicalPermissionPath()
getPhysicalPermissionPath
getPhysicalPermissionPath in class AbstractBaseElementpublic void unmarshalled()
unmarshalled in class AbstractBaseElement
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||