Interface IContentManager
- All Superinterfaces:
IComponent
,IComponentProvider
,IInitializable
,IURIResolver
Manages multiple content services.
-
Field Summary
Fields inherited from interface com.webmethods.portal.system.IComponentProvider
ATTR_APP_NAME, ATTR_BEG_QUERY, ATTR_END_QUERY, ATTR_MID_QUERY, BIZPOLICY_MANAGER, CACHE_PROVIDER, COMMAND_PROVIDER, COMPONENTS_QUERY, INSTALL_PROVIDER, MECH_PROVIDER, METACONTEXT_PROVIDER, PHASE_PROVIDER, POLICY_PROVIDER, SEARCH_PROVIDER
-
Method Summary
Modifier and TypeMethodDescriptionacquireService
(IURI uri) Acquires the service for the specified content uri.acquireURI
(String uri) Acquires a uri for the specified string.void
changeServiceName
(String oldName, String newName) Update the service name.void
loadServiceFromSystem
(String serviceName) Loads the content service configuration from the database and registers it with the providervoid
removeService
(String serviceName) Remove a content servicevoid
updateContentService
(IThingID serviceID, Element configElem) Content service needs to have its registration info updatedMethods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.system.IComponentProvider
exists, getComponent, getComponent, getComponent, getComponentQueryString, getComponents, getDefaultComponent, getLogger, initDeferredWebAppComponents, lookup, registerComponent, reloadComponent, reloadComponent, unregisterComponent, upgradeComponentDataFromBootstrapComponentData
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init, shutdown
Methods inherited from interface com.webmethods.portal.system.IURIResolver
acquireURI
-
Method Details
-
acquireURI
Acquires a uri for the specified string. Returns null if a uri cannot be acquired.- Specified by:
acquireURI
in interfaceIURIResolver
- Parameters:
uri
- the String version of the uri- Returns:
- the component specific implementation of
IURI
-
acquireService
Acquires the service for the specified content uri. Returns null if the appropriate service cannot be acquired. -
loadServiceFromSystem
Loads the content service configuration from the database and registers it with the provider- Parameters:
serviceName
- the name of the content service- Throws:
PortalException
-
removeService
Remove a content service- Parameters:
serviceName
- the name of the service to remove- Throws:
PortalException
-
changeServiceName
Update the service name. The service will now only be available via the new name.- Parameters:
oldName
- the old service namenewName
- the new service name- Throws:
PortalException
-
updateContentService
Content service needs to have its registration info updated- Throws:
PortalException
-