org.kuali.rice.krad.uif.util
Class MockLegacyDataAdapter
java.lang.Object
org.kuali.rice.krad.uif.util.MockLegacyDataAdapter
- All Implemented Interfaces:
- LegacyDataAdapter
public class MockLegacyDataAdapter
- extends Object
- implements LegacyDataAdapter
Mock implementation of LegacyDataAdapter
for supporting UIF unit tests.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Method Summary |
boolean |
allForeignKeyValuesPopulatedForReference(PersistableBusinessObject bo,
String referenceName)
|
boolean |
allPrimaryKeyValuesPresentAndNotWildcard(Class<?> boClass,
Map<String,String> formProps)
|
boolean |
areNotesSupported(Class<?> dataObjectClass)
|
Object |
createNewObjectFromClass(Class clazz)
|
RemotableQuickFinder.Builder |
createQuickFinder(Class<?> containingClass,
String attributeName)
|
void |
delete(Object dataObject)
|
void |
deleteLocks(String documentNumber)
|
void |
deleteMatching(Class<?> clazz,
Map<String,?> fieldValues)
|
Class<?> |
determineCollectionObjectType(Class<?> containingClass,
String collectionPropertyName)
|
boolean |
equalsByPrimaryKeys(Object do1,
Object do2)
|
|
findAll(Class<T> clazz)
|
|
findByDocumentHeaderId(Class<T> documentClass,
String id)
|
|
findByDocumentHeaderIds(Class<T> documentClass,
List<String> ids)
|
|
findByPrimaryKey(Class<T> clazz,
Map<String,?> primaryKeys)
|
|
findBySinglePrimaryKey(Class<T> clazz,
Object primaryKey)
|
|
findCollectionBySearchHelper(Class<T> clazz,
Map<String,String> formProps,
boolean unbounded,
boolean allPrimaryKeyValuesPresentAndNotWildcard,
Integer searchResultsLimit)
|
|
findCollectionBySearchHelper(Class<T> clazz,
Map<String,String> formProps,
List<String> wildcardAsLiteralPropertyNames,
boolean unbounded,
boolean allPrimaryKeyValuesPresentAndNotWildcard,
Integer searchResultsLimit)
|
|
findMatching(Class<T> clazz,
Map<String,?> fieldValues)
|
|
findMatchingOrderBy(Class<T> clazz,
Map<String,?> fieldValues,
String sortField,
boolean sortAscending)
|
|
findObjectBySearch(Class<T> clazz,
Map<String,String> formProps)
|
Attachment |
getAttachmentByNoteId(Long noteId)
|
String |
getDataObjectIdentifierString(Object dataObject)
|
DataObjectRelationship |
getDataObjectRelationship(Object dataObject,
Class<?> dataObjectClass,
String attributeName,
String attributePrefix,
boolean keysOnly,
boolean supportsLookup,
boolean supportsInquiry)
|
RelationshipDefinition |
getDictionaryRelationship(Class<?> c,
String attributeName)
|
PersistableBusinessObjectExtension |
getExtension(Class<? extends PersistableBusinessObject> businessObjectClass)
|
Class<?> |
getExtensionAttributeClass(Class<?> boClass,
String attributePropertyName)
|
ForeignKeyFieldsPopulationState |
getForeignKeyFieldsPopulationState(Object bo,
String referenceName)
|
Map<String,String> |
getForeignKeysForReference(Class<?> clazz,
String attributeName)
|
Class<?> |
getInquiryObjectClassIfNotTitle(Object dataObject,
String propertyName)
|
Map<String,String> |
getInquiryParameters(Object dataObject,
List<String> keys,
String propertyName)
|
String |
getLockingDocumentNumber(String lockingRepresentation,
String documentNumber)
|
Object |
getNestedValue(Object bo,
String fieldName)
|
Map<String,?> |
getPrimaryKeyFieldValues(Object dataObject)
|
Map<String,?> |
getPrimaryKeyFieldValuesDOMDS(Object dataObject)
|
Class<?> |
getPropertyType(Object object,
String propertyName)
|
BusinessObject |
getReferenceIfExists(BusinessObject bo,
String referenceName)
|
String |
getTitleAttribute(Class<?> dataObjectClass)
|
boolean |
hasCollection(Class<?> boClass,
String collectionName)
|
boolean |
hasLocalInquiry(Class<?> dataObjectClass)
|
boolean |
hasLocalLookup(Class<?> dataObjectClass)
|
boolean |
hasPrimaryKeyFieldValues(Object persistableObject)
|
boolean |
hasReference(Class<?> boClass,
String referenceName)
|
boolean |
isCollectionUpdatable(Class<?> boClass,
String collectionName)
|
boolean |
isExtensionAttribute(Class<?> boClass,
String attributePropertyName,
Class<?> propertyType)
|
boolean |
isLockable(Object object)
|
boolean |
isNull(Object object)
|
boolean |
isPersistable(Class<?> dataObjectClass)
|
boolean |
isProxied(Object object)
|
boolean |
isReferenceUpdatable(Class<?> boClass,
String referenceName)
|
|
linkAndSave(T dataObject)
|
Map<String,Class> |
listCollectionObjectTypes(Class<?> boClass)
|
List<String> |
listPrimaryKeyFieldNames(Class<?> clazz)
|
Map<String,Class> |
listReferenceObjectFields(Class<?> boClass)
|
void |
materializeAllSubObjects(Object object)
|
Class<?> |
materializeClassForProxiedObject(Object object)
|
void |
refreshAllNonUpdatingReferences(Object persistableObject)
|
void |
refreshReferenceObject(PersistableBusinessObject businessObject,
String referenceObjectName)
|
Object |
resolveProxy(Object o)
|
|
retrieve(T dataObject)
|
void |
retrieveNonKeyFields(Object persistableObject)
|
void |
retrieveReferenceObject(Object persistableObject,
String referenceObjectName)
|
|
save(T dataObject)
|
|
saveDocument(T document)
|
void |
setObjectProperty(Object bo,
String propertyName,
Class propertyType,
Object propertyValue)
|
void |
setObjectPropertyDeep(Object bo,
String propertyName,
Class<?> type,
Object propertyValue)
|
void |
storeLocks(List<MaintenanceLock> maintenanceLocks)
|
PersistableBusinessObject |
toPersistableBusinessObject(Object object)
|
void |
verifyVersionNumber(Object dataObject)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockLegacyDataAdapter
public MockLegacyDataAdapter()
save
public <T> T save(T dataObject)
- Specified by:
save
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.save(java.lang.Object)
linkAndSave
public <T> T linkAndSave(T dataObject)
- Specified by:
linkAndSave
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.linkAndSave(java.lang.Object)
saveDocument
public <T> T saveDocument(T document)
- Specified by:
saveDocument
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.saveDocument(java.lang.Object)
findBySinglePrimaryKey
public <T> T findBySinglePrimaryKey(Class<T> clazz,
Object primaryKey)
- Specified by:
findBySinglePrimaryKey
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.findBySinglePrimaryKey(java.lang.Class, java.lang.Object)
findByPrimaryKey
public <T> T findByPrimaryKey(Class<T> clazz,
Map<String,?> primaryKeys)
- Specified by:
findByPrimaryKey
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.findByPrimaryKey(java.lang.Class, java.util.Map)
delete
public void delete(Object dataObject)
- Specified by:
delete
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.delete(java.lang.Object)
deleteMatching
public void deleteMatching(Class<?> clazz,
Map<String,?> fieldValues)
- Specified by:
deleteMatching
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.deleteMatching(java.lang.Class, java.util.Map)
retrieve
public <T> T retrieve(T dataObject)
- Specified by:
retrieve
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.retrieve(java.lang.Object)
findAll
public <T> Collection<T> findAll(Class<T> clazz)
- Specified by:
findAll
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.findAll(java.lang.Class)
findMatching
public <T> Collection<T> findMatching(Class<T> clazz,
Map<String,?> fieldValues)
- Specified by:
findMatching
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.findMatching(java.lang.Class, java.util.Map)
findMatchingOrderBy
public <T> Collection<T> findMatchingOrderBy(Class<T> clazz,
Map<String,?> fieldValues,
String sortField,
boolean sortAscending)
- Specified by:
findMatchingOrderBy
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.findMatchingOrderBy(java.lang.Class, java.util.Map, java.lang.String, boolean)
getPrimaryKeyFieldValues
public Map<String,?> getPrimaryKeyFieldValues(Object dataObject)
- Specified by:
getPrimaryKeyFieldValues
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.getPrimaryKeyFieldValues(java.lang.Object)
retrieveNonKeyFields
public void retrieveNonKeyFields(Object persistableObject)
- Specified by:
retrieveNonKeyFields
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.retrieveNonKeyFields(java.lang.Object)
retrieveReferenceObject
public void retrieveReferenceObject(Object persistableObject,
String referenceObjectName)
- Specified by:
retrieveReferenceObject
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.retrieveReferenceObject(java.lang.Object, java.lang.String)
refreshAllNonUpdatingReferences
public void refreshAllNonUpdatingReferences(Object persistableObject)
- Specified by:
refreshAllNonUpdatingReferences
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.refreshAllNonUpdatingReferences(java.lang.Object)
resolveProxy
public Object resolveProxy(Object o)
- Specified by:
resolveProxy
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.resolveProxy(java.lang.Object)
isProxied
public boolean isProxied(Object object)
- Specified by:
isProxied
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.isProxied(java.lang.Object)
findCollectionBySearchHelper
public <T> Collection<T> findCollectionBySearchHelper(Class<T> clazz,
Map<String,String> formProps,
boolean unbounded,
boolean allPrimaryKeyValuesPresentAndNotWildcard,
Integer searchResultsLimit)
- Specified by:
findCollectionBySearchHelper
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.findCollectionBySearchHelper(java.lang.Class, java.util.Map, boolean, boolean, java.lang.Integer)
findCollectionBySearchHelper
public <T> Collection<T> findCollectionBySearchHelper(Class<T> clazz,
Map<String,String> formProps,
List<String> wildcardAsLiteralPropertyNames,
boolean unbounded,
boolean allPrimaryKeyValuesPresentAndNotWildcard,
Integer searchResultsLimit)
- Specified by:
findCollectionBySearchHelper
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.findCollectionBySearchHelper(java.lang.Class, java.util.Map, java.util.List, boolean, boolean, java.lang.Integer)
findObjectBySearch
public <T> T findObjectBySearch(Class<T> clazz,
Map<String,String> formProps)
- Specified by:
findObjectBySearch
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.findObjectBySearch(java.lang.Class, java.util.Map)
allPrimaryKeyValuesPresentAndNotWildcard
public boolean allPrimaryKeyValuesPresentAndNotWildcard(Class<?> boClass,
Map<String,String> formProps)
- Specified by:
allPrimaryKeyValuesPresentAndNotWildcard
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.allPrimaryKeyValuesPresentAndNotWildcard(java.lang.Class, java.util.Map)
getAttachmentByNoteId
public Attachment getAttachmentByNoteId(Long noteId)
- Specified by:
getAttachmentByNoteId
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.getAttachmentByNoteId(java.lang.Long)
getLockingDocumentNumber
public String getLockingDocumentNumber(String lockingRepresentation,
String documentNumber)
- Specified by:
getLockingDocumentNumber
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.getLockingDocumentNumber(java.lang.String, java.lang.String)
deleteLocks
public void deleteLocks(String documentNumber)
- Specified by:
deleteLocks
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.deleteLocks(java.lang.String)
storeLocks
public void storeLocks(List<MaintenanceLock> maintenanceLocks)
- Specified by:
storeLocks
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.storeLocks(java.util.List)
listPrimaryKeyFieldNames
public List<String> listPrimaryKeyFieldNames(Class<?> clazz)
- Specified by:
listPrimaryKeyFieldNames
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.listPrimaryKeyFieldNames(java.lang.Class)
determineCollectionObjectType
public Class<?> determineCollectionObjectType(Class<?> containingClass,
String collectionPropertyName)
- Specified by:
determineCollectionObjectType
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.determineCollectionObjectType(java.lang.Class, java.lang.String)
getForeignKeyFieldsPopulationState
public ForeignKeyFieldsPopulationState getForeignKeyFieldsPopulationState(Object bo,
String referenceName)
- Specified by:
getForeignKeyFieldsPopulationState
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.getForeignKeyFieldsPopulationState(java.lang.Object, java.lang.String)
getForeignKeysForReference
public Map<String,String> getForeignKeysForReference(Class<?> clazz,
String attributeName)
- Specified by:
getForeignKeysForReference
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.getForeignKeysForReference(java.lang.Class, java.lang.String)
hasPrimaryKeyFieldValues
public boolean hasPrimaryKeyFieldValues(Object persistableObject)
- Specified by:
hasPrimaryKeyFieldValues
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.hasPrimaryKeyFieldValues(java.lang.Object)
hasReference
public boolean hasReference(Class<?> boClass,
String referenceName)
- Specified by:
hasReference
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.hasReference(java.lang.Class, java.lang.String)
hasCollection
public boolean hasCollection(Class<?> boClass,
String collectionName)
- Specified by:
hasCollection
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.hasCollection(java.lang.Class, java.lang.String)
isExtensionAttribute
public boolean isExtensionAttribute(Class<?> boClass,
String attributePropertyName,
Class<?> propertyType)
- Specified by:
isExtensionAttribute
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.isExtensionAttribute(java.lang.Class, java.lang.String, java.lang.Class)
getExtensionAttributeClass
public Class<?> getExtensionAttributeClass(Class<?> boClass,
String attributePropertyName)
- Specified by:
getExtensionAttributeClass
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.getExtensionAttributeClass(java.lang.Class, java.lang.String)
getPrimaryKeyFieldValuesDOMDS
public Map<String,?> getPrimaryKeyFieldValuesDOMDS(Object dataObject)
- Specified by:
getPrimaryKeyFieldValuesDOMDS
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.getPrimaryKeyFieldValuesDOMDS(java.lang.Object)
equalsByPrimaryKeys
public boolean equalsByPrimaryKeys(Object do1,
Object do2)
- Specified by:
equalsByPrimaryKeys
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.equalsByPrimaryKeys(java.lang.Object, java.lang.Object)
toPersistableBusinessObject
public PersistableBusinessObject toPersistableBusinessObject(Object object)
- Specified by:
toPersistableBusinessObject
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.toPersistableBusinessObject(java.lang.Object)
materializeAllSubObjects
public void materializeAllSubObjects(Object object)
- Specified by:
materializeAllSubObjects
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.materializeAllSubObjects(java.lang.Object)
getPropertyType
public Class<?> getPropertyType(Object object,
String propertyName)
- Specified by:
getPropertyType
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.getPropertyType(java.lang.Object, java.lang.String)
getExtension
public PersistableBusinessObjectExtension getExtension(Class<? extends PersistableBusinessObject> businessObjectClass)
throws InstantiationException,
IllegalAccessException
- Specified by:
getExtension
in interface LegacyDataAdapter
- Throws:
InstantiationException
IllegalAccessException
- See Also:
LegacyDataAdapter.getExtension(java.lang.Class)
refreshReferenceObject
public void refreshReferenceObject(PersistableBusinessObject businessObject,
String referenceObjectName)
- Specified by:
refreshReferenceObject
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.refreshReferenceObject(org.kuali.rice.krad.bo.PersistableBusinessObject, java.lang.String)
isLockable
public boolean isLockable(Object object)
- Specified by:
isLockable
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.isLockable(java.lang.Object)
verifyVersionNumber
public void verifyVersionNumber(Object dataObject)
- Specified by:
verifyVersionNumber
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.verifyVersionNumber(java.lang.Object)
createQuickFinder
public RemotableQuickFinder.Builder createQuickFinder(Class<?> containingClass,
String attributeName)
- Specified by:
createQuickFinder
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.createQuickFinder(java.lang.Class, java.lang.String)
isReferenceUpdatable
public boolean isReferenceUpdatable(Class<?> boClass,
String referenceName)
- Specified by:
isReferenceUpdatable
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.isReferenceUpdatable(java.lang.Class, java.lang.String)
listReferenceObjectFields
public Map<String,Class> listReferenceObjectFields(Class<?> boClass)
- Specified by:
listReferenceObjectFields
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.listReferenceObjectFields(java.lang.Class)
isCollectionUpdatable
public boolean isCollectionUpdatable(Class<?> boClass,
String collectionName)
- Specified by:
isCollectionUpdatable
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.isCollectionUpdatable(java.lang.Class, java.lang.String)
listCollectionObjectTypes
public Map<String,Class> listCollectionObjectTypes(Class<?> boClass)
- Specified by:
listCollectionObjectTypes
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.listCollectionObjectTypes(java.lang.Class)
getReferenceIfExists
public BusinessObject getReferenceIfExists(BusinessObject bo,
String referenceName)
- Specified by:
getReferenceIfExists
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.getReferenceIfExists(org.kuali.rice.krad.bo.BusinessObject, java.lang.String)
allForeignKeyValuesPopulatedForReference
public boolean allForeignKeyValuesPopulatedForReference(PersistableBusinessObject bo,
String referenceName)
- Specified by:
allForeignKeyValuesPopulatedForReference
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.allForeignKeyValuesPopulatedForReference(org.kuali.rice.krad.bo.PersistableBusinessObject, java.lang.String)
getDictionaryRelationship
public RelationshipDefinition getDictionaryRelationship(Class<?> c,
String attributeName)
- Specified by:
getDictionaryRelationship
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.getDictionaryRelationship(java.lang.Class, java.lang.String)
getTitleAttribute
public String getTitleAttribute(Class<?> dataObjectClass)
- Specified by:
getTitleAttribute
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.getTitleAttribute(java.lang.Class)
areNotesSupported
public boolean areNotesSupported(Class<?> dataObjectClass)
- Specified by:
areNotesSupported
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.areNotesSupported(java.lang.Class)
getDataObjectIdentifierString
public String getDataObjectIdentifierString(Object dataObject)
- Specified by:
getDataObjectIdentifierString
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.getDataObjectIdentifierString(java.lang.Object)
getInquiryObjectClassIfNotTitle
public Class<?> getInquiryObjectClassIfNotTitle(Object dataObject,
String propertyName)
- Specified by:
getInquiryObjectClassIfNotTitle
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.getInquiryObjectClassIfNotTitle(java.lang.Object, java.lang.String)
getInquiryParameters
public Map<String,String> getInquiryParameters(Object dataObject,
List<String> keys,
String propertyName)
- Specified by:
getInquiryParameters
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.getInquiryParameters(java.lang.Object, java.util.List, java.lang.String)
hasLocalLookup
public boolean hasLocalLookup(Class<?> dataObjectClass)
- Specified by:
hasLocalLookup
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.hasLocalLookup(java.lang.Class)
hasLocalInquiry
public boolean hasLocalInquiry(Class<?> dataObjectClass)
- Specified by:
hasLocalInquiry
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.hasLocalInquiry(java.lang.Class)
getDataObjectRelationship
public DataObjectRelationship getDataObjectRelationship(Object dataObject,
Class<?> dataObjectClass,
String attributeName,
String attributePrefix,
boolean keysOnly,
boolean supportsLookup,
boolean supportsInquiry)
- Specified by:
getDataObjectRelationship
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.getDataObjectRelationship(java.lang.Object, java.lang.Class, java.lang.String, java.lang.String, boolean, boolean, boolean)
isPersistable
public boolean isPersistable(Class<?> dataObjectClass)
- Specified by:
isPersistable
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.isPersistable(java.lang.Class)
setObjectPropertyDeep
public void setObjectPropertyDeep(Object bo,
String propertyName,
Class<?> type,
Object propertyValue)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
- Specified by:
setObjectPropertyDeep
in interface LegacyDataAdapter
- Throws:
IllegalAccessException
InvocationTargetException
NoSuchMethodException
- See Also:
LegacyDataAdapter.setObjectPropertyDeep(java.lang.Object, java.lang.String, java.lang.Class, java.lang.Object)
materializeClassForProxiedObject
public Class<?> materializeClassForProxiedObject(Object object)
- Specified by:
materializeClassForProxiedObject
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.materializeClassForProxiedObject(java.lang.Object)
getNestedValue
public Object getNestedValue(Object bo,
String fieldName)
- Specified by:
getNestedValue
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.getNestedValue(java.lang.Object, java.lang.String)
createNewObjectFromClass
public Object createNewObjectFromClass(Class clazz)
- Specified by:
createNewObjectFromClass
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.createNewObjectFromClass(java.lang.Class)
isNull
public boolean isNull(Object object)
- Specified by:
isNull
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.isNull(java.lang.Object)
setObjectProperty
public void setObjectProperty(Object bo,
String propertyName,
Class propertyType,
Object propertyValue)
throws IllegalAccessException,
InvocationTargetException,
NoSuchMethodException
- Specified by:
setObjectProperty
in interface LegacyDataAdapter
- Throws:
IllegalAccessException
InvocationTargetException
NoSuchMethodException
- See Also:
LegacyDataAdapter.setObjectProperty(java.lang.Object, java.lang.String, java.lang.Class, java.lang.Object)
findByDocumentHeaderId
public <T extends Document> T findByDocumentHeaderId(Class<T> documentClass,
String id)
- Specified by:
findByDocumentHeaderId
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.findByDocumentHeaderId(java.lang.Class, java.lang.String)
findByDocumentHeaderIds
public <T extends Document> List<T> findByDocumentHeaderIds(Class<T> documentClass,
List<String> ids)
- Specified by:
findByDocumentHeaderIds
in interface LegacyDataAdapter
- See Also:
LegacyDataAdapter.findByDocumentHeaderIds(java.lang.Class, java.util.List)
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.