Interface BusinessObjectMetaDataService

All Superinterfaces:
DataObjectMetaDataService

@Deprecated public interface BusinessObjectMetaDataService extends DataObjectMetaDataService
Deprecated.
use MetadataRepository
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 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

      Collection<String> getInquirableFieldNames(Class boClass, String sectionTitle)
      Deprecated.
      This method returns a list of inquirable field names
      Parameters:
      bo -
      Returns:
      a collection of inquirable field names
    • getLookupableFieldNames

      List<String> getLookupableFieldNames(Class boClass)
      Deprecated.
      This method returns a list of lookupable fields
      Parameters:
      bo -
      Returns:
      a collection of lookupable fields
    • getLookupFieldDefaultValue

      String getLookupFieldDefaultValue(Class businessObjectClass, String attributeName)
      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

      Class getLookupFieldDefaultValueFinderClass(Class businessObjectClass, String attributeName)
      Deprecated.
      This method returns the value finder class for a given attribute
      Parameters:
      businessObjectClass -
      attributeName -
      Returns:
      value finder class
    • getLookupFieldQuickfinderParameterString

      String getLookupFieldQuickfinderParameterString(Class businessObjectClass, String attributeName)
      Deprecated.
      This method looks up the quickfinder parameter string for a given attribute and returns it. See FieldDefinition.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. See FieldDefinition.getQuickfinderParameterStringBuilderClass().
      Parameters:
      businessObjectClass -
      attributeName -
      Returns:
      value finder class
    • getCollectionNames

      Collection<String> getCollectionNames(Object bo)
      Deprecated.
      This method returns a list of collection names a business object contains
      Parameters:
      bo -
      Returns:
    • isAttributeInquirable

      boolean isAttributeInquirable(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 attributes
      Parameters:
      attributeName -
      sectionTitle -
      bo -
      Returns:
      true if field is inquirable
    • isInquirable

      boolean isInquirable(Class boClass)
      Deprecated.
      This method determines if a given business object is inquirable
      Parameters:
      bo -
      Returns:
      true if bo is inquirable
    • isAttributeLookupable

      boolean isAttributeLookupable(Class boClass, String attributeName)
      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

      boolean isLookupable(Class boClass)
      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 - businessObject
      String - attributeName
      Returns:
      Mapinvalid input: '<'String, Class>
    • getForeignKeyFieldName

      @Deprecated String getForeignKeyFieldName(Class businessObjectClass, String attributeName, String targetName)
      Deprecated.