Interface KualiModuleService


public interface KualiModuleService
  • Method Details

    • getInstalledModuleServices

      List<ModuleService> getInstalledModuleServices()
      get the list of all installed module services
      Returns:
      list of installed module services
    • getModuleService

      ModuleService getModuleService(String moduleId)
      Returns the module service with the given ID or null if the module ID is not found.
      Parameters:
      moduleId -
      Returns:
      module service
    • getModuleServiceByNamespaceCode

      ModuleService getModuleServiceByNamespaceCode(String namespaceCode)
      Returns the module service with the given moduleCode or null if the moduleCode is not found.
      Parameters:
      namespaceCode -
      Returns:
      module service
    • isModuleServiceInstalled

      boolean isModuleServiceInstalled(String namespaceCode)
    • getResponsibleModuleService

      ModuleService getResponsibleModuleService(Class boClass)
      Given a class, this method will return the module service which is responsible for authorizing access to it. It returns null if no module is found.
      Parameters:
      boClass -
      Returns:
      ModuleService representing the service responsible for the passed in Class
      Throws:
      ModuleServiceNotFoundException - if boClass is an ExternalizableBusinessObject that no ModuleService is responsible for.
    • setInstalledModuleServices

      void setInstalledModuleServices(List<ModuleService> moduleServices)
    • getDataDictionaryPackages

      List<String> getDataDictionaryPackages()
    • getNamespaceName

      String getNamespaceName(String namespaceCode)
      This method gets namespace name for the given namespace code
      Parameters:
      namespaceCode - namespace code
      Returns:
      namespace name
    • getNamespaceCode

      String getNamespaceCode(Class<?> documentOrStepClass)
    • getComponentCode

      String getComponentCode(Class<?> documentOrStepClass)