org.gatein.mop.core.api.workspace
Class SiteImpl
java.lang.Object
org.gatein.mop.core.api.workspace.WorkspaceObjectImpl
org.gatein.mop.core.api.workspace.SiteImpl
- All Implemented Interfaces:
- CustomizationContext, Site, WorkspaceCustomizationContext, WorkspaceObject
- Direct Known Subclasses:
- GroupSite, PortalSite, SharedSite, UserSite
public abstract class SiteImpl
- extends WorkspaceObjectImpl
- implements Site, WorkspaceCustomizationContext
- Version:
- $Revision$
- Author:
- Julien Viet
SiteImpl
public SiteImpl()
getRoot
public abstract PageImpl getRoot()
getRootNavigation
public abstract NavigationImpl getRootNavigation()
- Specified by:
getRootNavigation in interface Site
getSites
public abstract SiteContainer getSites()
destroy
public abstract void destroy()
- Specified by:
destroy in interface Site
getCustomizations
public abstract CustomizationContainer getCustomizations()
getObjectType
public abstract ObjectType<? extends Site> getObjectType()
- Specified by:
getObjectType in interface Site- Specified by:
getObjectType in interface WorkspaceObject
getWorkspace
public WorkspaceImpl getWorkspace()
- Specified by:
getWorkspace in interface Site
getRootPage
public Page getRootPage()
- Specified by:
getRootPage in interface Site
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
Copyright © 2009 eXo Platform SAS. All Rights Reserved.