public class ModuleServiceBase extends RemoteModuleServiceBase implements ModuleService
RemoteModuleServiceBase.BaseLookupUrlsHolder
Modifier and Type | Field and Description |
---|---|
protected BusinessObjectDictionaryService |
businessObjectDictionaryService |
protected BusinessObjectService |
businessObjectService |
protected static org.apache.log4j.Logger |
LOG |
applicationContext, kualiConfigurationService, kualiModuleService, lookupService, moduleConfiguration
Constructor and Description |
---|
ModuleServiceBase() |
Modifier and Type | Method and Description |
---|---|
protected String |
getBaseLookupUrl()
Returns the base URL to use for lookup requests to objects within the module
|
protected BusinessObjectDictionaryService |
getBusinessObjectDictionaryService() |
protected BusinessObjectService |
getBusinessObjectService() |
<T extends ExternalizableBusinessObject> |
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
|
String |
getExternalizableBusinessObjectInquiryUrl(Class inquiryBusinessObjectClass,
Map<String,String[]> parameters)
Deprecated.
|
String |
getExternalizableBusinessObjectLookupUrl(Class inquiryBusinessObjectClass,
Map<String,String> parameters)
Deprecated.
|
<T extends ExternalizableBusinessObject> |
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.
|
protected String |
getInquiryUrl(Class inquiryBusinessObjectClass)
Deprecated.
|
protected RunMode |
getRunMode(String module) |
boolean |
goToCentralRiceForInquiry()
This method determines whether or not the central rice server should be used for lookups.
|
boolean |
isExternalizableBusinessObjectInquirable(Class boClass) |
boolean |
isExternalizableBusinessObjectLookupable(Class boClass) |
afterPropertiesSet, createNewObjectFromExternalizableClass, getBaseInquiryUrl, getBusinessObjectRelationship, getExternalizableBusinessObjectDictionaryEntry, getExternalizableBusinessObjectImplementation, getExternalizableBusinessObjectsListForLookup, getExternalizableDataObjectInquiryUrl, getExternalizableDataObjectLookupUrl, getKualiConfigurationService, getKualiModuleService, getLookupService, getModuleConfiguration, getRiceBaseLookupUrl, getUrlParameters, isExternalizable, isLocked, isNonBlankValueForKey, isResponsibleFor, isResponsibleForJob, listAlternatePrimaryKeyFieldNames, listPrimaryKeyFieldNames, retrieveExternalizableBusinessObjectIfNecessary, retrieveExternalizableBusinessObjectsList, setApplicationContext, setKualiConfigurationService, setKualiModuleService, setModuleConfiguration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createNewObjectFromExternalizableClass, getExternalizableBusinessObjectDictionaryEntry, getExternalizableBusinessObjectImplementation, getExternalizableBusinessObjectsListForLookup, getExternalizableDataObjectInquiryUrl, getExternalizableDataObjectLookupUrl, getModuleConfiguration, isExternalizable, isLocked, isResponsibleFor, isResponsibleForJob, listAlternatePrimaryKeyFieldNames, listPrimaryKeyFieldNames, retrieveExternalizableBusinessObjectIfNecessary, retrieveExternalizableBusinessObjectsList
protected static final org.apache.log4j.Logger LOG
protected BusinessObjectService businessObjectService
protected BusinessObjectDictionaryService businessObjectDictionaryService
public ModuleServiceBase()
public <T extends ExternalizableBusinessObject> T getExternalizableBusinessObject(Class<T> businessObjectClass, Map<String,Object> fieldValues)
ModuleService
getExternalizableBusinessObject
in interface ModuleService
ModuleService.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 ModuleService
ModuleService.getExternalizableBusinessObject(java.lang.Class, java.util.Map)
@Deprecated public String getExternalizableBusinessObjectInquiryUrl(Class inquiryBusinessObjectClass, Map<String,String[]> parameters)
ModuleService
getExternalizableBusinessObjectInquiryUrl
in interface ModuleService
getExternalizableBusinessObjectInquiryUrl
in class RemoteModuleServiceBase
inquiryBusinessObjectClass
- a ExternalizableBusinessObject
managed by this moduleparameters
- any inquiry parameters, and the primary key values of the inquiryBusinessObjectClass would be
in here@Deprecated protected String getInquiryUrl(Class inquiryBusinessObjectClass)
getInquiryUrl
in class RemoteModuleServiceBase
public boolean isExternalizableBusinessObjectLookupable(Class boClass)
isExternalizableBusinessObjectLookupable
in interface ModuleService
public boolean isExternalizableBusinessObjectInquirable(Class boClass)
isExternalizableBusinessObjectInquirable
in interface ModuleService
@Deprecated public String getExternalizableBusinessObjectLookupUrl(Class inquiryBusinessObjectClass, Map<String,String> parameters)
getExternalizableBusinessObjectLookupUrl
in interface ModuleService
getExternalizableBusinessObjectLookupUrl
in class RemoteModuleServiceBase
ModuleService.getExternalizableBusinessObjectLookupUrl(java.lang.Class,
java.util.Map)
protected BusinessObjectDictionaryService getBusinessObjectDictionaryService()
protected BusinessObjectService getBusinessObjectService()
public boolean goToCentralRiceForInquiry()
ModuleService
goToCentralRiceForInquiry
in interface ModuleService
goToCentralRiceForInquiry
in class RemoteModuleServiceBase
protected String getBaseLookupUrl()
getBaseLookupUrl
in class RemoteModuleServiceBase
protected RunMode getRunMode(String module)
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.