|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Workspace
The workspace.
| Field Summary |
|---|
| Fields inherited from interface org.gatein.mop.api.workspace.WorkspaceCustomizationContext |
|---|
TYPE |
| Method Summary | ||
|---|---|---|
|
addSite(ObjectType<S> siteType,
String name)
Creates a new site. |
|
|
getObject(ObjectType<O> type,
String id)
Returns a specified object or null if it cannot be found. |
|
Site |
getSharedSite()
Returns the default share site. |
|
|
getSite(ObjectType<S> siteType,
String siteName)
Returns a specified site or null if it cannot be found. |
|
Collection<Site> |
getSites()
Returns all the sites. |
|
|
getSites(ObjectType<S> siteType)
Returns the sites of a given type. |
|
| Methods inherited from interface org.gatein.mop.api.workspace.WorkspaceObject |
|---|
getAttributes, getObjectId, getObjectType |
| Methods inherited from interface org.gatein.mop.api.workspace.WorkspaceCustomizationContext |
|---|
customize, customize, getCustomization |
| Methods inherited from interface org.gatein.mop.api.content.CustomizationContext |
|---|
contains, getContextId, getContextType |
| Method Detail |
|---|
Site getSharedSite()
<S extends Site> S getSite(ObjectType<S> siteType,
String siteName)
siteType - the site typesiteName - the site name
<S extends Site> Collection<S> getSites(ObjectType<S> siteType)
siteType - the site type
Collection<Site> getSites()
<S extends Site> S addSite(ObjectType<S> siteType,
String name)
siteType - the site typename - the site name
<O extends WorkspaceObject> O getObject(ObjectType<O> type,
String id)
O - the object type parametertype - the object typeid - the object id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||