Package org.kuali.rice.krad.service.impl
Class KRADLegacyDataAdapterImpl
java.lang.Object
org.kuali.rice.krad.service.impl.KRADLegacyDataAdapterImpl
- All Implemented Interfaces:
org.kuali.rice.krad.service.LegacyDataAdapter,org.kuali.rice.krad.service.LegacyDataAppAdapter
public class KRADLegacyDataAdapterImpl
extends Object
implements org.kuali.rice.krad.service.LegacyDataAdapter
-
Field Summary
Fields inherited from interface org.kuali.rice.krad.service.LegacyDataAdapter
CLASS_NOT_PERSISTABLE_OJB_EXCEPTION_CLASS, OPTIMISTIC_LOCK_OJB_EXCEPTION_CLASS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallForeignKeyValuesPopulatedForReference(Object bo, String referenceName) booleanallPrimaryKeyValuesPresentAndNotWildcard(Class<?> boClass, Map<String, String> formProps) Returns whether all primary key values are specified in the lookup map and do not contain any wildcardsbooleanareNotesSupported(Class<?> dataObjectClass) protected booleanclassHasSupportedFeatures(Class<?> relationshipClass, boolean supportsLookup, boolean supportsInquiry) <T> TcreateNewObjectFromClass(Class<T> clazz) org.kuali.rice.core.api.uif.RemotableQuickFinder.BuildercreateQuickFinder(Class<?> containingClass, String attributeName) protected org.kuali.rice.core.api.uif.RemotableQuickFinder.BuildercreateQuickFinderNew(Class<?> containingClass, String attributeName) New implementation of createQuickFinder which uses the new dataObjectService.getMetadataRepository().void<T> voiddeleteMatching(Class<T> type, Map<String, ?> fieldValues) Class<?> determineCollectionObjectType(Class<?> containingType, String collectionPropertyName) booleanequalsByPrimaryKeys(Object do1, Object do2) protected <T> Collection<T> filterCurrentDataObjects(Class<T> dataObjectClass, Collection<T> unfiltered, Map<String, String> formProps) <T> List<T> <T> org.kuali.rice.krad.util.QueryPagingResults<T> <T extends org.kuali.rice.krad.document.Document>
TfindByDocumentHeaderId(Class<T> documentClass, String id) <T extends org.kuali.rice.krad.document.Document>
List<T> findByDocumentHeaderIds(Class<T> documentClass, List<String> ids) <T> TfindByPrimaryKey(Class<T> clazz, Map<String, ?> primaryKeys) <T> TfindBySinglePrimaryKey(Class<T> clazz, Object primaryKey) <T> Collection<T> findCollectionBySearchHelper(Class<T> dataObjectClass, Map<String, String> formProperties, boolean unbounded, boolean allPrimaryKeyValuesPresentAndNotWildcard, Integer searchResultsLimit) <T> Collection<T> findCollectionBySearchHelper(Class<T> dataObjectClass, Map<String, String> formProperties, List<String> wildcardAsLiteralPropertyNames, boolean unbounded, boolean allPrimaryKeyValuesPresentAndNotWildcard, Integer searchResultsLimit) <T> List<T> findMatching(Class<T> clazz, Map<String, ?> fieldValues) <T> org.kuali.rice.krad.util.QueryPagingResults<T> findMatching(Class<T> clazz, Map<String, ?> fieldValues, org.kuali.rice.krad.util.QueryPagingRequest pagingRequest) <T> List<T> findMatchingOrderBy(Class<T> clazz, Map<String, ?> fieldValues, String sortField, boolean sortAscending) <T> org.kuali.rice.krad.util.QueryPagingResults<T> findMatchingOrderBy(Class<T> clazz, Map<String, ?> fieldValues, String sortField, boolean sortAscending, org.kuali.rice.krad.util.QueryPagingRequest pagingRequest) protected List<org.kuali.rice.krad.data.metadata.DataObjectRelationship> findNonUpdateableRelationships(Object persistableObject) <T> TfindObjectBySearch(Class<T> type, Map<String, String> formProps) voidorg.kuali.rice.krad.service.DataDictionaryServiceprotected org.kuali.rice.krad.datadictionary.DataObjectEntrygetDataObjectEntry(Class<?> dataObjectClass) getDataObjectIdentifierString(Object dataObject) org.kuali.rice.krad.bo.DataObjectRelationshipgetDataObjectRelationship(Object dataObject, Class<?> dataObjectClass, String attributeName, String attributePrefix, boolean keysOnly, boolean supportsLookup, boolean supportsInquiry) org.kuali.rice.krad.data.DataObjectServiceorg.kuali.rice.krad.datadictionary.RelationshipDefinitiongetDictionaryRelationship(Class<?> c, String attributeName) gets the relationship that the attribute represents on the classorg.kuali.rice.krad.service.DocumentAdHocServicegetExtension(Class<?> businessObjectClass) Class<?> getExtensionAttributeClass(Class<?> boClass, String attributePropertyName) org.kuali.rice.krad.util.ForeignKeyFieldsPopulationStategetForeignKeyFieldsPopulationState(Object dataObject, String referenceName) getForeignKeysForReference(Class<?> clazz, String attributeName) org.kuali.rice.krad.service.InactivateableFromToServiceClass<?> getInquiryObjectClassIfNotTitle(Object dataObject, String propertyName) getInquiryParameters(Object dataObject, List<String> keys, String propertyName) org.kuali.rice.core.api.config.property.ConfigurationServiceorg.kuali.rice.krad.service.KualiModuleServiceorg.kuali.rice.krad.service.impl.LookupCriteriaGeneratorgetNestedValue(Object bo, String fieldName) getPrimaryKeyFieldValues(Object dataObject) getPrimaryKeyFieldValues(Object dataObject, boolean sortFieldNames) Grabs primary key fields and sorts them if sort field names is truegetPrimaryKeyFieldValuesDOMDS(Object dataObject) Class<?> getPropertyType(Object object, String propertyName) Recursively calls getPropertyTypeChild if nested property to allow it to properly look it upgetReferenceIfExists(Object bo, String referenceName) protected org.kuali.rice.krad.bo.DataObjectRelationshipgetRelationshipMetadata(Class<?> dataObjectClass, String attributeName, String attributePrefix) getTitleAttribute(Class<?> dataObjectClass) org.kuali.rice.krad.uif.service.ViewDictionaryServicebooleanhasCollection(Class<?> boClass, String collectionName) booleanhasLocalInquiry(Class<?> dataObjectClass) booleanhasLocalLookup(Class<?> dataObjectClass) booleanhasPrimaryKeyFieldValues(Object dataObject) booleanhasReference(Class<?> boClass, String referenceName) booleanisCollectionUpdatable(Class<?> type, String collectionName) booleanisExtensionAttribute(Class<?> boClass, String attributePropertyName, Class<?> propertyType) booleanisLockable(Object object) booleanbooleanisPersistable(Class<?> dataObjectClass) booleanbooleanisReferenceUpdatable(Class<?> type, String referenceName) <T> TlinkAndSave(T dataObject) listCollectionObjectTypes(Class<?> type) listPrimaryKeyFieldNames(Class<?> type) LookupServiceImpl calls BusinessObjectMetaDataService to listPrimaryKeyFieldNames.listReferenceObjectFields(Class<?> type) protected BooleanlookupCriteriaCurrentSpecifier(Map<String, String> formProps) voidmaterializeAllSubObjects(Object object) <T> Class<T> materializeClassForProxiedObject(T object) protected <T> Collection<T> performDataObjectServiceLookup(Class<T> dataObjectClass, Map<String, String> formProperties, boolean unbounded, boolean allPrimaryKeyValuesPresentAndNotWildcard, Integer searchResultsLimit) Our new DataObjectService-based lookup implementationprotected <T> Collection<T> performDataObjectServiceLookup(Class<T> dataObjectClass, Map<String, String> formProperties, List<String> wildcardAsLiteralPropertyNames, boolean unbounded, boolean allPrimaryKeyValuesPresentAndNotWildcard, Integer searchResultsLimit) Our newer DataObjectService-based lookup implementationprotected org.kuali.rice.krad.bo.DataObjectRelationshippopulateRelationshipFromDictionaryReference(Class<?> dataObjectClass, org.kuali.rice.krad.datadictionary.RelationshipDefinition ddReference, String attributePrefix, boolean keysOnly) voidrefreshAllNonUpdatingReferences(Object persistableObject) voidrefreshReferenceObject(Object businessObject, String referenceObjectName) <T> Tretrieve(T dataObject) voidretrieveNonKeyFields(Object persistableObject) voidretrieveReferenceObject(Object persistableObject, String referenceObjectName) <T> Tsave(T dataObject) <T> TsaveDocument(T document) voidsetDataDictionaryService(org.kuali.rice.krad.service.DataDictionaryService dataDictionaryService) voidsetDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService) voidsetDocumentAdHocService(org.kuali.rice.krad.service.DocumentAdHocService documentAdHocService) voidsetInactivateableFromToService(org.kuali.rice.krad.service.InactivateableFromToService inactivateableFromToService) voidsetKualiConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService kualiConfigurationService) voidsetKualiModuleService(org.kuali.rice.krad.service.KualiModuleService kualiModuleService) voidsetLookupCriteriaGenerator(org.kuali.rice.krad.service.impl.LookupCriteriaGenerator lookupCriteriaGenerator) <T> voidsetObjectProperty(Object bo, String propertyName, Class<T> propertyType, T propertyValue) <T> voidsetObjectPropertyDeep(Object bo, String propertyName, Class<T> type, T propertyValue) voidsetViewDictionaryService(org.kuali.rice.krad.uif.service.ViewDictionaryService viewDictionaryService) protected org.kuali.rice.krad.bo.DataObjectRelationshiptransformToDeprecatedDataObjectRelationship(Class<?> dataObjectClass, String attributeName, String attributePrefix, Class<?> relatedObjectClass, org.kuali.rice.krad.data.metadata.DataObjectAttributeRelationship relationship) voidverifyVersionNumber(Object dataObject)
-
Constructor Details
-
KRADLegacyDataAdapterImpl
public KRADLegacyDataAdapterImpl()
-
-
Method Details
-
save
public <T> T save(T dataObject) - Specified by:
savein interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
flush
- Specified by:
flushin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
linkAndSave
public <T> T linkAndSave(T dataObject) - Specified by:
linkAndSavein interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
saveDocument
public <T> T saveDocument(T document) - Specified by:
saveDocumentin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
findByPrimaryKey
- Specified by:
findByPrimaryKeyin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
findBySinglePrimaryKey
- Specified by:
findBySinglePrimaryKeyin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
delete
- Specified by:
deletein interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
deleteMatching
- Specified by:
deleteMatchingin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
retrieve
public <T> T retrieve(T dataObject) - Specified by:
retrievein interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
findAll
- Specified by:
findAllin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
findAll
public <T> org.kuali.rice.krad.util.QueryPagingResults<T> findAll(Class<T> clazz, org.kuali.rice.krad.util.QueryPagingRequest pagingRequest) - Specified by:
findAllin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
findMatching
- Specified by:
findMatchingin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
findMatching
public <T> org.kuali.rice.krad.util.QueryPagingResults<T> findMatching(Class<T> clazz, Map<String, ?> fieldValues, org.kuali.rice.krad.util.QueryPagingRequest pagingRequest) - Specified by:
findMatchingin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
findMatchingOrderBy
public <T> List<T> findMatchingOrderBy(Class<T> clazz, Map<String, ?> fieldValues, String sortField, boolean sortAscending) - Specified by:
findMatchingOrderByin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
findMatchingOrderBy
public <T> org.kuali.rice.krad.util.QueryPagingResults<T> findMatchingOrderBy(Class<T> clazz, Map<String, ?> fieldValues, String sortField, boolean sortAscending, org.kuali.rice.krad.util.QueryPagingRequest pagingRequest) - Specified by:
findMatchingOrderByin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
getPrimaryKeyFieldValues
- Specified by:
getPrimaryKeyFieldValuesin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
retrieveNonKeyFields
- Specified by:
retrieveNonKeyFieldsin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
retrieveReferenceObject
- Specified by:
retrieveReferenceObjectin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
refreshAllNonUpdatingReferences
- Specified by:
refreshAllNonUpdatingReferencesin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
findNonUpdateableRelationships
-
isProxied
- Specified by:
isProxiedin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
resolveProxy
- Specified by:
resolveProxyin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
findCollectionBySearchHelper
public <T> Collection<T> findCollectionBySearchHelper(Class<T> dataObjectClass, Map<String, String> formProperties, boolean unbounded, boolean allPrimaryKeyValuesPresentAndNotWildcard, Integer searchResultsLimit) - Specified by:
findCollectionBySearchHelperin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
findCollectionBySearchHelper
public <T> Collection<T> findCollectionBySearchHelper(Class<T> dataObjectClass, Map<String, String> formProperties, List<String> wildcardAsLiteralPropertyNames, boolean unbounded, boolean allPrimaryKeyValuesPresentAndNotWildcard, Integer searchResultsLimit) - Specified by:
findCollectionBySearchHelperin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
performDataObjectServiceLookup
protected <T> Collection<T> performDataObjectServiceLookup(Class<T> dataObjectClass, Map<String, String> formProperties, boolean unbounded, boolean allPrimaryKeyValuesPresentAndNotWildcard, Integer searchResultsLimit) Our new DataObjectService-based lookup implementation- Type Parameters:
T- the data object type- Parameters:
dataObjectClass- the dataobject classformProperties- the incoming lookup form propertiesunbounded- whether the search is unboundedsearchResultsLimit- the searchResultsLimit; null implies use of default KNS value if set for the class- Returns:
- collection of lookup results
-
performDataObjectServiceLookup
protected <T> Collection<T> performDataObjectServiceLookup(Class<T> dataObjectClass, Map<String, String> formProperties, List<String> wildcardAsLiteralPropertyNames, boolean unbounded, boolean allPrimaryKeyValuesPresentAndNotWildcard, Integer searchResultsLimit) Our newer DataObjectService-based lookup implementation- Type Parameters:
T- the data object type- Parameters:
dataObjectClass- the dataobject classformProperties- the incoming lookup form propertieswildcardAsLiteralPropertyNames- list of the lookup properties with wildcard characters disabledunbounded- whether the search is unboundedsearchResultsLimit- the searchResultsLimit; null implies use of default KNS value if set for the class- Returns:
- collection of lookup results
-
filterCurrentDataObjects
protected <T> Collection<T> filterCurrentDataObjects(Class<T> dataObjectClass, Collection<T> unfiltered, Map<String, String> formProps) -
lookupCriteriaCurrentSpecifier
-
findObjectBySearch
- Specified by:
findObjectBySearchin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
allPrimaryKeyValuesPresentAndNotWildcard
public boolean allPrimaryKeyValuesPresentAndNotWildcard(Class<?> boClass, Map<String, String> formProps) Returns whether all primary key values are specified in the lookup map and do not contain any wildcards- Specified by:
allPrimaryKeyValuesPresentAndNotWildcardin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter- Parameters:
boClass- the bo class to lookupformProps- the incoming form/lookup properties- Returns:
- whether all primary key values are specified in the lookup map and do not contain any wildcards
-
listPrimaryKeyFieldNames
- Specified by:
listPrimaryKeyFieldNamesin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
listPrimaryKeyFieldNamesConsultingAllServices
LookupServiceImpl calls BusinessObjectMetaDataService to listPrimaryKeyFieldNames. The BusinessObjectMetaDataService goes beyond the PersistenceStructureService to consult the associated ModuleService in determining the primary key field names. TODO: Do we need both listPrimaryKeyFieldNames/persistenceStructureService and listPrimaryKeyFieldNamesConsultingAllServices/businesObjectMetaDataService or can the latter superset be used for the former?- Parameters:
type- the data object class- Returns:
- list of primary key field names, consulting persistence structure service, module service and datadictionary
-
determineCollectionObjectType
public Class<?> determineCollectionObjectType(Class<?> containingType, String collectionPropertyName) - Specified by:
determineCollectionObjectTypein interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
hasReference
- Specified by:
hasReferencein interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
hasCollection
- Specified by:
hasCollectionin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
isExtensionAttribute
public boolean isExtensionAttribute(Class<?> boClass, String attributePropertyName, Class<?> propertyType) - Specified by:
isExtensionAttributein interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
getExtensionAttributeClass
- Specified by:
getExtensionAttributeClassin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
getPrimaryKeyFieldValuesDOMDS
- Specified by:
getPrimaryKeyFieldValuesDOMDSin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
equalsByPrimaryKeys
- Specified by:
equalsByPrimaryKeysin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
materializeAllSubObjects
- Specified by:
materializeAllSubObjectsin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
getPropertyType
Recursively calls getPropertyTypeChild if nested property to allow it to properly look it up- Specified by:
getPropertyTypein interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
getExtension
public Object getExtension(Class<?> businessObjectClass) throws InstantiationException, IllegalAccessException - Specified by:
getExtensionin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter- Throws:
InstantiationExceptionIllegalAccessException
-
refreshReferenceObject
- Specified by:
refreshReferenceObjectin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
isLockable
- Specified by:
isLockablein interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
verifyVersionNumber
- Specified by:
verifyVersionNumberin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
createQuickFinder
public org.kuali.rice.core.api.uif.RemotableQuickFinder.Builder createQuickFinder(Class<?> containingClass, String attributeName) - Specified by:
createQuickFinderin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
createQuickFinderNew
protected org.kuali.rice.core.api.uif.RemotableQuickFinder.Builder createQuickFinderNew(Class<?> containingClass, String attributeName) New implementation of createQuickFinder which uses the new dataObjectService.getMetadataRepository(). -
isReferenceUpdatable
- Specified by:
isReferenceUpdatablein interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
listReferenceObjectFields
- Specified by:
listReferenceObjectFieldsin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
isCollectionUpdatable
- Specified by:
isCollectionUpdatablein interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
listCollectionObjectTypes
- Specified by:
listCollectionObjectTypesin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
getReferenceIfExists
- Specified by:
getReferenceIfExistsin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
allForeignKeyValuesPopulatedForReference
- Specified by:
allForeignKeyValuesPopulatedForReferencein interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
getDictionaryRelationship
public org.kuali.rice.krad.datadictionary.RelationshipDefinition getDictionaryRelationship(Class<?> c, String attributeName) gets the relationship that the attribute represents on the class- Specified by:
getDictionaryRelationshipin interfaceorg.kuali.rice.krad.service.LegacyDataAdapter- Parameters:
c- - the class to which the attribute belongsattributeName- - property name for the attribute- Returns:
- a relationship definition for the attribute
-
getTitleAttribute
- Specified by:
getTitleAttributein interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
getDataObjectEntry
protected org.kuali.rice.krad.datadictionary.DataObjectEntry getDataObjectEntry(Class<?> dataObjectClass) - Returns:
- DataObjectEntry for the given dataObjectClass, or null if there is none
- Throws:
IllegalArgumentException- if the given Class is null
-
areNotesSupported
- Specified by:
areNotesSupportedin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
getPrimaryKeyFieldValues
Grabs primary key fields and sorts them if sort field names is true- Returns:
- Map of sorted primary key field values
-
getDataObjectIdentifierString
- Specified by:
getDataObjectIdentifierStringin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
getInquiryObjectClassIfNotTitle
- Specified by:
getInquiryObjectClassIfNotTitlein interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
getInquiryParameters
public Map<String,String> getInquiryParameters(Object dataObject, List<String> keys, String propertyName) - Specified by:
getInquiryParametersin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
hasLocalLookup
- Specified by:
hasLocalLookupin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
hasLocalInquiry
- Specified by:
hasLocalInquiryin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
getDataObjectRelationship
public org.kuali.rice.krad.bo.DataObjectRelationship getDataObjectRelationship(Object dataObject, Class<?> dataObjectClass, String attributeName, String attributePrefix, boolean keysOnly, boolean supportsLookup, boolean supportsInquiry) - Specified by:
getDataObjectRelationshipin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
transformToDeprecatedDataObjectRelationship
-
populateRelationshipFromDictionaryReference
-
isPersistable
- Specified by:
isPersistablein interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
getRelationshipMetadata
-
classHasSupportedFeatures
protected boolean classHasSupportedFeatures(Class<?> relationshipClass, boolean supportsLookup, boolean supportsInquiry) -
getForeignKeyFieldsPopulationState
public org.kuali.rice.krad.util.ForeignKeyFieldsPopulationState getForeignKeyFieldsPopulationState(Object dataObject, String referenceName) - Specified by:
getForeignKeyFieldsPopulationStatein interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
getForeignKeysForReference
- Specified by:
getForeignKeysForReferencein interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
setObjectPropertyDeep
public <T> void setObjectPropertyDeep(Object bo, String propertyName, Class<T> type, T propertyValue) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException - Specified by:
setObjectPropertyDeepin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter- Throws:
IllegalAccessExceptionInvocationTargetExceptionNoSuchMethodException
-
hasPrimaryKeyFieldValues
- Specified by:
hasPrimaryKeyFieldValuesin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
materializeClassForProxiedObject
- Specified by:
materializeClassForProxiedObjectin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
getNestedValue
- Specified by:
getNestedValuein interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
createNewObjectFromClass
- Specified by:
createNewObjectFromClassin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
isNull
- Specified by:
isNullin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter
-
setObjectProperty
public <T> void setObjectProperty(Object bo, String propertyName, Class<T> propertyType, T propertyValue) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException - Specified by:
setObjectPropertyin interfaceorg.kuali.rice.krad.service.LegacyDataAppAdapter- Throws:
IllegalAccessExceptionInvocationTargetExceptionNoSuchMethodException
-
findByDocumentHeaderId
public <T extends org.kuali.rice.krad.document.Document> T findByDocumentHeaderId(Class<T> documentClass, String id) - Specified by:
findByDocumentHeaderIdin interfaceorg.kuali.rice.krad.service.LegacyDataAdapter
-
findByDocumentHeaderIds
public <T extends org.kuali.rice.krad.document.Document> List<T> findByDocumentHeaderIds(Class<T> documentClass, List<String> ids) - Specified by:
findByDocumentHeaderIdsin interfaceorg.kuali.rice.krad.service.LegacyDataAdapter
-
setDataObjectService
public void setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService) -
setLookupCriteriaGenerator
public void setLookupCriteriaGenerator(org.kuali.rice.krad.service.impl.LookupCriteriaGenerator lookupCriteriaGenerator) -
setKualiConfigurationService
public void setKualiConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService kualiConfigurationService) -
setKualiModuleService
public void setKualiModuleService(org.kuali.rice.krad.service.KualiModuleService kualiModuleService) -
setDataDictionaryService
public void setDataDictionaryService(org.kuali.rice.krad.service.DataDictionaryService dataDictionaryService) -
getViewDictionaryService
public org.kuali.rice.krad.uif.service.ViewDictionaryService getViewDictionaryService() -
setViewDictionaryService
public void setViewDictionaryService(org.kuali.rice.krad.uif.service.ViewDictionaryService viewDictionaryService) -
getDataObjectService
public org.kuali.rice.krad.data.DataObjectService getDataObjectService() -
getLookupCriteriaGenerator
public org.kuali.rice.krad.service.impl.LookupCriteriaGenerator getLookupCriteriaGenerator() -
getKualiConfigurationService
public org.kuali.rice.core.api.config.property.ConfigurationService getKualiConfigurationService() -
getKualiModuleService
public org.kuali.rice.krad.service.KualiModuleService getKualiModuleService() -
getDataDictionaryService
public org.kuali.rice.krad.service.DataDictionaryService getDataDictionaryService() -
getInactivateableFromToService
public org.kuali.rice.krad.service.InactivateableFromToService getInactivateableFromToService() -
setInactivateableFromToService
public void setInactivateableFromToService(org.kuali.rice.krad.service.InactivateableFromToService inactivateableFromToService) -
getDocumentAdHocService
public org.kuali.rice.krad.service.DocumentAdHocService getDocumentAdHocService() -
setDocumentAdHocService
public void setDocumentAdHocService(org.kuali.rice.krad.service.DocumentAdHocService documentAdHocService)
-