Package org.kuali.rice.krad.service
Interface KualiModuleService
public interface KualiModuleService
-
Method Summary
Modifier and TypeMethodDescriptiongetComponentCode(Class<?> documentOrStepClass) get the list of all installed module servicesgetModuleService(String moduleId) Returns the module service with the given ID or null if the module ID is not found.getModuleServiceByNamespaceCode(String namespaceCode) Returns the module service with the given moduleCode or null if the moduleCode is not found.getNamespaceCode(Class<?> documentOrStepClass) getNamespaceName(String namespaceCode) This method gets namespace name for the given namespace codegetResponsibleModuleService(Class boClass) Given a class, this method will return the module service which is responsible for authorizing access to it.booleanisModuleServiceInstalled(String namespaceCode) voidsetInstalledModuleServices(List<ModuleService> moduleServices)
-
Method Details
-
getInstalledModuleServices
List<ModuleService> getInstalledModuleServices()get the list of all installed module services- Returns:
- list of installed module services
-
getModuleService
Returns the module service with the given ID or null if the module ID is not found.- Parameters:
moduleId-- Returns:
- module service
-
getModuleServiceByNamespaceCode
Returns the module service with the given moduleCode or null if the moduleCode is not found.- Parameters:
namespaceCode-- Returns:
- module service
-
isModuleServiceInstalled
-
getResponsibleModuleService
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
-
getDataDictionaryPackages
-
getNamespaceName
This method gets namespace name for the given namespace code- Parameters:
namespaceCode- namespace code- Returns:
- namespace name
-
getNamespaceCode
-
getComponentCode
-