org.kuali.rice.kns.service
Interface BusinessObjectMetaDataService

All Superinterfaces:
org.kuali.rice.krad.service.DataObjectMetaDataService

Deprecated.

@Deprecated
public interface BusinessObjectMetaDataService
extends org.kuali.rice.krad.service.DataObjectMetaDataService

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
 org.kuali.rice.krad.bo.BusinessObjectRelationship getBusinessObjectRelationship(org.kuali.rice.krad.bo.BusinessObject bo, Class boClass, String attributeName, String attributePrefix, boolean keysOnly)
          Deprecated. 
 org.kuali.rice.krad.bo.BusinessObjectRelationship getBusinessObjectRelationship(org.kuali.rice.krad.bo.BusinessObject bo, String attributeName)
          Deprecated. 
 org.kuali.rice.krad.bo.BusinessObjectRelationship getBusinessObjectRelationship(org.kuali.rice.krad.datadictionary.RelationshipDefinition ddReference, org.kuali.rice.krad.bo.BusinessObject bo, Class boClass, String attributeName, String attributePrefix, boolean keysOnly)
          Deprecated. 
 org.kuali.rice.krad.datadictionary.RelationshipDefinition getBusinessObjectRelationshipDefinition(org.kuali.rice.krad.bo.BusinessObject bo, String attributeName)
          Deprecated. 
 org.kuali.rice.krad.datadictionary.RelationshipDefinition getBusinessObjectRelationshipDefinition(Class c, String attributeName)
          Deprecated. 
 List<org.kuali.rice.krad.bo.BusinessObjectRelationship> getBusinessObjectRelationships(org.kuali.rice.krad.bo.BusinessObject bo)
          Deprecated. 
 List<org.kuali.rice.krad.bo.BusinessObjectRelationship> getBusinessObjectRelationships(Class<? extends org.kuali.rice.krad.bo.BusinessObject> boClass)
          Deprecated. 
 Collection<String> getCollectionNames(org.kuali.rice.krad.bo.BusinessObject bo)
          Deprecated. 
 String getForeignKeyFieldName(Class businessObjectClass, String attributeName, String targetName)
          Deprecated. 
 Collection<String> getInquirableFieldNames(Class boClass, String sectionTitle)
          Deprecated. 
 List<String> getLookupableFieldNames(Class boClass)
          Deprecated. 
 String getLookupFieldDefaultValue(Class businessObjectClass, String attributeName)
          Deprecated. 
 Class getLookupFieldDefaultValueFinderClass(Class businessObjectClass, String attributeName)
          Deprecated. 
 String getLookupFieldQuickfinderParameterString(Class businessObjectClass, String attributeName)
          Deprecated. 
 Class<? extends org.kuali.rice.krad.valuefinder.ValueFinder> getLookupFieldQuickfinderParameterStringBuilderClass(Class businessObjectClass, String attributeName)
          Deprecated. 
 Map<String,Class> getReferencesForForeignKey(org.kuali.rice.krad.bo.BusinessObject businessObject, String attributeName)
          Deprecated. 
 boolean isAttributeInquirable(Class boClass, String attributeName, String sectionTitle)
          Deprecated. 
 boolean isAttributeLookupable(Class boClass, String attributeName)
          Deprecated. 
 boolean isInquirable(Class boClass)
          Deprecated. 
 boolean isLookupable(Class boClass)
          Deprecated. 
 
Methods inherited from interface org.kuali.rice.krad.service.DataObjectMetaDataService
areNotesSupported, equalsByPrimaryKeys, getDataObjectRelationship, getDictionaryRelationship, getPrimaryKeyFieldValues, getPrimaryKeyFieldValues, getTitleAttribute, listPrimaryKeyFieldNames
 

Method Detail

getBusinessObjectRelationship

@Deprecated
org.kuali.rice.krad.bo.BusinessObjectRelationship getBusinessObjectRelationship(org.kuali.rice.krad.datadictionary.RelationshipDefinition ddReference,
                                                                                           org.kuali.rice.krad.bo.BusinessObject bo,
                                                                                           Class boClass,
                                                                                           String attributeName,
                                                                                           String attributePrefix,
                                                                                           boolean keysOnly)
Deprecated. 


getBusinessObjectRelationshipDefinition

@Deprecated
org.kuali.rice.krad.datadictionary.RelationshipDefinition getBusinessObjectRelationshipDefinition(Class c,
                                                                                                             String attributeName)
Deprecated. 


getBusinessObjectRelationshipDefinition

@Deprecated
org.kuali.rice.krad.datadictionary.RelationshipDefinition getBusinessObjectRelationshipDefinition(org.kuali.rice.krad.bo.BusinessObject bo,
                                                                                                             String attributeName)
Deprecated. 


getInquirableFieldNames

@Deprecated
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

@Deprecated
List<String> getLookupableFieldNames(Class boClass)
Deprecated. 

This method returns a list of lookupable fields

Parameters:
bo -
Returns:
a collection of lookupable fields

getLookupFieldDefaultValue

@Deprecated
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

@Deprecated
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

@Deprecated
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

@Deprecated
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

@Deprecated
Collection<String> getCollectionNames(org.kuali.rice.krad.bo.BusinessObject bo)
Deprecated. 

This method returns a list of collection names a business object contains

Parameters:
bo -
Returns:

isAttributeInquirable

@Deprecated
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:
bo -
attributeName -
sectionTitle -
Returns:
true if field is inquirable

isInquirable

@Deprecated
boolean isInquirable(Class boClass)
Deprecated. 

This method determines if a given business object is inquirable

Parameters:
bo -
Returns:
true if bo is inquirable

isAttributeLookupable

@Deprecated
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:
bo -
attributeName -
Returns:
true if field is lookupable

isLookupable

@Deprecated
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.BusinessObjectRelationship getBusinessObjectRelationship(org.kuali.rice.krad.bo.BusinessObject 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.BusinessObjectRelationship getBusinessObjectRelationship(org.kuali.rice.krad.bo.BusinessObject bo,
                                                                                           Class boClass,
                                                                                           String attributeName,
                                                                                           String attributePrefix,
                                                                                           boolean keysOnly)
Deprecated. 


getBusinessObjectRelationships

@Deprecated
List<org.kuali.rice.krad.bo.BusinessObjectRelationship> getBusinessObjectRelationships(org.kuali.rice.krad.bo.BusinessObject 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.BusinessObjectRelationship> getBusinessObjectRelationships(Class<? extends org.kuali.rice.krad.bo.BusinessObject> 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(org.kuali.rice.krad.bo.BusinessObject 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:
BusinessObject - businessObject
String - attributeName
Returns:
Map

getForeignKeyFieldName

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

This method ...

Parameters:
businessObjectClass -
attributeName -
targetName -
Returns:


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.