org.kuali.rice.kew.service.impl
Class KEWModuleService
java.lang.Object
   org.kuali.rice.krad.service.impl.ModuleServiceBase
org.kuali.rice.krad.service.impl.ModuleServiceBase
       org.kuali.rice.kew.service.impl.KEWModuleService
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
- public class KEWModuleService 
- extends ModuleServiceBase
The ModuleService for KEW
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
 
 
 
 
| Methods inherited from class org.kuali.rice.krad.service.impl.ModuleServiceBase | 
| afterPropertiesSet, createNewObjectFromExternalizableClass, getBusinessObjectDictionaryService, getBusinessObjectRelationship, getBusinessObjectService, getExternalizableBusinessObjectDictionaryEntry, getExternalizableBusinessObjectImplementation, getExternalizableBusinessObjectLookupUrl, getExternalizableBusinessObjectsList, getExternalizableBusinessObjectsListForLookup, getInquiryUrl, getKualiModuleService, getLookupService, getModuleConfiguration, getUrlParameters, isExternalizable, isExternalizableBusinessObjectInquirable, isExternalizableBusinessObjectLookupable, isLocked, isResponsibleFor, isResponsibleForJob, retrieveExternalizableBusinessObjectIfNecessary, retrieveExternalizableBusinessObjectsList, setApplicationContext, setKualiModuleService, setModuleConfiguration | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
docTypeService
protected DocumentTypeService docTypeService
KEWModuleService
public KEWModuleService()
listPrimaryKeyFieldNames
public List<String> listPrimaryKeyFieldNames(Class businessObjectInterfaceClass)
- These are the "primary" keys for the DocTypeService. We are considering both
 name and documentTypeId to be unique.
 
- 
- Specified by:
- listPrimaryKeyFieldNamesin interface- ModuleService
- Overrides:
- listPrimaryKeyFieldNamesin class- ModuleServiceBase
 
- 
- Returns:
- See Also:
- ModuleServiceBase.listPrimaryKeyFieldNames(java.lang.Class)
 
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 interface- ModuleService
- Overrides:
- getExternalizableBusinessObjectin class- ModuleServiceBase
 
- 
- Returns:
- See Also:
- ModuleServiceBase.getExternalizableBusinessObject(java.lang.Class, java.util.Map)
 
getDocumentTypeService
protected DocumentTypeService getDocumentTypeService()
- 
- Returns:
- the docTypeService
 
setDocumentTypeService
public void setDocumentTypeService(DocumentTypeService docTypeService)
- 
- 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 interface- ModuleService
- Overrides:
- getExternalizableBusinessObjectInquiryUrlin class- ModuleServiceBase
 
- 
- Parameters:
- inquiryBusinessObjectClass- a- ExternalizableBusinessObjectmanaged by this module
- parameters- any inquiry parameters, and the primary key values of the inquiryBusinessObjectClass would be in here
- Returns:
- a URL where externalizable business object information may be viewed.
- See Also:
- ModuleServiceBase.getExternalizableBusinessObjectInquiryUrl(java.lang.Class, java.util.Map)
 
listAlternatePrimaryKeyFieldNames
public List<List<String>> listAlternatePrimaryKeyFieldNames(Class businessObjectInterfaceClass)
- We want to be able to use name as an alternate key
 
- 
- Specified by:
- listAlternatePrimaryKeyFieldNamesin interface- ModuleService
- Overrides:
- listAlternatePrimaryKeyFieldNamesin class- ModuleServiceBase
 
- 
- Returns:
- List of List of Strings.
- See Also:
- ModuleService.listAlternatePrimaryKeyFieldNames(java.lang.Class)
 
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.