Package org.kuali.rice.kns.service
Interface BusinessObjectMetaDataService
- All Superinterfaces:
DataObjectMetaDataService
Deprecated.
Provides Metadata about a specific BusinessObject. Depending on the circumstance or type
of BO it will retrieve the data it needs from either the DataDictionary or through the
PersistenceStructureService
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionorg.kuali.rice.krad.bo.DataObjectRelationshipgetBusinessObjectRelationship(Object bo, Class boClass, String attributeName, String attributePrefix, boolean keysOnly) Deprecated.org.kuali.rice.krad.bo.DataObjectRelationshipgetBusinessObjectRelationship(Object bo, String attributeName) Deprecated.org.kuali.rice.krad.bo.DataObjectRelationshipgetBusinessObjectRelationship(org.kuali.rice.krad.datadictionary.RelationshipDefinition ddReference, Object bo, Class boClass, String attributeName, String attributePrefix, boolean keysOnly) Deprecated.org.kuali.rice.krad.datadictionary.RelationshipDefinitiongetBusinessObjectRelationshipDefinition(Class c, String attributeName) Deprecated.org.kuali.rice.krad.datadictionary.RelationshipDefinitiongetBusinessObjectRelationshipDefinition(Object bo, String attributeName) Deprecated.List<org.kuali.rice.krad.bo.DataObjectRelationship> getBusinessObjectRelationships(Class<? extends Object> boClass) Deprecated.List<org.kuali.rice.krad.bo.DataObjectRelationship> Deprecated.Deprecated.This method returns a list of collection names a business object containsgetForeignKeyFieldName(Class businessObjectClass, String attributeName, String targetName) Deprecated.getInquirableFieldNames(Class boClass, String sectionTitle) Deprecated.This method returns a list of inquirable field namesgetLookupableFieldNames(Class boClass) Deprecated.This method returns a list of lookupable fieldsgetLookupFieldDefaultValue(Class businessObjectClass, String attributeName) Deprecated.This method looks up the default value for a given attribute and returns itgetLookupFieldDefaultValueFinderClass(Class businessObjectClass, String attributeName) Deprecated.This method returns the value finder class for a given attributegetLookupFieldQuickfinderParameterString(Class businessObjectClass, String attributeName) Deprecated.This method looks up the quickfinder parameter string for a given attribute and returns it.Class<? extends org.kuali.rice.krad.valuefinder.ValueFinder> getLookupFieldQuickfinderParameterStringBuilderClass(Class businessObjectClass, String attributeName) Deprecated.This method returns the quickfinder parameter string builder class for a given attribute.getReferencesForForeignKey(Object businessObject, String attributeName) Deprecated.booleanisAttributeInquirable(Class boClass, String attributeName, String sectionTitle) Deprecated.This method determines if a given field(attribute) is inquirable or not This handles both nested and non-nested attributesbooleanisAttributeLookupable(Class boClass, String attributeName) Deprecated.This method determines if a given field(attribute) is lookupable or not This handles both nested and non-nested attributesbooleanisInquirable(Class boClass) Deprecated.This method determines if a given business object is inquirablebooleanisLookupable(Class boClass) Deprecated.This method determines if a given business object is lookupableMethods inherited from interface org.kuali.rice.krad.service.DataObjectMetaDataService
areNotesSupported, equalsByPrimaryKeys, getDataObjectIdentifierString, getDataObjectRelationship, getDataObjectRelationships, getDictionaryRelationship, getPrimaryKeyFieldValues, getPrimaryKeyFieldValues, getTitleAttribute, hasLocalInquiry, hasLocalLookup, listPrimaryKeyFieldNames
-
Method Details
-
getBusinessObjectRelationship
org.kuali.rice.krad.bo.DataObjectRelationship getBusinessObjectRelationship(org.kuali.rice.krad.datadictionary.RelationshipDefinition ddReference, Object bo, Class boClass, String attributeName, String attributePrefix, boolean keysOnly) Deprecated. -
getBusinessObjectRelationshipDefinition
org.kuali.rice.krad.datadictionary.RelationshipDefinition getBusinessObjectRelationshipDefinition(Class c, String attributeName) Deprecated. -
getBusinessObjectRelationshipDefinition
org.kuali.rice.krad.datadictionary.RelationshipDefinition getBusinessObjectRelationshipDefinition(Object bo, String attributeName) Deprecated. -
getInquirableFieldNames
Deprecated.This method returns a list of inquirable field names- Parameters:
bo-- Returns:
- a collection of inquirable field names
-
getLookupableFieldNames
Deprecated.This method returns a list of lookupable fields- Parameters:
bo-- Returns:
- a collection of lookupable fields
-
getLookupFieldDefaultValue
Deprecated.This method looks up the default value for a given attribute and returns it- Parameters:
businessObjectClass-attributeName-- Returns:
- default value for an attribute
-
getLookupFieldDefaultValueFinderClass
Deprecated.This method returns the value finder class for a given attribute- Parameters:
businessObjectClass-attributeName-- Returns:
- value finder class
-
getLookupFieldQuickfinderParameterString
Deprecated.This method looks up the quickfinder parameter string for a given attribute and returns it. SeeFieldDefinition.getQuickfinderParameterString().- Parameters:
businessObjectClass-attributeName-- Returns:
- default values for attributes
-
getLookupFieldQuickfinderParameterStringBuilderClass
Class<? extends org.kuali.rice.krad.valuefinder.ValueFinder> getLookupFieldQuickfinderParameterStringBuilderClass(Class businessObjectClass, String attributeName) Deprecated.This method returns the quickfinder parameter string builder class for a given attribute. SeeFieldDefinition.getQuickfinderParameterStringBuilderClass().- Parameters:
businessObjectClass-attributeName-- Returns:
- value finder class
-
getCollectionNames
Deprecated.This method returns a list of collection names a business object contains- Parameters:
bo-- Returns:
-
isAttributeInquirable
Deprecated.This method determines if a given field(attribute) is inquirable or not This handles both nested and non-nested attributes- Parameters:
attributeName-sectionTitle-bo-- Returns:
- true if field is inquirable
-
isInquirable
Deprecated.This method determines if a given business object is inquirable- Parameters:
bo-- Returns:
- true if bo is inquirable
-
isAttributeLookupable
Deprecated.This method determines if a given field(attribute) is lookupable or not This handles both nested and non-nested attributes- Parameters:
attributeName-bo-- Returns:
- true if field is lookupable
-
isLookupable
Deprecated.This method determines if a given business object is lookupable- Parameters:
bo-- Returns:
- true if bo is lookupable
-
getBusinessObjectRelationship
@Deprecated org.kuali.rice.krad.bo.DataObjectRelationship getBusinessObjectRelationship(Object bo, String attributeName) Deprecated.This method will return a class that is related to the parent BO (either through the DataDictionary or through the PersistenceStructureService)- Parameters:
bo-attributes-- Returns:
- related class
-
getBusinessObjectRelationship
@Deprecated org.kuali.rice.krad.bo.DataObjectRelationship getBusinessObjectRelationship(Object bo, Class boClass, String attributeName, String attributePrefix, boolean keysOnly) Deprecated. -
getBusinessObjectRelationships
@Deprecated List<org.kuali.rice.krad.bo.DataObjectRelationship> getBusinessObjectRelationships(Object bo) Deprecated.Get all the business object relationships for the given business object. These relationships may be defined at the ORM-layer or within the data dictionary. -
getBusinessObjectRelationships
@Deprecated List<org.kuali.rice.krad.bo.DataObjectRelationship> getBusinessObjectRelationships(Class<? extends Object> boClass) Deprecated.Get all the business object relationships for the given class. These relationships may be defined at the ORM-layer or within the data dictionary. -
getReferencesForForeignKey
@Deprecated Map<String,Class> getReferencesForForeignKey(Object businessObject, String attributeName) Deprecated.This method accepts a business object and one of its foreign key attribute names. It returns a map that has a foreign key attribute name as a key and its respective related class as value. If the passed in attributeName is not a foreign key, this method will return an empty map.- Parameters:
Object- businessObjectString- attributeName- Returns:
- Mapinvalid input: '<'String, Class>
-
getForeignKeyFieldName
@Deprecated String getForeignKeyFieldName(Class businessObjectClass, String attributeName, String targetName) Deprecated.
-
MetadataRepository