public class KEWModuleService extends ModuleServiceBase
RemoteModuleServiceBase.BaseLookupUrlsHolder
Modifier and Type | Field and Description |
---|---|
protected DocumentTypeService |
docTypeService |
businessObjectDictionaryService, businessObjectService, LOG
applicationContext, kualiConfigurationService, kualiModuleService, lookupService, moduleConfiguration
Constructor and Description |
---|
KEWModuleService() |
Modifier and Type | Method and Description |
---|---|
protected DocumentTypeService |
getDocumentTypeService() |
<T extends ExternalizableBusinessObject> |
getExternalizableBusinessObject(Class<T> businessObjectClass,
Map<String,Object> fieldValues)
This overridden method calls the DocumentTypeService instead of the underlying
KNS service.
|
String |
getExternalizableBusinessObjectInquiryUrl(Class inquiryBusinessObjectClass,
Map<String,String[]> parameters)
This overridden method rewrites the URL.
|
boolean |
goToCentralRiceForInquiry()
This method determines whether or not the central rice server should be used for lookups.
|
List<List<String>> |
listAlternatePrimaryKeyFieldNames(Class businessObjectInterfaceClass)
We want to be able to use name as an alternate key
|
List<String> |
listPrimaryKeyFieldNames(Class businessObjectInterfaceClass)
These are the "primary" keys for the DocTypeService.
|
void |
setDocumentTypeService(DocumentTypeService docTypeService) |
getBaseLookupUrl, getBusinessObjectDictionaryService, getBusinessObjectService, getExternalizableBusinessObjectLookupUrl, getExternalizableBusinessObjectsList, getInquiryUrl, getRunMode, isExternalizableBusinessObjectInquirable, isExternalizableBusinessObjectLookupable
afterPropertiesSet, createNewObjectFromExternalizableClass, getBaseInquiryUrl, getBusinessObjectRelationship, getExternalizableBusinessObjectDictionaryEntry, getExternalizableBusinessObjectImplementation, getExternalizableBusinessObjectsListForLookup, getExternalizableDataObjectInquiryUrl, getExternalizableDataObjectLookupUrl, getKualiConfigurationService, getKualiModuleService, getLookupService, getModuleConfiguration, getRiceBaseLookupUrl, getUrlParameters, isExternalizable, isLocked, isNonBlankValueForKey, isResponsibleFor, isResponsibleForJob, 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, retrieveExternalizableBusinessObjectIfNecessary, retrieveExternalizableBusinessObjectsList
protected DocumentTypeService docTypeService
public KEWModuleService()
public List<String> listPrimaryKeyFieldNames(Class businessObjectInterfaceClass)
listPrimaryKeyFieldNames
in interface ModuleService
listPrimaryKeyFieldNames
in class RemoteModuleServiceBase
RemoteModuleServiceBase.listPrimaryKeyFieldNames(java.lang.Class)
public <T extends ExternalizableBusinessObject> T getExternalizableBusinessObject(Class<T> businessObjectClass, Map<String,Object> fieldValues)
getExternalizableBusinessObject
in interface ModuleService
getExternalizableBusinessObject
in class ModuleServiceBase
ModuleServiceBase.getExternalizableBusinessObject(java.lang.Class, java.util.Map)
protected DocumentTypeService getDocumentTypeService()
public void setDocumentTypeService(DocumentTypeService docTypeService)
docTypeService
- the docTypeService to setpublic String getExternalizableBusinessObjectInquiryUrl(Class inquiryBusinessObjectClass, Map<String,String[]> parameters)
getExternalizableBusinessObjectInquiryUrl
in interface ModuleService
getExternalizableBusinessObjectInquiryUrl
in class ModuleServiceBase
inquiryBusinessObjectClass
- a ExternalizableBusinessObject
managed by this moduleparameters
- any inquiry parameters, and the primary key values of the inquiryBusinessObjectClass would be
in hereModuleServiceBase.getExternalizableBusinessObjectInquiryUrl(java.lang.Class, java.util.Map)
public List<List<String>> listAlternatePrimaryKeyFieldNames(Class businessObjectInterfaceClass)
listAlternatePrimaryKeyFieldNames
in interface ModuleService
listAlternatePrimaryKeyFieldNames
in class RemoteModuleServiceBase
ModuleService.listAlternatePrimaryKeyFieldNames(java.lang.Class)
public boolean goToCentralRiceForInquiry()
ModuleService
goToCentralRiceForInquiry
in interface ModuleService
goToCentralRiceForInquiry
in class ModuleServiceBase
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.