public interface ModuleService extends org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
Modifier and Type | Method and Description |
---|---|
<T extends ExternalizableBusinessObject> |
createNewObjectFromExternalizableClass(Class<T> boClass) |
<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
|
BusinessObjectEntry |
getExternalizableBusinessObjectDictionaryEntry(Class businessObjectInterfaceClass)
This method gets the business object dictionary entry for the passed in externalizable business object class.
|
<E extends ExternalizableBusinessObject> |
getExternalizableBusinessObjectImplementation(Class<E> externalizableBusinessObjectInterface)
For a given ExternalizableBusinessObject interface, return the implementation class provided by this module.
|
String |
getExternalizableBusinessObjectInquiryUrl(Class inquiryBusinessObjectClass,
Map<String,String[]> parameters)
Deprecated.
legacy KNS call, replaced by
getExternalizableDataObjectInquiryUrl(Class, java.util.Properties)
in KRAD |
String |
getExternalizableBusinessObjectLookupUrl(Class inquiryBusinessObjectClass,
Map<String,String> parameters)
Deprecated.
legacy KNS call, replaced by
getExternalizableDataObjectLookupUrl(Class, java.util.Properties)
in KRAD |
<T extends ExternalizableBusinessObject> |
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.
|
<T extends ExternalizableBusinessObject> |
getExternalizableBusinessObjectsListForLookup(Class<T> businessObjectClass,
Map<String,Object> fieldValues,
boolean unbounded)
This method gets the list of externalizable business objects for lookup, given its type and a map of primary keys
and values.
|
String |
getExternalizableDataObjectInquiryUrl(Class<?> inquiryDataObjectClass,
Properties parameters)
Returns a URL so that the inquiry framework may redirect a user to the appropriate (possibly
external) website at which to view inquiry information
|
String |
getExternalizableDataObjectLookupUrl(Class<?> inquiryDataObjectClass,
Properties parameters)
Returns a URL so that the lookup framework may redirect a user to the appropriate (possibly
external) website at which to the data for the object may be searched
|
ModuleConfiguration |
getModuleConfiguration()
This method returns the module configuration.
|
boolean |
goToCentralRiceForInquiry()
This method determines whether or not the central rice server should be used for lookups.
|
boolean |
isExternalizable(Class boClass)
This method determines whether or not a bo class is externalizable.
|
boolean |
isExternalizableBusinessObjectInquirable(Class boClass) |
boolean |
isExternalizableBusinessObjectLookupable(Class boClass) |
boolean |
isLocked()
This method determines whether or not this module is currently locked
|
boolean |
isResponsibleFor(Class businessObjectClass)
This method determines whether this service is responsible for the business object class passed in, or not.
|
boolean |
isResponsibleForJob(String jobName)
This method determines whether this service is responsible for the given jobname, or not.
|
List<List<String>> |
listAlternatePrimaryKeyFieldNames(Class businessObjectInterfaceClass)
This method returns a list of alternate primary keys.
|
List |
listPrimaryKeyFieldNames(Class businessObjectInterfaceClass)
This method returns the list of primary keys for the EBO.
|
<T extends ExternalizableBusinessObject> |
retrieveExternalizableBusinessObjectIfNecessary(BusinessObject businessObject,
T currentInstanceExternalizableBO,
String externalizableRelationshipName)
This method retrieves the externalizable business object, if it is not already populated
with the matching primary key values.
|
<T extends ExternalizableBusinessObject> |
retrieveExternalizableBusinessObjectsList(BusinessObject businessObject,
String externalizableRelationshipName,
Class<T> externalizableClazz)
This method retrieves a list of externalizable business objects given a business object,
name of the relationship between the business object and the externalizable business object, and
the externalizable business object class.
|
ModuleConfiguration getModuleConfiguration()
boolean isResponsibleFor(Class businessObjectClass)
businessObjectClass
- boolean isResponsibleForJob(String jobName)
jobName
- List listPrimaryKeyFieldNames(Class businessObjectInterfaceClass)
businessObjectInterfaceClass
- List<List<String>> listAlternatePrimaryKeyFieldNames(Class businessObjectInterfaceClass)
businessObjectInterfaceClass
- BusinessObjectEntry getExternalizableBusinessObjectDictionaryEntry(Class businessObjectInterfaceClass)
businessObjectInterfaceClass
- <T extends ExternalizableBusinessObject> T getExternalizableBusinessObject(Class<T> businessObjectClass, Map<String,Object> fieldValues)
businessObjectClass
- fieldValues
- <T extends ExternalizableBusinessObject> List<T> getExternalizableBusinessObjectsList(Class<T> businessObjectClass, Map<String,Object> fieldValues)
businessObjectClass
- fieldValues
- <T extends ExternalizableBusinessObject> List<T> getExternalizableBusinessObjectsListForLookup(Class<T> businessObjectClass, Map<String,Object> fieldValues, boolean unbounded)
T
- businessObjectClass
- fieldValues
- unbounded
- String getExternalizableDataObjectInquiryUrl(Class<?> inquiryDataObjectClass, Properties parameters)
inquiryDataObjectClass
- - a ExternalizableBusinessObject
managed by this moduleparameters
- - any inquiry parameters, and the primary key values of the inquiry class would be
in hereString getExternalizableDataObjectLookupUrl(Class<?> inquiryDataObjectClass, Properties parameters)
inquiryDataObjectClass
- - a ExternalizableBusinessObject
managed by this moduleparameters
- - any parameters for the lookup call@Deprecated String getExternalizableBusinessObjectInquiryUrl(Class inquiryBusinessObjectClass, Map<String,String[]> parameters)
getExternalizableDataObjectInquiryUrl(Class, java.util.Properties)
in KRADinquiryBusinessObjectClass
- a ExternalizableBusinessObject
managed by this moduleparameters
- any inquiry parameters, and the primary key values of the inquiryBusinessObjectClass would be
in here@Deprecated String getExternalizableBusinessObjectLookupUrl(Class inquiryBusinessObjectClass, Map<String,String> parameters)
getExternalizableDataObjectLookupUrl(Class, java.util.Properties)
in KRADparameters
- <T extends ExternalizableBusinessObject> T retrieveExternalizableBusinessObjectIfNecessary(BusinessObject businessObject, T currentInstanceExternalizableBO, String externalizableRelationshipName)
businessObject
- currentInstanceExternalizableBO
- externalizableRelationshipName
- <T extends ExternalizableBusinessObject> List<T> retrieveExternalizableBusinessObjectsList(BusinessObject businessObject, String externalizableRelationshipName, Class<T> externalizableClazz)
businessObject
- externalizableRelationshipName
- externalizableClazz
- boolean isExternalizable(Class boClass)
boClass
- boolean isExternalizableBusinessObjectLookupable(Class boClass)
boClass
- boolean isExternalizableBusinessObjectInquirable(Class boClass)
boClass
- <T extends ExternalizableBusinessObject> T createNewObjectFromExternalizableClass(Class<T> boClass)
T
- boClass
- <E extends ExternalizableBusinessObject> Class<E> getExternalizableBusinessObjectImplementation(Class<E> externalizableBusinessObjectInterface)
boolean isLocked()
boolean goToCentralRiceForInquiry()
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.