| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.service.impl.ModuleServiceBase
public class ModuleServiceBase
This class implements ModuleService interface.
| Field Summary | |
|---|---|
| protected  org.springframework.context.ApplicationContext | applicationContext | 
| protected  BusinessObjectDictionaryService | businessObjectDictionaryService | 
| protected  BusinessObjectService | businessObjectService | 
| protected  KualiModuleService | kualiModuleService | 
| protected static org.apache.log4j.Logger | LOG | 
| protected  LookupService | lookupService | 
| protected  ModuleConfiguration | moduleConfiguration | 
| Constructor Summary | |
|---|---|
| ModuleServiceBase() | |
| Method Summary | ||
|---|---|---|
|  void | afterPropertiesSet() | |
| 
 | createNewObjectFromExternalizableClass(Class<T> boClass) | |
|  BusinessObjectDictionaryService | getBusinessObjectDictionaryService() | |
|  DataObjectRelationship | getBusinessObjectRelationship(Class boClass,
                                                           String attributeName,
                                                           String attributePrefix) | |
|  BusinessObjectService | getBusinessObjectService() | |
| 
 | getExternalizableBusinessObject(Class<T> businessObjectClass,
                                                               Map<String,Object> fieldValues)This method gets the externalizable business object, given its type and a map of primary keys and values | |
|  BusinessObjectEntry | getExternalizableBusinessObjectDictionaryEntry(Class businessObjectInterfaceClass)This method gets the business object dictionary entry for the passed in externalizable business object class. | |
| 
 | getExternalizableBusinessObjectImplementation(Class<E> externalizableBusinessObjectInterface)For a given ExternalizableBusinessObject interface, return the implementation class provided by this module. | |
|  String | getExternalizableBusinessObjectInquiryUrl(Class inquiryBusinessObjectClass,
                                                                                   Map<String,String[]> parameters)This method returns a URL so that the inquiry framework may redirect a user to the appropriate (possibly external) website at which to view inquiry information. | |
|  String | getExternalizableBusinessObjectLookupUrl(Class inquiryBusinessObjectClass,
                                                                                 Map<String,String> parameters)This overridden method ... | |
| 
 | getExternalizableBusinessObjectsList(Class<T> externalizableBusinessObjectClass,
                                                                         Map<String,Object> fieldValues)This method gets the list of externalizable business objects, given its type and a map of primary keys and values. | |
| 
 | getExternalizableBusinessObjectsListForLookup(Class<T> externalizableBusinessObjectClass,
                                                                                           Map<String,Object> fieldValues,
                                                                                           boolean unbounded)This method gets the list of externalizable business objects for lookup, given its type and a map of primary keys and values. | |
| protected  String | getInquiryUrl(Class inquiryBusinessObjectClass) | |
|  KualiModuleService | getKualiModuleService() | |
| protected  LookupService | getLookupService()Gets the lookupService attribute. | |
|  ModuleConfiguration | getModuleConfiguration()This method returns the module configuration. | |
| protected  Properties | getUrlParameters(String businessObjectClassAttribute,
                                 Map<String,String[]> parameters) | |
|  boolean | isExternalizable(Class boClazz)This method determines whether or not a bo class is externalizable. | |
|  boolean | isExternalizableBusinessObjectInquirable(Class boClass) | |
|  boolean | isExternalizableBusinessObjectLookupable(Class boClass) | |
|  boolean | isLocked()This method determines whether or not this module is currently locked | |
|  boolean | isResponsibleFor(Class businessObjectClass)This method determines whether this service is responsible for the business object class passed in, or not. | |
|  boolean | isResponsibleForJob(String jobName)This method determines whether this service is responsible for the given jobname, or not. | |
|  List<List<String>> | listAlternatePrimaryKeyFieldNames(Class businessObjectInterfaceClass)This overridden method ... | |
|  List | listPrimaryKeyFieldNames(Class businessObjectInterfaceClass)This method returns the list of primary keys for the EBO. | |
| 
 | retrieveExternalizableBusinessObjectIfNecessary(BusinessObject businessObject,
                                                                                               T currentInstanceExternalizableBO,
                                                                                               String externalizableRelationshipName)This method assumes that the property type for externalizable relationship in the business object is an interface and gets the concrete implementation for it | |
|  List<? extends ExternalizableBusinessObject> | retrieveExternalizableBusinessObjectsList(BusinessObject businessObject,
                                                                                   String externalizableRelationshipName,
                                                                                   Class externalizableClazz)This method assumes that the externalizableClazz is an interface and gets the concrete implementation for it | |
|  void | setApplicationContext(org.springframework.context.ApplicationContext applicationContext) | |
|  void | setKualiModuleService(KualiModuleService kualiModuleService) | |
|  void | setModuleConfiguration(ModuleConfiguration moduleConfiguration) | |
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected static final org.apache.log4j.Logger LOG
protected ModuleConfiguration moduleConfiguration
protected BusinessObjectService businessObjectService
protected LookupService lookupService
protected BusinessObjectDictionaryService businessObjectDictionaryService
protected KualiModuleService kualiModuleService
protected org.springframework.context.ApplicationContext applicationContext
| Constructor Detail | 
|---|
public ModuleServiceBase()
| Method Detail | 
|---|
public boolean isResponsibleFor(Class businessObjectClass)
ModuleService
isResponsibleFor in interface ModuleServiceModuleService.isResponsibleFor(java.lang.Class)public boolean isResponsibleForJob(String jobName)
ModuleService
isResponsibleForJob in interface ModuleServiceModuleService.isResponsibleFor(java.lang.Class)
public <T extends ExternalizableBusinessObject> T getExternalizableBusinessObject(Class<T> businessObjectClass,
                                                                                  Map<String,Object> fieldValues)
ModuleService
getExternalizableBusinessObject in interface ModuleServiceModuleService.getExternalizableBusinessObject(java.lang.Class, java.util.Map)
public <T extends ExternalizableBusinessObject> List<T> getExternalizableBusinessObjectsList(Class<T> externalizableBusinessObjectClass,
                                                                                             Map<String,Object> fieldValues)
ModuleService
getExternalizableBusinessObjectsList in interface ModuleServiceModuleService.getExternalizableBusinessObject(java.lang.Class, java.util.Map)
public <T extends ExternalizableBusinessObject> List<T> getExternalizableBusinessObjectsListForLookup(Class<T> externalizableBusinessObjectClass,
                                                                                                      Map<String,Object> fieldValues,
                                                                                                      boolean unbounded)
ModuleService
getExternalizableBusinessObjectsListForLookup in interface ModuleServiceModuleService.getExternalizableBusinessObjectsListForLookup(java.lang.Class, java.util.Map, boolean)public List listPrimaryKeyFieldNames(Class businessObjectInterfaceClass)
ModuleService
listPrimaryKeyFieldNames in interface ModuleServicepublic BusinessObjectEntry getExternalizableBusinessObjectDictionaryEntry(Class businessObjectInterfaceClass)
ModuleService
getExternalizableBusinessObjectDictionaryEntry in interface ModuleServiceModuleService.getExternalizableBusinessObjectDictionaryEntry(java.lang.Class)
public String getExternalizableBusinessObjectInquiryUrl(Class inquiryBusinessObjectClass,
                                                        Map<String,String[]> parameters)
ModuleService
getExternalizableBusinessObjectInquiryUrl in interface ModuleServiceinquiryBusinessObjectClass - a ExternalizableBusinessObject managed by this moduleparameters - any inquiry parameters, and the primary key values of the inquiryBusinessObjectClass would be in here
protected Properties getUrlParameters(String businessObjectClassAttribute,
                                      Map<String,String[]> parameters)
protected String getInquiryUrl(Class inquiryBusinessObjectClass)
public String getExternalizableBusinessObjectLookupUrl(Class inquiryBusinessObjectClass,
                                                       Map<String,String> parameters)
getExternalizableBusinessObjectLookupUrl in interface ModuleServiceModuleService.getExternalizableBusinessObjectLookupUrl(java.lang.Class, java.util.Map)
public <T extends ExternalizableBusinessObject> T retrieveExternalizableBusinessObjectIfNecessary(BusinessObject businessObject,
                                                                                                  T currentInstanceExternalizableBO,
                                                                                                  String externalizableRelationshipName)
retrieveExternalizableBusinessObjectIfNecessary in interface ModuleServiceorg.kuali.rice.krad.service.ModuleService#retrieveExternalizableBusinessObjectIfNecessary(org.kuali.rice.krad.bo.BusinessObject, org.kuali.rice.krad.bo.BusinessObject, java.lang.String)
public List<? extends ExternalizableBusinessObject> retrieveExternalizableBusinessObjectsList(BusinessObject businessObject,
                                                                                              String externalizableRelationshipName,
                                                                                              Class externalizableClazz)
retrieveExternalizableBusinessObjectsList in interface ModuleServiceorg.kuali.rice.krad.service.ModuleService#retrieveExternalizableBusinessObjectIfNecessary(org.kuali.rice.krad.bo.BusinessObject, org.kuali.rice.krad.bo.BusinessObject, java.lang.String)public <E extends ExternalizableBusinessObject> Class<E> getExternalizableBusinessObjectImplementation(Class<E> externalizableBusinessObjectInterface)
ModuleService
getExternalizableBusinessObjectImplementation in interface ModuleServiceModuleService.getExternalizableBusinessObjectImplementation(java.lang.Class)
public void afterPropertiesSet()
                        throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionInitializingBean.afterPropertiesSet()public ModuleConfiguration getModuleConfiguration()
ModuleService
getModuleConfiguration in interface ModuleServicepublic void setModuleConfiguration(ModuleConfiguration moduleConfiguration)
moduleConfiguration - the moduleConfiguration to setpublic boolean isExternalizable(Class boClazz)
ModuleService
isExternalizable in interface ModuleServiceModuleService.isExternalizable(java.lang.Class)public boolean isExternalizableBusinessObjectLookupable(Class boClass)
isExternalizableBusinessObjectLookupable in interface ModuleServicepublic boolean isExternalizableBusinessObjectInquirable(Class boClass)
isExternalizableBusinessObjectInquirable in interface ModuleServicepublic <T extends ExternalizableBusinessObject> T createNewObjectFromExternalizableClass(Class<T> boClass)
createNewObjectFromExternalizableClass in interface ModuleService
public DataObjectRelationship getBusinessObjectRelationship(Class boClass,
                                                            String attributeName,
                                                            String attributePrefix)
public BusinessObjectDictionaryService getBusinessObjectDictionaryService()
public BusinessObjectService getBusinessObjectService()
protected LookupService getLookupService()
public KualiModuleService getKualiModuleService()
public void setKualiModuleService(KualiModuleService kualiModuleService)
kualiModuleService - the kualiModuleService to set
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionApplicationContextAware.setApplicationContext(org.springframework.context.ApplicationContext)public List<List<String>> listAlternatePrimaryKeyFieldNames(Class businessObjectInterfaceClass)
listAlternatePrimaryKeyFieldNames in interface ModuleServiceModuleService.listAlternatePrimaryKeyFieldNames(java.lang.Class)public boolean isLocked()
isLocked in interface ModuleServiceModuleService.isLocked()| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||