@Deprecated public class LegacyDataAdapterImpl extends Object implements LegacyDataAdapter
CLASS_NOT_PERSISTABLE_OJB_EXCEPTION_CLASS, OPTIMISTIC_LOCK_OJB_EXCEPTION_CLASS
Constructor and Description |
---|
LegacyDataAdapterImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allForeignKeyValuesPopulatedForReference(Object bo,
String referenceName)
Deprecated.
This method examines whether all the foreign key fields for the specified reference contain values.
|
boolean |
allPrimaryKeyValuesPresentAndNotWildcard(Class<?> boClass,
Map<String,String> formProps)
Deprecated.
|
boolean |
areNotesSupported(Class<?> dataObjectClass)
Deprecated.
|
Object |
createNewObjectFromClass(Class clazz)
Deprecated.
This method safely creates a object from a class
Convenience method to create new object and throw a runtime exception if it cannot
If the class is an
ExternalizableBusinessObject , this method will determine the interface for the EBO and
query the
appropriate module service to create a new instance. |
RemotableQuickFinder.Builder |
createQuickFinder(Class<?> containingClass,
String attributeName)
Deprecated.
Returns the builder for a remotable quick finder for the given attribute name on the given containing class.
|
void |
delete(Object dataObject)
Deprecated.
Deletes a data object from the database.
|
void |
deleteMatching(Class<?> type,
Map<String,?> fieldValues)
Deprecated.
Deletes data objects from the database.
|
Class<?> |
determineCollectionObjectType(Class<?> containingType,
String collectionPropertyName)
Deprecated.
Determines the type of the collection object on the class with the collection with the given property name.
|
boolean |
equalsByPrimaryKeys(Object do1,
Object do2)
Deprecated.
Compares two dataObject instances for equality based on primary keys
|
<T> Collection<T> |
findAll(Class<T> clazz)
Deprecated.
This method retrieves a collection of data objects populated with data, such that each record in the database populates a
new object instance.This will only retrieve business objects by class type.
|
<T extends Document> |
findByDocumentHeaderId(Class<T> documentClass,
String id)
Deprecated.
Finds the Document for the specified class with the given id.
|
<T extends Document> |
findByDocumentHeaderIds(Class<T> documentClass,
List<String> ids)
Deprecated.
Finds the Documents for the specified class with the given list of ids.
|
<T> T |
findByPrimaryKey(Class<T> clazz,
Map<String,?> primaryKeys)
Deprecated.
Retrieves an object instance identified by its primary keys and values.
|
<T> T |
findBySinglePrimaryKey(Class<T> clazz,
Object primaryKey)
Deprecated.
Retrieves an object instance identified by its primary key.
|
<T> Collection<T> |
findCollectionBySearchHelper(Class<T> dataObjectClass,
Map<String,String> formProperties,
boolean unbounded,
boolean allPrimaryKeyValuesPresentAndNotWildcard,
Integer searchResultsLimit)
Deprecated.
Returns a collection of objects based on the given search parameters.
|
<T> Collection<T> |
findCollectionBySearchHelper(Class<T> dataObjectClass,
Map<String,String> formProperties,
List<String> wildcardAsLiteralPropertyNames,
boolean unbounded,
boolean allPrimaryKeyValuesPresentAndNotWildcard,
Integer searchResultsLimit)
Deprecated.
Returns a collection of objects based on the given search parameters.
|
<T> Collection<T> |
findMatching(Class<T> clazz,
Map<String,?> fieldValues)
Deprecated.
This method retrieves a collection of data objects populated with data, such that each record in the database populates a
new object instance.
|
<T> Collection<T> |
findMatchingOrderBy(Class<T> clazz,
Map<String,?> fieldValues,
String sortField,
boolean sortAscending)
Deprecated.
This method retrieves a collection of business objects populated with data, such that each record in the database populates a
new object instance.
|
<T> T |
findObjectBySearch(Class<T> type,
Map<String,String> formProps)
Deprecated.
Retrieves a Object based on the search criteria, which should uniquely
identify a record.
|
String |
getDataObjectIdentifierString(Object dataObject)
Deprecated.
Gets the identifier for a data object
|
DataObjectRelationship |
getDataObjectRelationship(Object dataObject,
Class<?> dataObjectClass,
String attributeName,
String attributePrefix,
boolean keysOnly,
boolean supportsLookup,
boolean supportsInquiry)
Deprecated.
Attempts to find a relationship for the given attribute within the given
data object
|
RelationshipDefinition |
getDictionaryRelationship(Class<?> c,
String attributeName)
Deprecated.
|
Object |
getExtension(Class<?> businessObjectClass)
Deprecated.
Creates an instance of the extension for the given business object class.
|
Class<?> |
getExtensionAttributeClass(Class<?> boClass,
String attributePropertyName)
Deprecated.
|
ForeignKeyFieldsPopulationState |
getForeignKeyFieldsPopulationState(Object dataObject,
String referenceName)
Deprecated.
This method checks the foreign keys for a reference on a given BO, and tests that all fk fields are populated if any are
populated.
|
Map<String,String> |
getForeignKeysForReference(Class<?> clazz,
String attributeName)
Deprecated.
This method will return a Map of all the foreign key fields and the corresponding primary key fields for a given reference.
|
Class<?> |
getInquiryObjectClassIfNotTitle(Object dataObject,
String propertyName)
Deprecated.
Get Inquiry class if not the title attribute
|
Map<String,String> |
getInquiryParameters(Object dataObject,
List<String> keys,
String propertyName)
Deprecated.
Get Inquiry parameters for given keys for data object/property name
|
LegacyDataAdapter |
getKnsLegacyDataAdapter()
Deprecated.
|
LegacyDataAdapter |
getKradLegacyDataAdapter()
Deprecated.
|
Object |
getNestedValue(Object bo,
String fieldName)
Deprecated.
This method safely extracts either simple values OR nested values.
|
Map<String,?> |
getPrimaryKeyFieldValues(Object dataObject)
Deprecated.
This method retrieves the primary key field values for the given data object
|
Map<String,?> |
getPrimaryKeyFieldValuesDOMDS(Object dataObject)
Deprecated.
Determines the primary keys for the class of the given object, then for each
key field retrieves the value from the object instance and populates the return
map with the primary key name as the map key and the object value as the map value
|
Class<?> |
getPropertyType(Object object,
String propertyName)
Deprecated.
Returns the type of the property with the given name on the supplied object.
|
Object |
getReferenceIfExists(Object bo,
String referenceName)
Deprecated.
This method attempts to retrieve the reference from a BO if it exists.
|
String |
getTitleAttribute(Class<?> dataObjectClass)
Deprecated.
This method gets the title attribute from the datadictionary for the given data object class
|
boolean |
hasCollection(Class<?> boClass,
String collectionName)
Deprecated.
Returns whether BOs of the given class have a collection defined within them with the given collection name.
|
boolean |
hasLocalInquiry(Class<?> dataObjectClass)
Deprecated.
Determines whether the given data object class has an associated inquiry in the local
running application
|
boolean |
hasLocalLookup(Class<?> dataObjectClass)
Deprecated.
Determines whether the given data object class has an associated lookup in the local
running application
|
boolean |
hasPrimaryKeyFieldValues(Object dataObject)
Deprecated.
|
boolean |
hasReference(Class<?> boClass,
String referenceName)
Deprecated.
Returns whether there is a reference defined in the persistence layer with the given name.
|
boolean |
isCollectionUpdatable(Class<?> type,
String collectionName)
Deprecated.
|
boolean |
isExtensionAttribute(Class<?> boClass,
String attributePropertyName,
Class<?> propertyType)
Deprecated.
|
boolean |
isLockable(Object object)
Deprecated.
Determines if the given ojbect is "lockable".
|
boolean |
isNull(Object object)
Deprecated.
This method is a OJB Proxy-safe way to test for null on a proxied object that may or may not be materialized yet.
|
boolean |
isPersistable(Class<?> dataObjectClass)
Deprecated.
Determines if a class is persistable
|
boolean |
isProxied(Object object)
Deprecated.
Returns whether the object is an ORM proxy
|
boolean |
isReferenceUpdatable(Class<?> type,
String referenceName)
Deprecated.
|
<T> T |
linkAndSave(T dataObject)
Deprecated.
Links up any contained objects, and then saves the passed in object via the persistence layer.
|
Map<String,Class> |
listCollectionObjectTypes(Class<?> type)
Deprecated.
|
List<String> |
listPrimaryKeyFieldNames(Class<?> type)
Deprecated.
Returns a list of primary key field names for the given class.
|
Map<String,Class> |
listReferenceObjectFields(Class<?> type)
Deprecated.
This method uses the persistence layer to determine the list of reference objects contained within this parent object.
|
void |
materializeAllSubObjects(Object object)
Deprecated.
Materializes any references on the given object.
|
Class |
materializeClassForProxiedObject(Object object)
Deprecated.
Attempts to find the Class for the given potentially proxied object
|
void |
refreshAllNonUpdatingReferences(Object persistableObject)
Deprecated.
This method refreshes all reference objects to this main object that are 'non-updateable'.
|
void |
refreshReferenceObject(Object businessObject,
String referenceObjectName)
Deprecated.
Refreshes the specified reference object on the given business object.
|
Object |
resolveProxy(Object object)
Deprecated.
Returns the object underlying any ORM proxy layers
|
<T> T |
retrieve(T dataObject)
Deprecated.
Retrieves an object instance identified by the class of the given object and the object's primary key values.
|
void |
retrieveNonKeyFields(Object persistableObject)
Deprecated.
|
void |
retrieveReferenceObject(Object persistableObject,
String referenceObjectName)
Deprecated.
|
<T> T |
save(T dataObject)
Deprecated.
Saves the passed in object or list of objects via the persistence layer.
|
<T> T |
saveDocument(T document)
Deprecated.
|
protected LegacyDataAdapter |
selectAdapter(Object dataObject)
Deprecated.
|
void |
setKnsLegacyDataAdapter(LegacyDataAdapter knsLegacyDataAdapter)
Deprecated.
|
void |
setKradLegacyDataAdapter(LegacyDataAdapter kradLegacyDataAdapter)
Deprecated.
|
void |
setObjectProperty(Object bo,
String propertyName,
Class propertyType,
Object propertyValue)
Deprecated.
Sets the property of an object with the given value.
|
void |
setObjectPropertyDeep(Object bo,
String propertyName,
Class type,
Object propertyValue)
Deprecated.
Recursive; sets all occurences of the property in the object, its nested objects and its object lists with the
given value.
|
void |
verifyVersionNumber(Object dataObject)
Deprecated.
Verifies that the version number of the given data object (if it has one) matches what is currently in the
database.
|
public LegacyDataAdapterImpl()
public <T> T save(T dataObject)
LegacyDataAppAdapter
save
in interface LegacyDataAppAdapter
dataObject
- the data object to savepublic <T> T linkAndSave(T dataObject)
LegacyDataAppAdapter
linkAndSave
in interface LegacyDataAppAdapter
dataObject
- the data object to link and savepublic <T> T saveDocument(T document)
saveDocument
in interface LegacyDataAppAdapter
public <T> T findByPrimaryKey(Class<T> clazz, Map<String,?> primaryKeys)
LegacyDataAppAdapter
findByPrimaryKey
in interface LegacyDataAppAdapter
clazz
- data object type classprimaryKeys
- map of String->Object key valuespublic <T> T findBySinglePrimaryKey(Class<T> clazz, Object primaryKey)
LegacyDataAppAdapter
LegacyDataAppAdapter.findByPrimaryKey(Class, Map)
findBySinglePrimaryKey
in interface LegacyDataAppAdapter
clazz
- data object type classprimaryKey
- the primary key objectpublic void delete(Object dataObject)
LegacyDataAppAdapter
delete
in interface LegacyDataAppAdapter
dataObject
- the data object to deletepublic void deleteMatching(Class<?> type, Map<String,?> fieldValues)
LegacyDataAppAdapter
deleteMatching
in interface LegacyDataAppAdapter
type
- the entity type to deletefieldValues
- map String->Object of field values to matchpublic <T> T retrieve(T dataObject)
LegacyDataAppAdapter
retrieve
in interface LegacyDataAppAdapter
dataObject
- the data objectpublic <T> Collection<T> findAll(Class<T> clazz)
LegacyDataAppAdapter
findAll
in interface LegacyDataAppAdapter
clazz
- the data object type classpublic <T> Collection<T> findMatching(Class<T> clazz, Map<String,?> fieldValues)
LegacyDataAppAdapter
findMatching
in interface LegacyDataAppAdapter
clazz
- the data object type classfieldValues
- map String->Object of field valuespublic <T> Collection<T> findMatchingOrderBy(Class<T> clazz, Map<String,?> fieldValues, String sortField, boolean sortAscending)
LegacyDataAppAdapter
findMatchingOrderBy
in interface LegacyDataAppAdapter
public Map<String,?> getPrimaryKeyFieldValues(Object dataObject)
LegacyDataAppAdapter
getPrimaryKeyFieldValues
in interface LegacyDataAppAdapter
dataObject
- data object whose primary key field name,value pairs you wantpublic void retrieveNonKeyFields(Object persistableObject)
retrieveNonKeyFields
in interface LegacyDataAppAdapter
persistableObject
- object whose objects need to be filled in based on primary keyspublic void retrieveReferenceObject(Object persistableObject, String referenceObjectName)
retrieveReferenceObject
in interface LegacyDataAppAdapter
persistableObject
- object whose specified reference object needs to be filled in based on primary keysreferenceObjectName
- the name of the reference object that will be filled in based on primary key valuespublic void refreshAllNonUpdatingReferences(Object persistableObject)
LegacyDataAppAdapter
refreshAllNonUpdatingReferences
in interface LegacyDataAppAdapter
persistableObject
- - the businessObject to be refreshedpublic boolean isProxied(Object object)
LegacyDataAppAdapter
isProxied
in interface LegacyDataAppAdapter
object
- the candidate objectpublic Object resolveProxy(Object object)
LegacyDataAppAdapter
resolveProxy
in interface LegacyDataAppAdapter
object
- the object for which to determine the underlying non-ORM-proxy targetpublic <T> Collection<T> findCollectionBySearchHelper(Class<T> dataObjectClass, Map<String,String> formProperties, boolean unbounded, boolean allPrimaryKeyValuesPresentAndNotWildcard, Integer searchResultsLimit)
LegacyDataAppAdapter
findCollectionBySearchHelper
in interface LegacyDataAppAdapter
dataObjectClass
- the data object typeformProperties
- field values for queryunbounded
- whether the search results should be boundedallPrimaryKeyValuesPresentAndNotWildcard
- indicates whether or not the search only contains non-wildcarded primary key valuessearchResultsLimit
- if the search is bounded, the search results limit, otherwise ignored. null is equivalent to KNS default for the clazzpublic <T> Collection<T> findCollectionBySearchHelper(Class<T> dataObjectClass, Map<String,String> formProperties, List<String> wildcardAsLiteralPropertyNames, boolean unbounded, boolean allPrimaryKeyValuesPresentAndNotWildcard, Integer searchResultsLimit)
LegacyDataAppAdapter
Search results are bounded by the KNS search results limit determined for the class. This implementation further isolates the UIFramework from the LookupService and should be used in place of the deprecated method.
findCollectionBySearchHelper
in interface LegacyDataAppAdapter
dataObjectClass
- the data object typeformProperties
- field values for querywildcardAsLiteralPropertyNames
- list of fields for query that do not allow wildcardsunbounded
- whether the search results should be boundedallPrimaryKeyValuesPresentAndNotWildcard
- indicates whether or not the search only contains non-wildcarded primary key valuessearchResultsLimit
- if the search is bounded, the search results limit, otherwise ignored. null is equivalent to KNS default for the clazzpublic <T> T findObjectBySearch(Class<T> type, Map<String,String> formProps)
LegacyDataAppAdapter
findObjectBySearch
in interface LegacyDataAppAdapter
type
- the data object typeformProps
- field values for querypublic boolean allPrimaryKeyValuesPresentAndNotWildcard(Class<?> boClass, Map<String,String> formProps)
allPrimaryKeyValuesPresentAndNotWildcard
in interface LegacyDataAppAdapter
public List<String> listPrimaryKeyFieldNames(Class<?> type)
LegacyDataAppAdapter
listPrimaryKeyFieldNames
in interface LegacyDataAppAdapter
public Class<?> determineCollectionObjectType(Class<?> containingType, String collectionPropertyName)
LegacyDataAppAdapter
determineCollectionObjectType
in interface LegacyDataAppAdapter
containingType
- the class of the object containing the collectioncollectionPropertyName
- the name of the property identifying the collectionpublic boolean hasReference(Class<?> boClass, String referenceName)
LegacyDataAppAdapter
hasReference
in interface LegacyDataAppAdapter
public boolean hasCollection(Class<?> boClass, String collectionName)
LegacyDataAppAdapter
hasCollection
in interface LegacyDataAppAdapter
public boolean isExtensionAttribute(Class<?> boClass, String attributePropertyName, Class<?> propertyType)
isExtensionAttribute
in interface LegacyDataAppAdapter
public Class<?> getExtensionAttributeClass(Class<?> boClass, String attributePropertyName)
getExtensionAttributeClass
in interface LegacyDataAppAdapter
public Map<String,?> getPrimaryKeyFieldValuesDOMDS(Object dataObject)
LegacyDataAppAdapter
Has DOMDS on the end because this is the version that delegates to DataObjectMetaDataService
getPrimaryKeyFieldValuesDOMDS
in interface LegacyDataAppAdapter
dataObject
- - object whose primary key field name,value pairs you wantpublic boolean equalsByPrimaryKeys(Object do1, Object do2)
LegacyDataAppAdapter
equalsByPrimaryKeys
in interface LegacyDataAppAdapter
public void materializeAllSubObjects(Object object)
LegacyDataAppAdapter
materializeAllSubObjects
in interface LegacyDataAppAdapter
object
- object to materializepublic Class<?> getPropertyType(Object object, String propertyName)
LegacyDataAppAdapter
getPropertyType
in interface LegacyDataAppAdapter
object
- the object against which to searchpropertyName
- the (optionally nested) property name for which to locate the typepublic Object getExtension(Class<?> businessObjectClass) throws InstantiationException, IllegalAccessException
LegacyDataAppAdapter
getExtension
in interface LegacyDataAppAdapter
InstantiationException
IllegalAccessException
public void refreshReferenceObject(Object businessObject, String referenceObjectName)
LegacyDataAppAdapter
refreshReferenceObject
in interface LegacyDataAppAdapter
public boolean isLockable(Object object)
LegacyDataAppAdapter
isLockable
in interface LegacyDataAppAdapter
object
- object for which to determine lockablepublic void verifyVersionNumber(Object dataObject)
LegacyDataAppAdapter
If this particular data object does not have versioning, this method will do nothing.
verifyVersionNumber
in interface LegacyDataAppAdapter
dataObject
- the data object to check the version number forpublic RemotableQuickFinder.Builder createQuickFinder(Class<?> containingClass, String attributeName)
LegacyDataAppAdapter
createQuickFinder
in interface LegacyDataAppAdapter
containingClass
- the class on which to locate the attributeattributeName
- the name of the attribute for which to build the quickfinder on the specified containing classpublic boolean isReferenceUpdatable(Class<?> type, String referenceName)
isReferenceUpdatable
in interface LegacyDataAppAdapter
public Map<String,Class> listReferenceObjectFields(Class<?> type)
LegacyDataAppAdapter
listReferenceObjectFields
in interface LegacyDataAppAdapter
type
- Class that would like to be analyzed for reference namespublic boolean isCollectionUpdatable(Class<?> type, String collectionName)
isCollectionUpdatable
in interface LegacyDataAppAdapter
public Map<String,Class> listCollectionObjectTypes(Class<?> type)
listCollectionObjectTypes
in interface LegacyDataAppAdapter
public Object getReferenceIfExists(Object bo, String referenceName)
LegacyDataAppAdapter
getReferenceIfExists
in interface LegacyDataAppAdapter
bo
- - populated BusinessObject instance that includes the referenceName propertyreferenceName
- - name of the member/property to loadpublic boolean allForeignKeyValuesPopulatedForReference(Object bo, String referenceName)
LegacyDataAppAdapter
allForeignKeyValuesPopulatedForReference
in interface LegacyDataAppAdapter
public RelationshipDefinition getDictionaryRelationship(Class<?> c, String attributeName)
getDictionaryRelationship
in interface LegacyDataAdapter
public String getTitleAttribute(Class<?> dataObjectClass)
LegacyDataAppAdapter
getTitleAttribute
in interface LegacyDataAppAdapter
public boolean areNotesSupported(Class<?> dataObjectClass)
areNotesSupported
in interface LegacyDataAppAdapter
public String getDataObjectIdentifierString(Object dataObject)
LegacyDataAppAdapter
getDataObjectIdentifierString
in interface LegacyDataAppAdapter
dataObject
- data objectpublic Class<?> getInquiryObjectClassIfNotTitle(Object dataObject, String propertyName)
LegacyDataAppAdapter
getInquiryObjectClassIfNotTitle
in interface LegacyDataAppAdapter
public Map<String,String> getInquiryParameters(Object dataObject, List<String> keys, String propertyName)
LegacyDataAppAdapter
getInquiryParameters
in interface LegacyDataAppAdapter
public boolean hasLocalLookup(Class<?> dataObjectClass)
LegacyDataAppAdapter
hasLocalLookup
in interface LegacyDataAppAdapter
dataObjectClass
- data object class to find lookup forpublic boolean hasLocalInquiry(Class<?> dataObjectClass)
LegacyDataAppAdapter
hasLocalInquiry
in interface LegacyDataAppAdapter
dataObjectClass
- data object class to find inquiry forpublic DataObjectRelationship getDataObjectRelationship(Object dataObject, Class<?> dataObjectClass, String attributeName, String attributePrefix, boolean keysOnly, boolean supportsLookup, boolean supportsInquiry)
LegacyDataAppAdapter
First the data dictionary is queried to find any relationship definitions
setup that include the attribute, if found the
BusinessObjectRetationship
is build from that. If not and
the data object class is persistent, relationships are retrieved from the
persistence service. Nested attributes are handled in addition to
external business objects. If multiple relationships are found, the one
that contains the least amount of joining keys is returned
getDataObjectRelationship
in interface LegacyDataAppAdapter
dataObject
- - data object instance that contains the attributedataObjectClass
- - class for the data object that contains the attributeattributeName
- - property name for the attributeattributePrefix
- - property prefix for the attributekeysOnly
- - indicates whether only primary key fields should be returned
in the relationshipsupportsLookup
- - indicates whether the relationship should support lookupsupportsInquiry
- - indicates whether the relationship should support inquirypublic boolean isPersistable(Class<?> dataObjectClass)
LegacyDataAppAdapter
isPersistable
in interface LegacyDataAppAdapter
dataObjectClass
- - data object instance that contains the attributepublic ForeignKeyFieldsPopulationState getForeignKeyFieldsPopulationState(Object dataObject, String referenceName)
LegacyDataAppAdapter
getForeignKeyFieldsPopulationState
in interface LegacyDataAppAdapter
dataObject
- - A populated BusinessObject descendent. Must contain an attributed named referenceName.referenceName
- - The name of the field that is a reference we are analyzing.public Map<String,String> getForeignKeysForReference(Class<?> clazz, String attributeName)
LegacyDataAppAdapter
getForeignKeysForReference
in interface LegacyDataAppAdapter
clazz
- - Class that contains the named referenceattributeName
- - Name of the member that is the reference you want foreign keys forpublic boolean hasPrimaryKeyFieldValues(Object dataObject)
hasPrimaryKeyFieldValues
in interface LegacyDataAppAdapter
public void setObjectPropertyDeep(Object bo, String propertyName, Class type, Object propertyValue) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
LegacyDataAppAdapter
setObjectPropertyDeep
in interface LegacyDataAppAdapter
IllegalAccessException
InvocationTargetException
NoSuchMethodException
public Class materializeClassForProxiedObject(Object object)
LegacyDataAppAdapter
materializeClassForProxiedObject
in interface LegacyDataAppAdapter
object
- the potentially proxied object to find the Class ofpublic Object getNestedValue(Object bo, String fieldName)
LegacyDataAppAdapter
getNestedValue
in interface LegacyDataAppAdapter
public Object createNewObjectFromClass(Class clazz)
LegacyDataAppAdapter
ExternalizableBusinessObject
, this method will determine the interface for the EBO and
query the
appropriate module service to create a new instance.createNewObjectFromClass
in interface LegacyDataAppAdapter
public boolean isNull(Object object)
LegacyDataAppAdapter
isNull
in interface LegacyDataAppAdapter
object
- - any object, proxied or not, materialized or notpublic void setObjectProperty(Object bo, String propertyName, Class propertyType, Object propertyValue) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
LegacyDataAppAdapter
setObjectProperty
in interface LegacyDataAppAdapter
IllegalAccessException
InvocationTargetException
NoSuchMethodException
public <T extends Document> T findByDocumentHeaderId(Class<T> documentClass, String id)
LegacyDataAdapter
findByDocumentHeaderId
in interface LegacyDataAdapter
public <T extends Document> List<T> findByDocumentHeaderIds(Class<T> documentClass, List<String> ids)
LegacyDataAdapter
findByDocumentHeaderIds
in interface LegacyDataAdapter
protected LegacyDataAdapter selectAdapter(Object dataObject)
public LegacyDataAdapter getKradLegacyDataAdapter()
public void setKradLegacyDataAdapter(LegacyDataAdapter kradLegacyDataAdapter)
public LegacyDataAdapter getKnsLegacyDataAdapter()
public void setKnsLegacyDataAdapter(LegacyDataAdapter knsLegacyDataAdapter)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.