public interface IWebSpaceMechanics extends IMechanics
Modifier and Type | Method and Description |
---|---|
IURI |
acquireURI(String uri)
Resolves hierarchical link
|
void |
addWebSpace(IThingID userID,
IThingID objectID,
String alias)
Set object to be a portal root
|
void |
fireWebSpaceAddedEvent(IThingID userID,
IThingID webSpace) |
void |
fireWebSpaceRemovedEvent(IThingID userID,
IThingID webSpace) |
String |
getWebSpaceName(IThingID uri)
Lookup object identified by uri and returns its LinkName.
|
IListView<IView> |
listWebSpaces(IThingID userID)
List all roots
|
void |
removeWebSpace(IThingID userID,
IThingID objectID)
Unset object to be a portal root
|
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
IURI acquireURI(String uri) throws PortalException
uri
- PortalException
String getWebSpaceName(IThingID uri) throws PortalException
uri
- PortalException
IListView<IView> listWebSpaces(IThingID userID) throws PortalException
userID
- PortalException
void addWebSpace(IThingID userID, IThingID objectID, String alias) throws PortalException
objectID
- alias
- PortalException
void removeWebSpace(IThingID userID, IThingID objectID) throws PortalException
objectID
- PortalException
void fireWebSpaceAddedEvent(IThingID userID, IThingID webSpace) throws PortalException
PortalException
void fireWebSpaceRemovedEvent(IThingID userID, IThingID webSpace) throws PortalException
PortalException