Interface IModuleService

  • All Known Implementing Classes:
    ModuleServiceImpl

    public interface IModuleService
    This interface describes the locally available service for Module management.
    It provides functions for configuration of itself and for data access/storage.
    Version:
    $Id: $Id
    Author:
    another
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addModuleListener​(java.lang.String moduleId, java.lang.String ownerId, IModuleListener aModuleListeners)
      Adds listener for module.
      void attachModuleFactory​(java.lang.String moduleId, IModuleFactory factory)
      Attaches a factory for a given moduleId.
      void attachModuleStorage​(java.lang.String moduleId, IModuleStorage storage)
      Attaches a storage for a given moduleId.
      void deleteModule​(java.lang.String ownerId, java.lang.String moduleId)
      Deletes the module identified by the tuple (ownerId | moduleId) from the appropriate storage.
      void deleteModule​(java.lang.String ownerId, java.lang.String moduleId, java.lang.String copyId)
      Deletes the module identified by the tuple (ownerId | moduleId | copyId) from the appropriate storage.
      void deleteModule​(Module module)
      Deletes the given module from the appropriate storage.
      Module getModule​(java.lang.String ownerId, java.lang.String moduleId)
      getModule.
      Module getModule​(java.lang.String ownerId, java.lang.String moduleId, boolean create)
      getModule.
      Module getModule​(java.lang.String ownerId, java.lang.String moduleId, java.lang.String copyId)
      Same as return getModule(ownerId, moduleId, copyId, false); in current implementation.
      Module getModule​(java.lang.String ownerId, java.lang.String moduleId, java.lang.String copyId, boolean create)
      This function retrieves the appropriate Module from the storage and returns it.
      void removeModuleListener​(java.lang.String moduleId, java.lang.String ownerId)
      Removes listener for module.
      void storeModule​(Module module)
      Stores the given module in the appropriate storage.