Class ModuleCache

java.lang.Object
com.aquima.interactions.portal.model.ModuleCache
All Implemented Interfaces:
IModuleVisitor, IModuleCache

public class ModuleCache extends Object implements IModuleCache
This class is used to initialize the modules of an application.
Since:
7.1
Author:
O. Kerpershoek
  • Constructor Details

  • Method Details

    • addModule

      public void addModule(IModuleDS datasource)
      Description copied from interface: IModuleVisitor
      This method should be invoked for each module that is used by the application.
      Specified by:
      addModule in interface IModuleVisitor
      Parameters:
      datasource - The data source providing the information needed to initialize the module.
    • getMainModule

      public IModule getMainModule()
      Description copied from interface: IModuleCache
      This method returns the main module of the application.
      Specified by:
      getMainModule in interface IModuleCache
      Returns:
      The main module of the application.
    • getModule

      public IModule getModule(ModuleID moduleId)
      Description copied from interface: IModuleCache
      This method returns the module definition for the specified ID.
      Specified by:
      getModule in interface IModuleCache
      Parameters:
      moduleId - The ID of the requested module.
      Returns:
      The module definition for the specified ID.
    • loadModule

      protected IModule loadModule(IModuleDS datasource)
    • getModuleNames

      public String[] getModuleNames()
      Description copied from interface: IModuleCache
      This method returns the names of the all modules in the cache.
      Specified by:
      getModuleNames in interface IModuleCache
      Returns:
      The names of all modules.