|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.om.page.impl.BaseElementImpl
org.apache.jetspeed.page.document.impl.NodeImpl
org.apache.jetspeed.page.document.impl.DocumentImpl
org.apache.jetspeed.om.page.impl.PageImpl
public class PageImpl
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 | |
---|---|
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 |
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 |
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 |
PageMetadataImpl |
newPageMetadata(java.util.Collection fields)
newPageMetadata Construct page manager specific metadata implementation. |
Fragment |
removeFragmentById(java.lang.String id)
Removes the fragment contained within this page, with the specified Id. |
void |
resetCachedSecurityConstraints()
resetCachedSecurityConstraints |
void |
setDefaultDecorator(java.lang.String decoratorName,
java.lang.String fragmentType)
Modifies the default decorator for the specified fragment type. |
void |
setMenuDefinitions(java.util.List definitions)
setMenuDefinitions - set list of menu definitions |
void |
setRootFragment(Fragment fragment)
Sets the top level fragment of this page. |
void |
setSkin(java.lang.String skinName)
Modifies the skin for this page. |
Methods inherited from class org.apache.jetspeed.page.document.impl.DocumentImpl |
---|
getTitle, getVersion, isDirty, setDirty, setVersion |
Methods inherited from class org.apache.jetspeed.page.document.impl.NodeImpl |
---|
checkConstraints, checkPermissions, defaultTitleFromName, getCanonicalNodePath, getEffectivePageSecurity, getLogicalPermissionPath, getMetadata, getName, getPageMetadata, getParent, getPath, getPhysicalPermissionPath, getShortTitle, getTitle, getUrl, isHidden, setHidden, setName, setParent, setPath |
Methods inherited from class org.apache.jetspeed.om.page.impl.BaseElementImpl |
---|
checkAccess, checkConstraints, checkPermissions, checkPermissions, equals, getConstraintsEnabled, getId, getPermissionsEnabled, getSecurityConstraints, getShortTitle, grantViewActionAccess, hashCode, newSecurityConstraint, newSecurityConstraints, setConstraintsEnabled, setPermissionsEnabled, setSecurityConstraints, setShortTitle, setTitle |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, 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 resetCachedSecurityConstraints()
BaseElementImpl
resetCachedSecurityConstraints
in class BaseElementImpl
public PageMetadataImpl newPageMetadata(java.util.Collection fields)
NodeImpl
newPageMetadata
in class NodeImpl
fields
- mutable fields collection
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 fragment)
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 java.util.List getMenuDefinitions()
Page
getMenuDefinitions
in interface Page
public MenuDefinition newMenuDefinition()
Page
newMenuDefinition
in interface Page
public MenuExcludeDefinition newMenuExcludeDefinition()
Page
newMenuExcludeDefinition
in interface Page
public MenuIncludeDefinition newMenuIncludeDefinition()
Page
newMenuIncludeDefinition
in interface Page
public MenuOptionsDefinition newMenuOptionsDefinition()
Page
newMenuOptionsDefinition
in interface Page
public MenuSeparatorDefinition newMenuSeparatorDefinition()
Page
newMenuSeparatorDefinition
in interface Page
public void setMenuDefinitions(java.util.List definitions)
Page
setMenuDefinitions
in interface Page
definitions
- definition listpublic java.lang.String getType()
Node
getType
getType
in interface Node
getType
in class NodeImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |