public class DataObjectMetaDataServiceImpl extends Object implements DataObjectMetaDataService
| Constructor and Description |
|---|
DataObjectMetaDataServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areNotesSupported(Class<?> dataObjectClass) |
protected boolean |
classHasSupportedFeatures(Class relationshipClass,
boolean supportsLookup,
boolean supportsInquiry) |
boolean |
equalsByPrimaryKeys(Object do1,
Object do2) |
protected BusinessObjectEntry |
getBusinessObjectEntry(Class businessObjectClass) |
protected DataDictionaryService |
getDataDictionaryService()
Protected method to allow subclasses to access the dataDictionaryService.
|
protected DataObjectEntry |
getDataObjectEntry(Class<?> dataObjectClass) |
String |
getDataObjectIdentifierString(Object dataObject) |
DataObjectRelationship |
getDataObjectRelationship(Object dataObject,
Class<?> dataObjectClass,
String attributeName,
String attributePrefix,
boolean keysOnly,
boolean supportsLookup,
boolean supportsInquiry) |
protected DataObjectRelationship |
getDataObjectRelationship(RelationshipDefinition ddReference,
Object dataObject,
Class<?> dataObjectClass,
String attributeName,
String attributePrefix,
boolean keysOnly,
boolean supportsLookup,
boolean supportsInquiry) |
List<DataObjectRelationship> |
getDataObjectRelationships(Class<?> dataObjectClass) |
RelationshipDefinition |
getDictionaryRelationship(Class<?> c,
String attributeName) |
protected KualiModuleService |
getKualiModuleService()
Protected method to allow subclasses to access the kualiModuleService.
|
protected PersistenceStructureService |
getPersistenceStructureService()
Protected method to allow subclasses to access the
persistenceStructureService.
|
Map<String,?> |
getPrimaryKeyFieldValues(Object dataObject) |
Map<String,?> |
getPrimaryKeyFieldValues(Object dataObject,
boolean sortFieldNames) |
protected DataObjectRelationship |
getRelationshipMetadata(Class<?> dataObjectClass,
String attributeName,
String attributePrefix) |
String |
getTitleAttribute(Class<?> dataObjectClass) |
protected ViewDictionaryService |
getViewDictionaryService() |
List<String> |
listPrimaryKeyFieldNames(Class<?> clazz) |
protected DataObjectRelationship |
populateRelationshipFromDictionaryReference(Class<?> dataObjectClass,
RelationshipDefinition ddReference,
String attributePrefix,
boolean keysOnly) |
void |
setDataDictionaryService(DataDictionaryService dataDictionaryService) |
void |
setKualiModuleService(KualiModuleService kualiModuleService) |
void |
setPersistenceStructureService(PersistenceStructureService persistenceStructureService) |
void |
setViewDictionaryService(ViewDictionaryService viewDictionaryService) |
protected void |
validateBusinessObjectClass(Class businessObjectClass) |
public DataObjectMetaDataServiceImpl()
public List<String> listPrimaryKeyFieldNames(Class<?> clazz)
listPrimaryKeyFieldNames in interface DataObjectMetaDataServiceDataObjectMetaDataService.listPrimaryKeyFieldNames(java.lang.Class)public Map<String,?> getPrimaryKeyFieldValues(Object dataObject)
getPrimaryKeyFieldValues in interface DataObjectMetaDataServiceDataObjectMetaDataService.getPrimaryKeyFieldValues(java.lang.Object)public Map<String,?> getPrimaryKeyFieldValues(Object dataObject, boolean sortFieldNames)
getPrimaryKeyFieldValues in interface DataObjectMetaDataServiceDataObjectMetaDataService.getPrimaryKeyFieldValues(java.lang.Object,
boolean)public boolean equalsByPrimaryKeys(Object do1, Object do2)
equalsByPrimaryKeys in interface DataObjectMetaDataServiceDataObjectMetaDataService.equalsByPrimaryKeys(java.lang.Object,
java.lang.Object)public DataObjectRelationship getDataObjectRelationship(Object dataObject, Class<?> dataObjectClass, String attributeName, String attributePrefix, boolean keysOnly, boolean supportsLookup, boolean supportsInquiry)
protected DataObjectRelationship getDataObjectRelationship(RelationshipDefinition ddReference, Object dataObject, Class<?> dataObjectClass, String attributeName, String attributePrefix, boolean keysOnly, boolean supportsLookup, boolean supportsInquiry)
protected boolean classHasSupportedFeatures(Class relationshipClass, boolean supportsLookup, boolean supportsInquiry)
public RelationshipDefinition getDictionaryRelationship(Class<?> c, String attributeName)
getDictionaryRelationship in interface DataObjectMetaDataServiceprotected DataObjectRelationship populateRelationshipFromDictionaryReference(Class<?> dataObjectClass, RelationshipDefinition ddReference, String attributePrefix, boolean keysOnly)
protected DataObjectRelationship getRelationshipMetadata(Class<?> dataObjectClass, String attributeName, String attributePrefix)
public String getTitleAttribute(Class<?> dataObjectClass)
getTitleAttribute in interface DataObjectMetaDataServiceDataObjectMetaDataService.getTitleAttribute(java.lang.Class)public boolean areNotesSupported(Class<?> dataObjectClass)
areNotesSupported in interface DataObjectMetaDataServiceDataObjectMetaDataService.areNotesSupported(java.lang.Class)public String getDataObjectIdentifierString(Object dataObject)
getDataObjectIdentifierString in interface DataObjectMetaDataServiceDataObjectMetaDataService.getDataObjectIdentifierString(java.lang.Object)protected DataObjectEntry getDataObjectEntry(Class<?> dataObjectClass)
dataObjectClass - IllegalArgumentException - if the given Class is nullpublic List<DataObjectRelationship> getDataObjectRelationships(Class<?> dataObjectClass)
getDataObjectRelationships in interface DataObjectMetaDataServiceprotected BusinessObjectEntry getBusinessObjectEntry(Class businessObjectClass)
businessObjectClass - - class of business object to return entry forprotected void validateBusinessObjectClass(Class businessObjectClass)
businessObjectClass - IllegalArgumentException - if the given Class is null or is not a BusinessObject classprotected DataDictionaryService getDataDictionaryService()
public void setDataDictionaryService(DataDictionaryService dataDictionaryService)
protected KualiModuleService getKualiModuleService()
public void setKualiModuleService(KualiModuleService kualiModuleService)
protected PersistenceStructureService getPersistenceStructureService()
public void setPersistenceStructureService(PersistenceStructureService persistenceStructureService)
protected ViewDictionaryService getViewDictionaryService()
public void setViewDictionaryService(ViewDictionaryService viewDictionaryService)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.