org.gatein.mop.core.api.workspace
Class PageImpl
java.lang.Object
org.gatein.mop.core.api.workspace.WorkspaceObjectImpl
org.gatein.mop.core.api.workspace.PageImpl
- All Implemented Interfaces:
- CustomizationContext, Page, Templatized, TemplatizedObject, WorkspaceCustomizationContext, WorkspaceObject
public abstract class PageImpl
- extends WorkspaceObjectImpl
- implements Page, WorkspaceCustomizationContext
- Version:
- $Revision$
- Author:
- Julien Viet
| Methods inherited from interface org.gatein.mop.api.workspace.Page |
getName |
PageImpl
public PageImpl()
getPageTemplate
public abstract PageImpl getPageTemplate()
setPageTemplate
public abstract void setPageTemplate(PageImpl template)
getTemplatizedNavigations
public abstract Collection<NavigationImpl> getTemplatizedNavigations()
getTemplatizedPages
public abstract Collection<PageImpl> getTemplatizedPages()
getTemplatizedObjects
public abstract Collection<? extends WorkspaceObject> getTemplatizedObjects()
getChildrenContainer
public abstract PageContainer getChildrenContainer()
getParentContainer
public abstract PageContainer getParentContainer()
getSiteParent
public abstract SiteImpl getSiteParent()
getRootComponent
public abstract UIContainerImpl getRootComponent()
- Specified by:
getRootComponent in interface Page
destroy
public abstract void destroy()
- Specified by:
destroy in interface Page
getCustomizations
public abstract CustomizationContainer getCustomizations()
getContextType
public String getContextType()
- Specified by:
getContextType in interface CustomizationContext
getContextId
public String getContextId()
- Specified by:
getContextId in interface CustomizationContext
contains
public boolean contains(CustomizationContext that)
- Specified by:
contains in interface CustomizationContext
getCustomization
public Customization<?> getCustomization(String name)
- Specified by:
getCustomization in interface WorkspaceCustomizationContext
customize
public <S> Customization<S> customize(String name,
ContentType<S> contentType,
String contentId,
S state)
- Specified by:
customize in interface WorkspaceCustomizationContext
customize
public <S> Customization<S> customize(String name,
Customization<S> customization)
- Specified by:
customize in interface WorkspaceCustomizationContext
getTemplatizedObjects
public <T extends TemplatizedObject> Collection<? extends T> getTemplatizedObjects(ObjectType<T> templatizedType)
- Specified by:
getTemplatizedObjects in interface Page
getObjectType
public ObjectType<? extends Page> getObjectType()
- Specified by:
getObjectType in interface Page- Specified by:
getObjectType in interface WorkspaceObject
getCascadingAttributes
public Attributes getCascadingAttributes()
- Specified by:
getCascadingAttributes in interface Page
getSite
public SiteImpl getSite()
- Specified by:
getSite in interface Page
getParent
public PageImpl getParent()
- Specified by:
getParent in interface Page
addChild
public PageImpl addChild(String name)
throws NullPointerException,
IllegalArgumentException
- Specified by:
addChild in interface Page
- Throws:
NullPointerException
IllegalArgumentException
getChildren
public Collection<? extends Page> getChildren()
- Specified by:
getChildren in interface Page
getChild
public PageImpl getChild(String name)
- Specified by:
getChild in interface Page
getNavigations
public Collection<PageLink> getNavigations()
- Specified by:
getNavigations in interface Page
setTemplate
public void setTemplate(Page template)
- Specified by:
setTemplate in interface Templatized
getTemplate
public Page getTemplate()
- Specified by:
getTemplate in interface Templatized
Copyright © 2009 eXo Platform SAS. All Rights Reserved.