|
||||||||||
| 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
org.apache.jetspeed.om.page.psml.DocumentImpl
org.apache.jetspeed.om.page.psml.PageImpl
public class PageImpl
| Field Summary |
|---|
| Fields inherited from interface org.apache.jetspeed.om.page.Page |
|---|
DOCUMENT_TYPE |
| Fields inherited from interface org.apache.jetspeed.page.document.Node |
|---|
PATH_SEPARATOR, PATH_SEPARATOR_CHAR |
| Constructor Summary | |
|---|---|
PageImpl()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
equals |
java.lang.String |
getDefaultDecorator(java.lang.String fragmentType)
Returns the name of the default decorator that applies in this page to fragments of the specified type |
DefaultsImpl |
getDefaults()
|
java.lang.String |
getEffectiveDefaultDecorator(java.lang.String fragmentType)
Returns the name of the default decorator as set here or in parent folders that applies in this page to fragments of the specified type. |
Fragment |
getFragmentById(java.lang.String id)
Retrieves the fragment contained within this page, with the specified Id. |
java.util.List |
getFragmentsByName(java.lang.String name)
Retrieves the fragments contained within this page, with the specified name. |
java.util.List |
getMenuDefinitions()
getMenuDefinitions - get list of menu definitions |
Fragment |
getRootFragment()
Retrieves the top level fragment of this page. |
java.lang.String |
getSkin()
Returns the name of the default skin that applies to this page. |
java.lang.String |
getType()
getType |
int |
hashCode()
hashCode |
void |
marshalling()
marshalling - notification that this instance is to be saved to the persistent store |
MenuDefinition |
newMenuDefinition()
newMenuDefinition - creates a new empty menu definition |
MenuExcludeDefinition |
newMenuExcludeDefinition()
newMenuExcludeDefinition - creates a new empty menu exclude definition |
MenuIncludeDefinition |
newMenuIncludeDefinition()
newMenuIncludeDefinition - creates a new empty menu include definition |
MenuOptionsDefinition |
newMenuOptionsDefinition()
newMenuOptionsDefinition - creates a new empty menu options definition |
MenuSeparatorDefinition |
newMenuSeparatorDefinition()
newMenuSeparatorDefinition - creates a new empty menu separator definition |
Fragment |
removeFragmentById(java.lang.String id)
Removes the fragment contained within this page, with the specified Id. |
void |
setDefaultDecorator(java.lang.String decoratorName,
java.lang.String fragmentType)
Modifies the default decorator for the specified fragment type. |
void |
setDefaults(DefaultsImpl defaults)
|
void |
setId(java.lang.String id)
setId |
void |
setMenuDefinitions(java.util.List definitions)
setMenuDefinitions - set list of menu definitions |
void |
setRootFragment(Fragment root)
Sets the top level fragment of this page. |
void |
setSkin(java.lang.String skinName)
Modifies the skin for this page. |
void |
unmarshalled()
unmarshalled - notification that this instance has been loaded from the persistent store |
| Methods inherited from class org.apache.jetspeed.om.page.psml.DocumentImpl |
|---|
getVersion, isDirty, setDirty, setVersion |
| Methods inherited from class org.apache.jetspeed.page.document.psml.AbstractNode |
|---|
checkConstraints, checkPermissions, getEffectivePageSecurity, getLogicalPermissionPath, getMetadata, getMetadataFields, getName, getParent, getParent, getPath, getPhysicalPermissionPath, getProfiledPath, getShortTitle, getTitle, getTitleName, getUrl, isHidden, setHidden, setMetadata, setMetadataFields, setParent, setPath, setProfiledPath, setUrl |
| Methods inherited from class org.apache.jetspeed.om.page.psml.AbstractBaseElement |
|---|
checkAccess, checkAccess, checkConstraints, checkPermissions, checkPermissions, getConstraintsEnabled, getHandlerFactory, getId, getPermissionsEnabled, getSecurityConstraints, getShortTitle, getTitle, grantViewActionAccess, newSecurityConstraint, newSecurityConstraints, setConstraintsEnabled, setHandlerFactory, 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.om.page.Document |
|---|
getVersion, isDirty, setDirty, setVersion |
| Methods inherited from interface org.apache.jetspeed.page.document.Node |
|---|
getMetadata, getName, getParent, getPath, getShortTitle, getTitle, getUrl, isHidden, setHidden, setParent, setPath |
| 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 PageImpl()
| Method Detail |
|---|
public void setId(java.lang.String id)
setId
setId in class AbstractBaseElementid - AbstractBaseElement.setId(java.lang.String)public boolean equals(java.lang.Object obj)
equals
equals in class AbstractBaseElementobj -
Object.equals(java.lang.Object)public int hashCode()
hashCode
hashCode in class AbstractBaseElementObject.hashCode()public java.lang.String getSkin()
Page
getSkin in interface Pagepublic void setSkin(java.lang.String skinName)
Page
setSkin in interface PageskinName - the name of the new skin for the pagepublic java.lang.String getEffectiveDefaultDecorator(java.lang.String fragmentType)
Page
getEffectiveDefaultDecorator in interface PagefragmentType - the type of fragment considered
public java.lang.String getDefaultDecorator(java.lang.String fragmentType)
Page
getDefaultDecorator in interface PagefragmentType - the type of fragment considered
public void setDefaultDecorator(java.lang.String decoratorName,
java.lang.String fragmentType)
Page
setDefaultDecorator in interface PagedecoratorName - the name of the new decorator for the typefragmentType - the type of fragment consideredpublic Fragment getRootFragment()
Page
getRootFragment in interface Pagepublic void setRootFragment(Fragment root)
Page
setRootFragment in interface Pagepublic Fragment getFragmentById(java.lang.String id)
Page
getFragmentById in interface Pageid - the fragment id to look for
public Fragment removeFragmentById(java.lang.String id)
Page
removeFragmentById in interface Pageid - the fragment id to remove
public java.util.List getFragmentsByName(java.lang.String name)
Page
getFragmentsByName in interface Pagename - the fragment name to look for
public DefaultsImpl getDefaults()
public void setDefaults(DefaultsImpl defaults)
public java.lang.String getType()
getType
getType in interface NodeNode.getType()public java.util.List getMenuDefinitions()
getMenuDefinitions in interface Pagepublic MenuDefinition newMenuDefinition()
newMenuDefinition in interface Pagepublic MenuExcludeDefinition newMenuExcludeDefinition()
newMenuExcludeDefinition in interface Pagepublic MenuIncludeDefinition newMenuIncludeDefinition()
newMenuIncludeDefinition in interface Pagepublic MenuOptionsDefinition newMenuOptionsDefinition()
newMenuOptionsDefinition in interface Pagepublic MenuSeparatorDefinition newMenuSeparatorDefinition()
newMenuSeparatorDefinition in interface Pagepublic void setMenuDefinitions(java.util.List definitions)
setMenuDefinitions in interface Pagedefinitions - definition listpublic void unmarshalled()
unmarshalled in class DocumentImplpublic void marshalling()
marshalling in class AbstractBaseElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||