Interface IContentManager

All Superinterfaces:
IComponent, IComponentProvider, IInitializable, IURIResolver

public interface IContentManager extends IComponentProvider
Manages multiple content services.
  • Method Details

    • acquireURI

      IURI acquireURI(String uri)
      Acquires a uri for the specified string. Returns null if a uri cannot be acquired.
      Specified by:
      acquireURI in interface IURIResolver
      Parameters:
      uri - the String version of the uri
      Returns:
      the component specific implementation of IURI
    • acquireService

      IContentService acquireService(IURI uri)
      Acquires the service for the specified content uri. Returns null if the appropriate service cannot be acquired.
    • loadServiceFromSystem

      void loadServiceFromSystem(String serviceName) throws PortalException
      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

      void removeService(String serviceName) throws PortalException
      Remove a content service
      Parameters:
      serviceName - the name of the service to remove
      Throws:
      PortalException
    • changeServiceName

      void changeServiceName(String oldName, String newName) throws PortalException
      Update the service name. The service will now only be available via the new name.
      Parameters:
      oldName - the old service name
      newName - the new service name
      Throws:
      PortalException
    • updateContentService

      void updateContentService(IThingID serviceID, Element configElem) throws PortalException
      Content service needs to have its registration info updated
      Throws:
      PortalException