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.ApplicationContextAware
applicationContext
- the applicationContext to setpublic List<ModuleService> getInstalledModuleServices()
KualiModuleService
getInstalledModuleServices
in interface KualiModuleService
public ModuleService getModuleService(String moduleId)
KualiModuleService
getModuleService
in interface KualiModuleService
public ModuleService getModuleServiceByNamespaceCode(String namespaceCode)
KualiModuleService
getModuleServiceByNamespaceCode
in interface KualiModuleService
public boolean isModuleServiceInstalled(String namespaceCode)
isModuleServiceInstalled
in interface KualiModuleService
public ModuleService getResponsibleModuleService(Class boClass)
KualiModuleService
getResponsibleModuleService
in interface KualiModuleService
public ModuleService getResponsibleModuleServiceForJob(String jobName)
KualiModuleService
getResponsibleModuleServiceForJob
in interface KualiModuleService
public void setInstalledModuleServices(List<ModuleService> installedModuleServices)
setInstalledModuleServices
in interface KualiModuleService
public List<String> getDataDictionaryPackages()
getDataDictionaryPackages
in interface KualiModuleService
public String getNamespaceName(String namespaceCode)
KualiModuleService
getNamespaceName
in interface KualiModuleService
public void setLoadRiceInstalledModuleServices(boolean loadRiceInstalledModuleServices)
loadRiceInstalledModuleServices
- the loadRiceInstalledModuleServices to setpublic void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
InitializingBean.afterPropertiesSet()
public String getNamespaceCode(Class<?> documentClass)
getNamespaceCode
in interface KualiModuleService
public String getComponentCode(Class<?> documentClass)
getComponentCode
in interface KualiModuleService
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.