org.gatein.mop.core.api.workspace
Class WorkspaceImpl
java.lang.Object
org.gatein.mop.core.api.workspace.WorkspaceObjectImpl
org.gatein.mop.core.api.workspace.WorkspaceImpl
- All Implemented Interfaces:
- CustomizationContext, Workspace, WorkspaceCustomizationContext, WorkspaceObject
public abstract class WorkspaceImpl
- extends WorkspaceObjectImpl
- implements Workspace, WorkspaceCustomizationContext
- Version:
- $Revision$
- Author:
- Julien Viet
WorkspaceImpl
public WorkspaceImpl()
getObjectType
public ObjectType<? extends Workspace> getObjectType()
- Specified by:
getObjectType in interface WorkspaceObject
getPortalSites
public abstract PortalSiteContainer getPortalSites()
getGroupSites
public abstract GroupSiteContainer getGroupSites()
getUserSites
public abstract UserSiteContainer getUserSites()
getSharedSites
public abstract UserSiteContainer getSharedSites()
getCustomizations
public abstract CustomizationContainer getCustomizations()
getObject
public abstract WorkspaceObject getObject(String objectId)
resolveContext
public abstract CustomizationContext resolveContext(String contextId)
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
getSite
public <S extends Site> S getSite(ObjectType<S> siteType,
String siteName)
- Specified by:
getSite in interface Workspace
getSites
public Collection<Site> getSites()
- Specified by:
getSites in interface Workspace
getSites
public <S extends Site> Collection<S> getSites(ObjectType<S> siteType)
- Specified by:
getSites in interface Workspace
addSite
public <S extends Site> S addSite(ObjectType<S> siteType,
String name)
- Specified by:
addSite in interface Workspace
getObject
public <O extends WorkspaceObject> O getObject(ObjectType<O> type,
String id)
- Specified by:
getObject in interface Workspace
getSharedSite
public Site getSharedSite()
- Specified by:
getSharedSite in interface Workspace
Copyright © 2009 eXo Platform SAS. All Rights Reserved.