public interface IWebSpacePolicy extends IBizPolicy
Modifier and Type | Method and Description |
---|---|
void |
addWebSpace(IContext context,
IThingID webspaceID,
String alias)
Add given uri as a webspace.
|
String |
getWebSpaceName(IContext context,
IThingID webspaceID)
Returns webspace name for the given uri.
|
IListView<IView> |
listWebSpaces(IContext context)
Lists all registred webspaces
|
void |
removeWebSpace(IContext context,
IThingID webspaceID)
Removes given uri from the list of webspaces
|
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
String getWebSpaceName(IContext context, IThingID webspaceID) throws BizException
context
- webspaceID
- uri of portal resource that represents webspaceBizException
IListView<IView> listWebSpaces(IContext context) throws BizException
context
- BizException
void addWebSpace(IContext context, IThingID webspaceID, String alias) throws BizException
alias
- BizException
void removeWebSpace(IContext context, IThingID webspaceID) throws BizException
uri
- BizException