org.kuali.rice.krad.service
Interface KualiModuleService

All Known Implementing Classes:
KualiModuleServiceImpl

public interface KualiModuleService


Method Summary
 String getComponentCode(Class<?> documentOrStepClass)
           
 List<String> getDataDictionaryPackages()
           
 List<ModuleService> getInstalledModuleServices()
          get the list of all installed module services
 ModuleService getModuleService(String moduleId)
          Returns the module service with the given ID or null if the module ID is not found.
 ModuleService getModuleServiceByNamespaceCode(String namespaceCode)
          Returns the module service with the given moduleCode or null if the moduleCode is not found.
 String getNamespaceCode(Class<?> documentOrStepClass)
           
 String getNamespaceName(String namespaceCode)
          This method gets namespace name for the given namespace code
 ModuleService getResponsibleModuleService(Class boClass)
          Given a class, this method will return the module service which is responsible for authorizing access to it.
 boolean isModuleServiceInstalled(String namespaceCode)
           
 void setInstalledModuleServices(List<ModuleService> moduleServices)
           
 

Method Detail

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)


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.