org.apache.jetspeed.om.page.impl
Class PageImpl
java.lang.Object
org.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
- All Implemented Interfaces:
- Serializable, org.apache.jetspeed.om.common.SecuredResource, org.apache.jetspeed.om.page.BaseElement, org.apache.jetspeed.om.page.Document, org.apache.jetspeed.om.page.Page, org.apache.jetspeed.page.document.Node
public class PageImpl
- extends DocumentImpl
- implements org.apache.jetspeed.om.page.Page
PageImpl
- Version:
- $Id$
- Author:
- Randy Watler
- See Also:
- Serialized Form
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 |
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 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 |
fragment
private Collection fragment
skin
private String skin
defaultLayoutDecorator
private String defaultLayoutDecorator
defaultPortletDecorator
private String defaultPortletDecorator
menus
private List menus
menuDefinitions
private PageMenuDefinitionList menuDefinitions
removedFragment
private FragmentImpl removedFragment
PageImpl
public PageImpl()
accessMenus
List accessMenus()
- accessMenus
Access mutable persistent collection member for List wrappers.
- Returns:
- persistent collection
resetCachedSecurityConstraints
public void resetCachedSecurityConstraints()
- Description copied from class:
BaseElementImpl
- resetCachedSecurityConstraints
- Overrides:
resetCachedSecurityConstraints
in class BaseElementImpl
newPageMetadata
public PageMetadataImpl newPageMetadata(Collection fields)
- Description copied from class:
NodeImpl
- newPageMetadata
Construct page manager specific metadata implementation.
- Overrides:
newPageMetadata
in class NodeImpl
- Parameters:
fields
- mutable fields collection
- Returns:
- page metadata
getSkin
public String getSkin()
- Specified by:
getSkin
in interface org.apache.jetspeed.om.page.Page
setSkin
public void setSkin(String skinName)
- Specified by:
setSkin
in interface org.apache.jetspeed.om.page.Page
getEffectiveDefaultDecorator
public String getEffectiveDefaultDecorator(String fragmentType)
- Specified by:
getEffectiveDefaultDecorator
in interface org.apache.jetspeed.om.page.Page
getDefaultDecorator
public String getDefaultDecorator(String fragmentType)
- Specified by:
getDefaultDecorator
in interface org.apache.jetspeed.om.page.Page
setDefaultDecorator
public void setDefaultDecorator(String decoratorName,
String fragmentType)
- Specified by:
setDefaultDecorator
in interface org.apache.jetspeed.om.page.Page
getRootFragment
public org.apache.jetspeed.om.page.Fragment getRootFragment()
- Specified by:
getRootFragment
in interface org.apache.jetspeed.om.page.Page
setRootFragment
public void setRootFragment(org.apache.jetspeed.om.page.Fragment fragment)
- Specified by:
setRootFragment
in interface org.apache.jetspeed.om.page.Page
getFragmentById
public org.apache.jetspeed.om.page.Fragment getFragmentById(String id)
- Specified by:
getFragmentById
in interface org.apache.jetspeed.om.page.Page
removeFragmentById
public org.apache.jetspeed.om.page.Fragment removeFragmentById(String id)
- Specified by:
removeFragmentById
in interface org.apache.jetspeed.om.page.Page
getFragmentsByName
public List getFragmentsByName(String name)
- Specified by:
getFragmentsByName
in interface org.apache.jetspeed.om.page.Page
getMenuDefinitions
public List getMenuDefinitions()
- Specified by:
getMenuDefinitions
in interface org.apache.jetspeed.om.page.Page
newMenuDefinition
public org.apache.jetspeed.om.folder.MenuDefinition newMenuDefinition()
- Specified by:
newMenuDefinition
in interface org.apache.jetspeed.om.page.Page
newMenuExcludeDefinition
public org.apache.jetspeed.om.folder.MenuExcludeDefinition newMenuExcludeDefinition()
- Specified by:
newMenuExcludeDefinition
in interface org.apache.jetspeed.om.page.Page
newMenuIncludeDefinition
public org.apache.jetspeed.om.folder.MenuIncludeDefinition newMenuIncludeDefinition()
- Specified by:
newMenuIncludeDefinition
in interface org.apache.jetspeed.om.page.Page
newMenuOptionsDefinition
public org.apache.jetspeed.om.folder.MenuOptionsDefinition newMenuOptionsDefinition()
- Specified by:
newMenuOptionsDefinition
in interface org.apache.jetspeed.om.page.Page
newMenuSeparatorDefinition
public org.apache.jetspeed.om.folder.MenuSeparatorDefinition newMenuSeparatorDefinition()
- Specified by:
newMenuSeparatorDefinition
in interface org.apache.jetspeed.om.page.Page
setMenuDefinitions
public void setMenuDefinitions(List definitions)
- Specified by:
setMenuDefinitions
in interface org.apache.jetspeed.om.page.Page
getType
public String getType()
- Specified by:
getType
in interface org.apache.jetspeed.page.document.Node
- Specified by:
getType
in class NodeImpl
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.