org.apache.jetspeed.om.page.impl
Class PageImpl

java.lang.Object
  extended by org.apache.jetspeed.om.page.impl.BaseElementImpl
      extended by org.apache.jetspeed.page.document.impl.NodeImpl
          extended by org.apache.jetspeed.page.document.impl.DocumentImpl
              extended by 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

Field Summary
private  String defaultLayoutDecorator
           
private  String defaultPortletDecorator
           
private  Collection fragment
           
private  PageMenuDefinitionList menuDefinitions
           
private  List menus
           
private  FragmentImpl removedFragment
           
private  String skin
           
 
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
(package private)  List accessMenus()
          accessMenus Access mutable persistent collection member for List wrappers.
 String getDefaultDecorator(String fragmentType)
           
 String getEffectiveDefaultDecorator(String fragmentType)
           
 org.apache.jetspeed.om.page.Fragment getFragmentById(String id)
           
 List getFragmentsByName(String name)
           
 List getMenuDefinitions()
           
 org.apache.jetspeed.om.page.Fragment getRootFragment()
           
 String getSkin()
           
 String getType()
           
 org.apache.jetspeed.om.folder.MenuDefinition newMenuDefinition()
           
 org.apache.jetspeed.om.folder.MenuExcludeDefinition newMenuExcludeDefinition()
           
 org.apache.jetspeed.om.folder.MenuIncludeDefinition newMenuIncludeDefinition()
           
 org.apache.jetspeed.om.folder.MenuOptionsDefinition newMenuOptionsDefinition()
           
 org.apache.jetspeed.om.folder.MenuSeparatorDefinition newMenuSeparatorDefinition()
           
 PageMetadataImpl newPageMetadata(Collection fields)
          newPageMetadata Construct page manager specific metadata implementation.
 org.apache.jetspeed.om.page.Fragment removeFragmentById(String id)
           
 void resetCachedSecurityConstraints()
          resetCachedSecurityConstraints
 void setDefaultDecorator(String decoratorName, String fragmentType)
           
 void setMenuDefinitions(List definitions)
           
 void setRootFragment(org.apache.jetspeed.om.page.Fragment fragment)
           
 void setSkin(String skinName)
           
 
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
 

Field Detail

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
Constructor Detail

PageImpl

public PageImpl()
Method Detail

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.