|
||||||||||
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 AbstractBaseElement
id
- AbstractBaseElement.setId(java.lang.String)
public boolean equals(java.lang.Object obj)
equals
equals
in class AbstractBaseElement
obj
-
Object.equals(java.lang.Object)
public int hashCode()
hashCode
hashCode
in class AbstractBaseElement
Object.hashCode()
public java.lang.String getSkin()
Page
getSkin
in interface Page
public void setSkin(java.lang.String skinName)
Page
setSkin
in interface Page
skinName
- the name of the new skin for the pagepublic java.lang.String getEffectiveDefaultDecorator(java.lang.String fragmentType)
Page
getEffectiveDefaultDecorator
in interface Page
fragmentType
- the type of fragment considered
public java.lang.String getDefaultDecorator(java.lang.String fragmentType)
Page
getDefaultDecorator
in interface Page
fragmentType
- the type of fragment considered
public void setDefaultDecorator(java.lang.String decoratorName, java.lang.String fragmentType)
Page
setDefaultDecorator
in interface Page
decoratorName
- the name of the new decorator for the typefragmentType
- the type of fragment consideredpublic Fragment getRootFragment()
Page
getRootFragment
in interface Page
public void setRootFragment(Fragment root)
Page
setRootFragment
in interface Page
public Fragment getFragmentById(java.lang.String id)
Page
getFragmentById
in interface Page
id
- the fragment id to look for
public Fragment removeFragmentById(java.lang.String id)
Page
removeFragmentById
in interface Page
id
- the fragment id to remove
public java.util.List getFragmentsByName(java.lang.String name)
Page
getFragmentsByName
in interface Page
name
- the fragment name to look for
public DefaultsImpl getDefaults()
public void setDefaults(DefaultsImpl defaults)
public java.lang.String getType()
getType
getType
in interface Node
Node.getType()
public java.util.List getMenuDefinitions()
getMenuDefinitions
in interface Page
public MenuDefinition newMenuDefinition()
newMenuDefinition
in interface Page
public MenuExcludeDefinition newMenuExcludeDefinition()
newMenuExcludeDefinition
in interface Page
public MenuIncludeDefinition newMenuIncludeDefinition()
newMenuIncludeDefinition
in interface Page
public MenuOptionsDefinition newMenuOptionsDefinition()
newMenuOptionsDefinition
in interface Page
public MenuSeparatorDefinition newMenuSeparatorDefinition()
newMenuSeparatorDefinition
in interface Page
public void setMenuDefinitions(java.util.List definitions)
setMenuDefinitions
in interface Page
definitions
- definition listpublic void unmarshalled()
unmarshalled
in class DocumentImpl
public void marshalling()
marshalling
in class AbstractBaseElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |