|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModuleService
Defines service methods for module services
Method Summary | ||
---|---|---|
|
createNewObjectFromExternalizableClass(Class<T> boClass)
|
|
|
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. |
|
|
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 |
|
|
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. |
|
|
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. |
|
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. |
|
|
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. |
|
|
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. |
Methods inherited from interface org.springframework.beans.factory.InitializingBean |
---|
afterPropertiesSet |
Methods inherited from interface org.springframework.context.ApplicationContextAware |
---|
setApplicationContext |
Method Detail |
---|
ModuleConfiguration getModuleConfiguration()
boolean isResponsibleFor(Class businessObjectClass)
businessObjectClass
-
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 here
String 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 KRAD
inquiryBusinessObjectClass
- 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 KRAD
parameters
-
<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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |