Interface IWebSpaceMechanics
- All Superinterfaces:
IComponent
,IInitializable
,IMechanics
,ISystemHandler
Class ILinkMechanics
-
Method Summary
Modifier and TypeMethodDescriptionacquireURI
(String uri) Resolves hierarchical linkvoid
addWebSpace
(IThingID userID, IThingID objectID, String alias) Set object to be a portal rootvoid
fireWebSpaceAddedEvent
(IThingID userID, IThingID webSpace) void
fireWebSpaceRemovedEvent
(IThingID userID, IThingID webSpace) getWebSpaceName
(IThingID uri) Lookup object identified by uri and returns its LinkName.listWebSpaces
(IThingID userID) List all rootsvoid
removeWebSpace
(IThingID userID, IThingID objectID) Unset object to be a portal rootMethods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init, shutdown
-
Method Details
-
acquireURI
Resolves hierarchical link- Parameters:
uri
-- Returns:
- Throws:
PortalException
-
getWebSpaceName
Lookup object identified by uri and returns its LinkName. LinkName is value of object alias key. LinkName is returned only for object that is set to be portal roots- Parameters:
uri
-- Returns:
- not null Link Name if object has alias AND object is set to be portal root
- Throws:
PortalException
-
listWebSpaces
List all roots- Parameters:
userID
-- Returns:
- Throws:
PortalException
-
addWebSpace
Set object to be a portal root- Parameters:
objectID
-alias
-- Throws:
PortalException
-
removeWebSpace
Unset object to be a portal root- Parameters:
objectID
-- Throws:
PortalException
-
fireWebSpaceAddedEvent
- Throws:
PortalException
-
fireWebSpaceRemovedEvent
- Throws:
PortalException
-