org.kuali.rice.kew.impl.service
Class KewRemoteModuleService

java.lang.Object
  extended by org.kuali.rice.krad.service.impl.RemoteModuleServiceBase
      extended by org.kuali.rice.kew.impl.service.KewRemoteModuleService
All Implemented Interfaces:
ModuleService, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class KewRemoteModuleService
extends RemoteModuleServiceBase


Field Summary
protected  DocumentTypeService docTypeService
           
 
Fields inherited from class org.kuali.rice.krad.service.impl.RemoteModuleServiceBase
applicationContext, kualiConfigurationService, kualiModuleService, LOG, lookupService, moduleConfiguration
 
Constructor Summary
KewRemoteModuleService()
           
 
Method Summary
protected  DocumentTypeService getDocumentTypeService()
           
<T extends ExternalizableBusinessObject>
T
getExternalizableBusinessObject(Class<T> businessObjectClass, Map<String,Object> fieldValues)
          This overridden method calls the DocumentTypeService instead of the underlying KNS service.
<T extends ExternalizableBusinessObject>
List<T>
getExternalizableBusinessObjectsList(Class<T> businessObjectClass, Map<String,Object> fieldValues)
          This method gets the list of externalizable business objects, given its type and a map of primary keys and values.
 boolean isExternalizable(Class boClazz)
          This method determines whether or not a bo class is externalizable.
 boolean isExternalizableBusinessObjectInquirable(Class boClass)
           
 boolean isExternalizableBusinessObjectLookupable(Class boClass)
           
 List<List<String>> listAlternatePrimaryKeyFieldNames(Class businessObjectInterfaceClass)
          We want to be able to use name as an alternate key
 List<String> listPrimaryKeyFieldNames(Class boClass)
          This method returns the list of primary keys for the EBO.
 
Methods inherited from class org.kuali.rice.krad.service.impl.RemoteModuleServiceBase
afterPropertiesSet, createNewObjectFromExternalizableClass, getBaseInquiryUrl, getBaseLookupUrl, getBusinessObjectRelationship, getExternalizableBusinessObjectDictionaryEntry, getExternalizableBusinessObjectImplementation, getExternalizableBusinessObjectInquiryUrl, getExternalizableBusinessObjectLookupUrl, getExternalizableBusinessObjectsListForLookup, getExternalizableDataObjectInquiryUrl, getExternalizableDataObjectLookupUrl, getInquiryUrl, getKualiConfigurationService, getKualiModuleService, getLookupService, getModuleConfiguration, getRiceBaseLookupUrl, getUrlParameters, goToCentralRiceForInquiry, isLocked, isResponsibleFor, isResponsibleForJob, retrieveExternalizableBusinessObjectIfNecessary, retrieveExternalizableBusinessObjectsList, setApplicationContext, setKualiConfigurationService, setKualiModuleService, setModuleConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

docTypeService

protected DocumentTypeService docTypeService
Constructor Detail

KewRemoteModuleService

public KewRemoteModuleService()
Method Detail

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

Returns:
See Also:
ModuleServiceBase.getExternalizableBusinessObject(java.lang.Class, java.util.Map)

getExternalizableBusinessObjectsList

public <T extends ExternalizableBusinessObject> List<T> getExternalizableBusinessObjectsList(Class<T> businessObjectClass,
                                                                                             Map<String,Object> fieldValues)
Description copied from interface: ModuleService
This method gets the list of externalizable business objects, given its type and a map of primary keys and values.

Returns:

isExternalizableBusinessObjectLookupable

public boolean isExternalizableBusinessObjectLookupable(Class boClass)
Returns:

isExternalizableBusinessObjectInquirable

public boolean isExternalizableBusinessObjectInquirable(Class boClass)
Returns:

isExternalizable

public boolean isExternalizable(Class boClazz)
Description copied from interface: ModuleService
This method determines whether or not a bo class is externalizable.

Specified by:
isExternalizable in interface ModuleService
Overrides:
isExternalizable in class RemoteModuleServiceBase
Returns:
See Also:
ModuleService.isExternalizable(java.lang.Class)

listPrimaryKeyFieldNames

public List<String> listPrimaryKeyFieldNames(Class boClass)
Description copied from interface: ModuleService
This method returns the list of primary keys for the EBO.

Specified by:
listPrimaryKeyFieldNames in interface ModuleService
Overrides:
listPrimaryKeyFieldNames in class RemoteModuleServiceBase
Returns:

listAlternatePrimaryKeyFieldNames

public List<List<String>> listAlternatePrimaryKeyFieldNames(Class businessObjectInterfaceClass)
We want to be able to use name as an alternate key

Specified by:
listAlternatePrimaryKeyFieldNames in interface ModuleService
Overrides:
listAlternatePrimaryKeyFieldNames in class RemoteModuleServiceBase
Returns:
List of List of Strings.
See Also:
ModuleService.listAlternatePrimaryKeyFieldNames(java.lang.Class)

getDocumentTypeService

protected DocumentTypeService getDocumentTypeService()
Returns:
the docTypeService


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.