public interface Workspace extends WorkspaceObject
| Modifier and Type | Method and Description |
|---|---|
<S extends Site> |
addSite(ObjectType<S> siteType,
String name)
Creates a new site.
|
WorkspaceCustomizationContext |
getCustomizationContext()
Returns the customization context of this object;
|
<S extends 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.
|
<S extends Site> |
getSites(ObjectType<S> siteType)
Returns the sites of a given type.
|
getAttributes, getObjectId, getObjectTypeadapt, isAdapted, removeAdapter<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 typeCollection<Site> getSites()
<S extends Site> S addSite(ObjectType<S> siteType, String name)
siteType - the site typename - the site nameWorkspaceCustomizationContext getCustomizationContext()
Copyright © 2025 JBoss by Red Hat. All Rights Reserved.