@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.
|
boolean |
allPrimaryKeyValuesPresentAndNotWildcard(Class<?> boClass,
Map<String,String> formProps)
Deprecated.
|
boolean |
areNotesSupported(Class<?> dataObjectClass)
Deprecated.
|
Object |
createNewObjectFromClass(Class clazz)
Deprecated.
|
org.kuali.rice.core.api.uif.RemotableQuickFinder.Builder |
createQuickFinder(Class<?> containingClass,
String attributeName)
Deprecated.
|
void |
delete(Object dataObject)
Deprecated.
|
void |
deleteMatching(Class<?> type,
Map<String,?> fieldValues)
Deprecated.
|
Class<?> |
determineCollectionObjectType(Class<?> containingType,
String collectionPropertyName)
Deprecated.
|
boolean |
equalsByPrimaryKeys(Object do1,
Object do2)
Deprecated.
|
<T> Collection<T> |
findAll(Class<T> clazz)
Deprecated.
|
<T extends Document> |
findByDocumentHeaderId(Class<T> documentClass,
String id)
Deprecated.
|
<T extends Document> |
findByDocumentHeaderIds(Class<T> documentClass,
List<String> ids)
Deprecated.
|
<T> T |
findByPrimaryKey(Class<T> clazz,
Map<String,?> primaryKeys)
Deprecated.
|
<T> T |
findBySinglePrimaryKey(Class<T> clazz,
Object primaryKey)
Deprecated.
|
<T> Collection<T> |
findCollectionBySearchHelper(Class<T> dataObjectClass,
Map<String,String> formProperties,
boolean unbounded,
boolean allPrimaryKeyValuesPresentAndNotWildcard,
Integer searchResultsLimit)
Deprecated.
|
<T> Collection<T> |
findCollectionBySearchHelper(Class<T> dataObjectClass,
Map<String,String> formProperties,
List<String> wildcardAsLiteralPropertyNames,
boolean unbounded,
boolean allPrimaryKeyValuesPresentAndNotWildcard,
Integer searchResultsLimit)
Deprecated.
|
<T> Collection<T> |
findMatching(Class<T> clazz,
Map<String,?> fieldValues)
Deprecated.
|
<T> Collection<T> |
findMatchingOrderBy(Class<T> clazz,
Map<String,?> fieldValues,
String sortField,
boolean sortAscending)
Deprecated.
|
<T> T |
findObjectBySearch(Class<T> type,
Map<String,String> formProps)
Deprecated.
|
String |
getDataObjectIdentifierString(Object dataObject)
Deprecated.
|
DataObjectRelationship |
getDataObjectRelationship(Object dataObject,
Class<?> dataObjectClass,
String attributeName,
String attributePrefix,
boolean keysOnly,
boolean supportsLookup,
boolean supportsInquiry)
Deprecated.
|
RelationshipDefinition |
getDictionaryRelationship(Class<?> c,
String attributeName)
Deprecated.
|
Object |
getExtension(Class<?> businessObjectClass)
Deprecated.
|
Class<?> |
getExtensionAttributeClass(Class<?> boClass,
String attributePropertyName)
Deprecated.
|
ForeignKeyFieldsPopulationState |
getForeignKeyFieldsPopulationState(Object dataObject,
String referenceName)
Deprecated.
|
Map<String,String> |
getForeignKeysForReference(Class<?> clazz,
String attributeName)
Deprecated.
|
Class<?> |
getInquiryObjectClassIfNotTitle(Object dataObject,
String propertyName)
Deprecated.
|
Map<String,String> |
getInquiryParameters(Object dataObject,
List<String> keys,
String propertyName)
Deprecated.
|
LegacyDataAdapter |
getKnsLegacyDataAdapter()
Deprecated.
|
LegacyDataAdapter |
getKradLegacyDataAdapter()
Deprecated.
|
Object |
getNestedValue(Object bo,
String fieldName)
Deprecated.
|
Map<String,?> |
getPrimaryKeyFieldValues(Object dataObject)
Deprecated.
|
Map<String,?> |
getPrimaryKeyFieldValuesDOMDS(Object dataObject)
Deprecated.
|
Class<?> |
getPropertyType(Object object,
String propertyName)
Deprecated.
|
Object |
getReferenceIfExists(Object bo,
String referenceName)
Deprecated.
|
String |
getTitleAttribute(Class<?> dataObjectClass)
Deprecated.
|
boolean |
hasCollection(Class<?> boClass,
String collectionName)
Deprecated.
|
boolean |
hasLocalInquiry(Class<?> dataObjectClass)
Deprecated.
|
boolean |
hasLocalLookup(Class<?> dataObjectClass)
Deprecated.
|
boolean |
hasPrimaryKeyFieldValues(Object dataObject)
Deprecated.
|
boolean |
hasReference(Class<?> boClass,
String referenceName)
Deprecated.
|
boolean |
isCollectionUpdatable(Class<?> type,
String collectionName)
Deprecated.
|
boolean |
isExtensionAttribute(Class<?> boClass,
String attributePropertyName,
Class<?> propertyType)
Deprecated.
|
boolean |
isLockable(Object object)
Deprecated.
|
boolean |
isNull(Object object)
Deprecated.
|
boolean |
isPersistable(Class<?> dataObjectClass)
Deprecated.
|
boolean |
isProxied(Object object)
Deprecated.
|
boolean |
isReferenceUpdatable(Class<?> type,
String referenceName)
Deprecated.
|
<T> T |
linkAndSave(T dataObject)
Deprecated.
|
Map<String,Class> |
listCollectionObjectTypes(Class<?> type)
Deprecated.
|
List<String> |
listPrimaryKeyFieldNames(Class<?> type)
Deprecated.
|
Map<String,Class> |
listReferenceObjectFields(Class<?> type)
Deprecated.
|
void |
materializeAllSubObjects(Object object)
Deprecated.
|
Class |
materializeClassForProxiedObject(Object object)
Deprecated.
|
void |
refreshAllNonUpdatingReferences(Object persistableObject)
Deprecated.
|
void |
refreshReferenceObject(Object businessObject,
String referenceObjectName)
Deprecated.
|
Object |
resolveProxy(Object object)
Deprecated.
|
<T> T |
retrieve(T dataObject)
Deprecated.
|
void |
retrieveNonKeyFields(Object persistableObject)
Deprecated.
|
void |
retrieveReferenceObject(Object persistableObject,
String referenceObjectName)
Deprecated.
|
<T> T |
save(T dataObject)
Deprecated.
|
<T> T |
saveDocument(T document)
Deprecated.
|
protected LegacyDataAdapter |
selectAdapter(Object dataObject)
Deprecated.
|
protected LegacyDataAdapter |
selectContextualAdapter()
Deprecated.
This is used to select the adapter when we only care whether the application is operating within the legacy
context (KNS) or not.
|
void |
setKnsLegacyDataAdapter(LegacyDataAdapter knsLegacyDataAdapter)
Deprecated.
|
void |
setKradLegacyDataAdapter(LegacyDataAdapter kradLegacyDataAdapter)
Deprecated.
|
void |
setObjectProperty(Object bo,
String propertyName,
Class propertyType,
Object propertyValue)
Deprecated.
|
void |
setObjectPropertyDeep(Object bo,
String propertyName,
Class type,
Object propertyValue)
Deprecated.
|
void |
verifyVersionNumber(Object dataObject)
Deprecated.
|
public LegacyDataAdapterImpl()
public <T> T save(T dataObject)
save in interface LegacyDataAppAdapterpublic <T> T linkAndSave(T dataObject)
linkAndSave in interface LegacyDataAppAdapterpublic <T> T saveDocument(T document)
saveDocument in interface LegacyDataAppAdapterpublic <T> T findByPrimaryKey(Class<T> clazz, Map<String,?> primaryKeys)
findByPrimaryKey in interface LegacyDataAppAdapterpublic <T> T findBySinglePrimaryKey(Class<T> clazz, Object primaryKey)
findBySinglePrimaryKey in interface LegacyDataAppAdapterpublic void delete(Object dataObject)
delete in interface LegacyDataAppAdapterpublic void deleteMatching(Class<?> type, Map<String,?> fieldValues)
deleteMatching in interface LegacyDataAppAdapterpublic <T> T retrieve(T dataObject)
retrieve in interface LegacyDataAppAdapterpublic <T> Collection<T> findAll(Class<T> clazz)
findAll in interface LegacyDataAppAdapterpublic <T> Collection<T> findMatching(Class<T> clazz, Map<String,?> fieldValues)
findMatching in interface LegacyDataAppAdapterpublic <T> Collection<T> findMatchingOrderBy(Class<T> clazz, Map<String,?> fieldValues, String sortField, boolean sortAscending)
findMatchingOrderBy in interface LegacyDataAppAdapterpublic Map<String,?> getPrimaryKeyFieldValues(Object dataObject)
getPrimaryKeyFieldValues in interface LegacyDataAppAdapterpublic void retrieveNonKeyFields(Object persistableObject)
retrieveNonKeyFields in interface LegacyDataAppAdapterpublic void retrieveReferenceObject(Object persistableObject, String referenceObjectName)
retrieveReferenceObject in interface LegacyDataAppAdapterpublic void refreshAllNonUpdatingReferences(Object persistableObject)
refreshAllNonUpdatingReferences in interface LegacyDataAppAdapterpublic boolean isProxied(Object object)
isProxied in interface LegacyDataAppAdapterpublic Object resolveProxy(Object object)
resolveProxy in interface LegacyDataAppAdapterpublic <T> Collection<T> findCollectionBySearchHelper(Class<T> dataObjectClass, Map<String,String> formProperties, boolean unbounded, boolean allPrimaryKeyValuesPresentAndNotWildcard, Integer searchResultsLimit)
findCollectionBySearchHelper in interface LegacyDataAppAdapterpublic <T> Collection<T> findCollectionBySearchHelper(Class<T> dataObjectClass, Map<String,String> formProperties, List<String> wildcardAsLiteralPropertyNames, boolean unbounded, boolean allPrimaryKeyValuesPresentAndNotWildcard, Integer searchResultsLimit)
findCollectionBySearchHelper in interface LegacyDataAppAdapterpublic <T> T findObjectBySearch(Class<T> type, Map<String,String> formProps)
findObjectBySearch in interface LegacyDataAppAdapterpublic boolean allPrimaryKeyValuesPresentAndNotWildcard(Class<?> boClass, Map<String,String> formProps)
allPrimaryKeyValuesPresentAndNotWildcard in interface LegacyDataAppAdapterpublic List<String> listPrimaryKeyFieldNames(Class<?> type)
listPrimaryKeyFieldNames in interface LegacyDataAppAdapterpublic Class<?> determineCollectionObjectType(Class<?> containingType, String collectionPropertyName)
determineCollectionObjectType in interface LegacyDataAppAdapterpublic boolean hasReference(Class<?> boClass, String referenceName)
hasReference in interface LegacyDataAppAdapterpublic boolean hasCollection(Class<?> boClass, String collectionName)
hasCollection in interface LegacyDataAppAdapterpublic boolean isExtensionAttribute(Class<?> boClass, String attributePropertyName, Class<?> propertyType)
isExtensionAttribute in interface LegacyDataAppAdapterpublic Class<?> getExtensionAttributeClass(Class<?> boClass, String attributePropertyName)
getExtensionAttributeClass in interface LegacyDataAppAdapterpublic Map<String,?> getPrimaryKeyFieldValuesDOMDS(Object dataObject)
getPrimaryKeyFieldValuesDOMDS in interface LegacyDataAppAdapterpublic boolean equalsByPrimaryKeys(Object do1, Object do2)
equalsByPrimaryKeys in interface LegacyDataAppAdapterpublic void materializeAllSubObjects(Object object)
materializeAllSubObjects in interface LegacyDataAppAdapterpublic Class<?> getPropertyType(Object object, String propertyName)
getPropertyType in interface LegacyDataAppAdapterpublic Object getExtension(Class<?> businessObjectClass) throws InstantiationException, IllegalAccessException
getExtension in interface LegacyDataAppAdapterInstantiationExceptionIllegalAccessExceptionpublic void refreshReferenceObject(Object businessObject, String referenceObjectName)
refreshReferenceObject in interface LegacyDataAppAdapterpublic boolean isLockable(Object object)
isLockable in interface LegacyDataAppAdapterpublic void verifyVersionNumber(Object dataObject)
verifyVersionNumber in interface LegacyDataAppAdapterpublic org.kuali.rice.core.api.uif.RemotableQuickFinder.Builder createQuickFinder(Class<?> containingClass, String attributeName)
createQuickFinder in interface LegacyDataAppAdapterpublic boolean isReferenceUpdatable(Class<?> type, String referenceName)
isReferenceUpdatable in interface LegacyDataAppAdapterpublic Map<String,Class> listReferenceObjectFields(Class<?> type)
listReferenceObjectFields in interface LegacyDataAppAdapterpublic boolean isCollectionUpdatable(Class<?> type, String collectionName)
isCollectionUpdatable in interface LegacyDataAppAdapterpublic Map<String,Class> listCollectionObjectTypes(Class<?> type)
listCollectionObjectTypes in interface LegacyDataAppAdapterpublic Object getReferenceIfExists(Object bo, String referenceName)
getReferenceIfExists in interface LegacyDataAppAdapterpublic boolean allForeignKeyValuesPopulatedForReference(Object bo, String referenceName)
allForeignKeyValuesPopulatedForReference in interface LegacyDataAppAdapterpublic RelationshipDefinition getDictionaryRelationship(Class<?> c, String attributeName)
getDictionaryRelationship in interface LegacyDataAdapterpublic String getTitleAttribute(Class<?> dataObjectClass)
getTitleAttribute in interface LegacyDataAppAdapterpublic boolean areNotesSupported(Class<?> dataObjectClass)
areNotesSupported in interface LegacyDataAppAdapterpublic String getDataObjectIdentifierString(Object dataObject)
getDataObjectIdentifierString in interface LegacyDataAppAdapterpublic Class<?> getInquiryObjectClassIfNotTitle(Object dataObject, String propertyName)
getInquiryObjectClassIfNotTitle in interface LegacyDataAppAdapterpublic Map<String,String> getInquiryParameters(Object dataObject, List<String> keys, String propertyName)
getInquiryParameters in interface LegacyDataAppAdapterpublic boolean hasLocalLookup(Class<?> dataObjectClass)
hasLocalLookup in interface LegacyDataAppAdapterpublic boolean hasLocalInquiry(Class<?> dataObjectClass)
hasLocalInquiry in interface LegacyDataAppAdapterpublic DataObjectRelationship getDataObjectRelationship(Object dataObject, Class<?> dataObjectClass, String attributeName, String attributePrefix, boolean keysOnly, boolean supportsLookup, boolean supportsInquiry)
getDataObjectRelationship in interface LegacyDataAppAdapterpublic boolean isPersistable(Class<?> dataObjectClass)
isPersistable in interface LegacyDataAppAdapterpublic ForeignKeyFieldsPopulationState getForeignKeyFieldsPopulationState(Object dataObject, String referenceName)
getForeignKeyFieldsPopulationState in interface LegacyDataAppAdapterpublic Map<String,String> getForeignKeysForReference(Class<?> clazz, String attributeName)
getForeignKeysForReference in interface LegacyDataAppAdapterpublic boolean hasPrimaryKeyFieldValues(Object dataObject)
hasPrimaryKeyFieldValues in interface LegacyDataAppAdapterpublic void setObjectPropertyDeep(Object bo, String propertyName, Class type, Object propertyValue) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
setObjectPropertyDeep in interface LegacyDataAppAdapterIllegalAccessExceptionInvocationTargetExceptionNoSuchMethodExceptionpublic Class materializeClassForProxiedObject(Object object)
materializeClassForProxiedObject in interface LegacyDataAppAdapterpublic Object getNestedValue(Object bo, String fieldName)
getNestedValue in interface LegacyDataAppAdapterpublic Object createNewObjectFromClass(Class clazz)
createNewObjectFromClass in interface LegacyDataAppAdapterpublic boolean isNull(Object object)
isNull in interface LegacyDataAppAdapterpublic void setObjectProperty(Object bo, String propertyName, Class propertyType, Object propertyValue) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
setObjectProperty in interface LegacyDataAppAdapterIllegalAccessExceptionInvocationTargetExceptionNoSuchMethodExceptionpublic <T extends Document> T findByDocumentHeaderId(Class<T> documentClass, String id)
findByDocumentHeaderId in interface LegacyDataAdapterpublic <T extends Document> List<T> findByDocumentHeaderIds(Class<T> documentClass, List<String> ids)
findByDocumentHeaderIds in interface LegacyDataAdapterprotected LegacyDataAdapter selectAdapter(Object dataObject)
protected LegacyDataAdapter selectContextualAdapter()
public LegacyDataAdapter getKradLegacyDataAdapter()
public void setKradLegacyDataAdapter(LegacyDataAdapter kradLegacyDataAdapter)
public LegacyDataAdapter getKnsLegacyDataAdapter()
public void setKnsLegacyDataAdapter(LegacyDataAdapter knsLegacyDataAdapter)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.