Package org.kuali.rice.kew.service.impl
Class KEWModuleService
java.lang.Object
org.kuali.rice.krad.service.impl.RemoteModuleServiceBase
org.kuali.rice.krad.service.impl.ModuleServiceBase
org.kuali.rice.kew.service.impl.KEWModuleService
- All Implemented Interfaces:
ModuleService,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
The ModuleService for KEW
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kuali.rice.krad.service.impl.RemoteModuleServiceBase
RemoteModuleServiceBase.BaseLookupUrlsHolder -
Field Summary
FieldsFields inherited from class org.kuali.rice.krad.service.impl.ModuleServiceBase
LOGFields inherited from class org.kuali.rice.krad.service.impl.RemoteModuleServiceBase
applicationContext, kualiConfigurationService, kualiModuleService, legacyDataAdapter, lookupService, moduleConfiguration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DocumentTypeService<T extends ExternalizableBusinessObject>
TgetExternalizableBusinessObject(Class<T> businessObjectClass, Map<String, Object> fieldValues) This overridden method calls the DocumentTypeService instead of the underlying KNS service.getExternalizableBusinessObjectInquiryUrl(Class inquiryBusinessObjectClass, Map<String, String[]> parameters) This overridden method rewrites the URL.booleanlistAlternatePrimaryKeyFieldNames(Class businessObjectInterfaceClass) We want to be able to use name as an alternate keylistPrimaryKeyFieldNames(Class businessObjectInterfaceClass) These are the "primary" keys for the DocTypeService.voidsetDocumentTypeService(DocumentTypeService docTypeService) Methods inherited from class org.kuali.rice.krad.service.impl.ModuleServiceBase
getBaseLookupUrl, getExternalizableBusinessObjectLookupUrl, getExternalizableBusinessObjectsList, getInquiryUrl, getRunMode, isExternalizableBusinessObjectInquirable, isExternalizableBusinessObjectLookupableMethods inherited from class org.kuali.rice.krad.service.impl.RemoteModuleServiceBase
afterPropertiesSet, createNewObjectFromExternalizableClass, getBaseInquiryUrl, getBusinessObjectRelationship, getExternalizableBusinessObjectDictionaryEntry, getExternalizableBusinessObjectImplementation, getExternalizableBusinessObjectsListForLookup, getExternalizableDataObjectInquiryUrl, getExternalizableDataObjectLookupUrl, getKualiConfigurationService, getKualiModuleService, getLegacyDataAdapter, getLookupService, getModuleConfiguration, getRiceBaseLookupUrl, getUrlParameters, isExternalizable, isLocked, isNonBlankValueForKey, isResponsibleFor, packagePrefixesMatchesDataObject, persistenceProvidersMatchDataObject, retrieveExternalizableBusinessObjectIfNecessary, retrieveExternalizableBusinessObjectsList, setApplicationContext, setKualiConfigurationService, setKualiModuleService, setModuleConfiguration, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContextMethods inherited from interface org.springframework.beans.factory.InitializingBean
afterPropertiesSetMethods inherited from interface org.kuali.rice.krad.service.ModuleService
createNewObjectFromExternalizableClass, getExternalizableBusinessObjectDictionaryEntry, getExternalizableBusinessObjectImplementation, getExternalizableBusinessObjectsListForLookup, getExternalizableDataObjectInquiryUrl, getExternalizableDataObjectLookupUrl, getModuleConfiguration, isExternalizable, isLocked, isResponsibleFor, retrieveExternalizableBusinessObjectIfNecessary, retrieveExternalizableBusinessObjectsList
-
Field Details
-
docTypeService
-
-
Constructor Details
-
KEWModuleService
public KEWModuleService()
-
-
Method Details
-
listPrimaryKeyFieldNames
These are the "primary" keys for the DocTypeService. We are considering both name and documentTypeId to be unique.- Specified by:
listPrimaryKeyFieldNamesin interfaceModuleService- Overrides:
listPrimaryKeyFieldNamesin classRemoteModuleServiceBase- See Also:
-
getExternalizableBusinessObject
public <T extends ExternalizableBusinessObject> T getExternalizableBusinessObject(Class<T> businessObjectClass, Map<String, Object> fieldValues) This overridden method calls the DocumentTypeService instead of the underlying KNS service. Allows you to search on name and docTypeId- Specified by:
getExternalizableBusinessObjectin interfaceModuleService- Overrides:
getExternalizableBusinessObjectin classModuleServiceBase- See Also:
-
getDocumentTypeService
- Returns:
- the docTypeService
-
setDocumentTypeService
- Parameters:
docTypeService- the docTypeService to set
-
getExternalizableBusinessObjectInquiryUrl
public String getExternalizableBusinessObjectInquiryUrl(Class inquiryBusinessObjectClass, Map<String, String[]> parameters) This overridden method rewrites the URL.- Specified by:
getExternalizableBusinessObjectInquiryUrlin interfaceModuleService- Overrides:
getExternalizableBusinessObjectInquiryUrlin classModuleServiceBase- See Also:
-
listAlternatePrimaryKeyFieldNames
We want to be able to use name as an alternate key- Specified by:
listAlternatePrimaryKeyFieldNamesin interfaceModuleService- Overrides:
listAlternatePrimaryKeyFieldNamesin classRemoteModuleServiceBase- See Also:
-
goToCentralRiceForInquiry
public boolean goToCentralRiceForInquiry()- Specified by:
goToCentralRiceForInquiryin interfaceModuleService- Overrides:
goToCentralRiceForInquiryin classModuleServiceBase
-