public class KualiModuleServiceImpl extends Object implements KualiModuleService, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
KualiModuleServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
String |
getComponentCode(Class<?> documentClass) |
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<?> documentClass) |
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.
|
ModuleService |
getResponsibleModuleServiceForJob(String jobName)
Given a job name, this method will return the module service which is responsible for handling it.
|
boolean |
isModuleServiceInstalled(String namespaceCode) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setInstalledModuleServices(List<ModuleService> installedModuleServices) |
void |
setLoadRiceInstalledModuleServices(boolean loadRiceInstalledModuleServices) |
public KualiModuleServiceImpl()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext in interface org.springframework.context.ApplicationContextAwareapplicationContext - the applicationContext to setpublic List<ModuleService> getInstalledModuleServices()
KualiModuleServicegetInstalledModuleServices in interface KualiModuleServicepublic ModuleService getModuleService(String moduleId)
KualiModuleServicegetModuleService in interface KualiModuleServicepublic ModuleService getModuleServiceByNamespaceCode(String namespaceCode)
KualiModuleServicegetModuleServiceByNamespaceCode in interface KualiModuleServicepublic boolean isModuleServiceInstalled(String namespaceCode)
isModuleServiceInstalled in interface KualiModuleServicepublic ModuleService getResponsibleModuleService(Class boClass)
KualiModuleServicegetResponsibleModuleService in interface KualiModuleServicepublic ModuleService getResponsibleModuleServiceForJob(String jobName)
KualiModuleServicegetResponsibleModuleServiceForJob in interface KualiModuleServicepublic void setInstalledModuleServices(List<ModuleService> installedModuleServices)
setInstalledModuleServices in interface KualiModuleServicepublic List<String> getDataDictionaryPackages()
getDataDictionaryPackages in interface KualiModuleServicepublic String getNamespaceName(String namespaceCode)
KualiModuleServicegetNamespaceName in interface KualiModuleServicepublic void setLoadRiceInstalledModuleServices(boolean loadRiceInstalledModuleServices)
loadRiceInstalledModuleServices - the loadRiceInstalledModuleServices to setpublic void afterPropertiesSet() throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionInitializingBean.afterPropertiesSet()public String getNamespaceCode(Class<?> documentClass)
getNamespaceCode in interface KualiModuleServicepublic String getComponentCode(Class<?> documentClass)
getComponentCode in interface KualiModuleServiceCopyright © 2005–2016 The Kuali Foundation. All rights reserved.