org.kuali.rice.kns.service.impl
Class BusinessObjectMetaDataServiceImpl

java.lang.Object
  extended by org.kuali.rice.krad.service.impl.DataObjectMetaDataServiceImpl
      extended by org.kuali.rice.kns.service.impl.BusinessObjectMetaDataServiceImpl
All Implemented Interfaces:
BusinessObjectMetaDataService, DataObjectMetaDataService

Deprecated.

@Deprecated
public class BusinessObjectMetaDataServiceImpl
extends DataObjectMetaDataServiceImpl
implements BusinessObjectMetaDataService

Implementation of the BusinessObjectMetaDataService which uses the following services to gather its meta data:

See Also:
BusinessObjectDictionaryService, DataDictionaryService, PersistenceStructureService

Constructor Summary
BusinessObjectMetaDataServiceImpl()
          Deprecated.  
 
Method Summary
 BusinessObjectDictionaryService getBusinessObjectDictionaryService()
          Deprecated. Gets the businessObjectDictionaryService attribute.
 DataObjectRelationship getBusinessObjectRelationship(BusinessObject bo, Class boClass, String attributeName, String attributePrefix, boolean keysOnly)
          Deprecated.  
 DataObjectRelationship getBusinessObjectRelationship(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)
 DataObjectRelationship getBusinessObjectRelationship(RelationshipDefinition ddReference, BusinessObject bo, Class boClass, String attributeName, String attributePrefix, boolean keysOnly)
          Deprecated.  
 RelationshipDefinition getBusinessObjectRelationshipDefinition(BusinessObject bo, String attributeName)
          Deprecated.  
 RelationshipDefinition getBusinessObjectRelationshipDefinition(Class c, String attributeName)
          Deprecated.  
 List<DataObjectRelationship> getBusinessObjectRelationships(BusinessObject bo)
          Deprecated. Get all the business object relationships for the given business object.
 List<DataObjectRelationship> getBusinessObjectRelationships(Class<? extends BusinessObject> boClass)
          Deprecated. Get all the business object relationships for the given class.
 Collection<String> getCollectionNames(BusinessObject bo)
          Deprecated. This method returns a list of collection names a business object contains
 String getForeignKeyFieldName(Class businessObjectClass, String attributeName, String targetName)
          Deprecated. This method ...
 Collection<String> getInquirableFieldNames(Class boClass, String sectionTitle)
          Deprecated. This method returns a list of inquirable field names
 List<String> getLookupableFieldNames(Class boClass)
          Deprecated. This method returns a list of lookupable fields
 String getLookupFieldDefaultValue(Class businessObjectClass, String attributeName)
          Deprecated. This method looks up the default value for a given attribute and returns it
 Class getLookupFieldDefaultValueFinderClass(Class businessObjectClass, String attributeName)
          Deprecated. This method returns the value finder class for a given attribute
 String getLookupFieldQuickfinderParameterString(Class businessObjectClass, String attributeName)
          Deprecated. This method looks up the quickfinder parameter string for a given attribute and returns it.
 Class<? extends ValueFinder> getLookupFieldQuickfinderParameterStringBuilderClass(Class businessObjectClass, String attributeName)
          Deprecated. This method returns the quickfinder parameter string builder class for a given attribute.
 Map<String,Class> getReferencesForForeignKey(BusinessObject bo, String attributeName)
          Deprecated. This method accepts a business object and one of its foreign key attribute names.
 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
 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
 boolean isInquirable(Class boClass)
          Deprecated. This method determines if a given business object is inquirable
 boolean isLookupable(Class boClass)
          Deprecated. This method determines if a given business object is lookupable
 void setBusinessObjectDictionaryService(BusinessObjectDictionaryService businessObjectDictionaryService)
          Deprecated. Sets the businessObjectDictionaryService attribute value.
 
Methods inherited from class org.kuali.rice.krad.service.impl.DataObjectMetaDataServiceImpl
areNotesSupported, classHasSupportedFeatures, equalsByPrimaryKeys, getBusinessObjectEntry, getDataDictionaryService, getDataObjectEntry, getDataObjectIdentifierString, getDataObjectRelationship, getDataObjectRelationship, getDictionaryRelationship, getKualiModuleService, getPersistenceStructureService, getPrimaryKeyFieldValues, getPrimaryKeyFieldValues, getRelationshipMetadata, getTitleAttribute, getViewDictionaryService, listPrimaryKeyFieldNames, populateRelationshipFromDictionaryReference, setDataDictionaryService, setKualiModuleService, setPersistenceStructureService, setViewDictionaryService, validateBusinessObjectClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.krad.service.DataObjectMetaDataService
areNotesSupported, equalsByPrimaryKeys, getDataObjectIdentifierString, getDataObjectRelationship, getDictionaryRelationship, getPrimaryKeyFieldValues, getPrimaryKeyFieldValues, getTitleAttribute, listPrimaryKeyFieldNames
 

Constructor Detail

BusinessObjectMetaDataServiceImpl

public BusinessObjectMetaDataServiceImpl()
Deprecated. 
Method Detail

getCollectionNames

public Collection<String> getCollectionNames(BusinessObject bo)
Deprecated. 
Description copied from interface: BusinessObjectMetaDataService
This method returns a list of collection names a business object contains

Specified by:
getCollectionNames in interface BusinessObjectMetaDataService
Returns:

getInquirableFieldNames

public Collection<String> getInquirableFieldNames(Class boClass,
                                                  String sectionTitle)
Deprecated. 
Description copied from interface: BusinessObjectMetaDataService
This method returns a list of inquirable field names

Specified by:
getInquirableFieldNames in interface BusinessObjectMetaDataService
Returns:
a collection of inquirable field names

getLookupableFieldNames

public List<String> getLookupableFieldNames(Class boClass)
Deprecated. 
Description copied from interface: BusinessObjectMetaDataService
This method returns a list of lookupable fields

Specified by:
getLookupableFieldNames in interface BusinessObjectMetaDataService
Returns:
a collection of lookupable fields

getLookupFieldDefaultValue

public String getLookupFieldDefaultValue(Class businessObjectClass,
                                         String attributeName)
Deprecated. 
Description copied from interface: BusinessObjectMetaDataService
This method looks up the default value for a given attribute and returns it

Specified by:
getLookupFieldDefaultValue in interface BusinessObjectMetaDataService
Returns:
default value for an attribute

getLookupFieldDefaultValueFinderClass

public Class getLookupFieldDefaultValueFinderClass(Class businessObjectClass,
                                                   String attributeName)
Deprecated. 
Description copied from interface: BusinessObjectMetaDataService
This method returns the value finder class for a given attribute

Specified by:
getLookupFieldDefaultValueFinderClass in interface BusinessObjectMetaDataService
Returns:
value finder class

getLookupFieldQuickfinderParameterString

public 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().

Specified by:
getLookupFieldQuickfinderParameterString in interface BusinessObjectMetaDataService
Returns:
default values for attributes

getLookupFieldQuickfinderParameterStringBuilderClass

public Class<? extends ValueFinder> getLookupFieldQuickfinderParameterStringBuilderClass(Class businessObjectClass,
                                                                                         String attributeName)
Deprecated. 
This method returns the quickfinder parameter string builder class for a given attribute. See FieldDefinition.getQuickfinderParameterStringBuilderClass().

Specified by:
getLookupFieldQuickfinderParameterStringBuilderClass in interface BusinessObjectMetaDataService
Returns:
value finder class

isAttributeInquirable

public boolean isAttributeInquirable(Class boClass,
                                     String attributeName,
                                     String sectionTitle)
Deprecated. 
Description copied from interface: BusinessObjectMetaDataService
This method determines if a given field(attribute) is inquirable or not This handles both nested and non-nested attributes

Specified by:
isAttributeInquirable in interface BusinessObjectMetaDataService
Returns:
true if field is inquirable

isInquirable

public boolean isInquirable(Class boClass)
Deprecated. 
Description copied from interface: BusinessObjectMetaDataService
This method determines if a given business object is inquirable

Specified by:
isInquirable in interface BusinessObjectMetaDataService
Returns:
true if bo is inquirable

isAttributeLookupable

public boolean isAttributeLookupable(Class boClass,
                                     String attributeName)
Deprecated. 
Description copied from interface: BusinessObjectMetaDataService
This method determines if a given field(attribute) is lookupable or not This handles both nested and non-nested attributes

Specified by:
isAttributeLookupable in interface BusinessObjectMetaDataService
Returns:
true if field is lookupable

isLookupable

public boolean isLookupable(Class boClass)
Deprecated. 
Description copied from interface: BusinessObjectMetaDataService
This method determines if a given business object is lookupable

Specified by:
isLookupable in interface BusinessObjectMetaDataService
Returns:
true if bo is lookupable

getBusinessObjectRelationship

public DataObjectRelationship getBusinessObjectRelationship(BusinessObject bo,
                                                            String attributeName)
Deprecated. 
Description copied from interface: BusinessObjectMetaDataService
This method will return a class that is related to the parent BO (either through the DataDictionary or through the PersistenceStructureService)

Specified by:
getBusinessObjectRelationship in interface BusinessObjectMetaDataService
Returns:
related class

getBusinessObjectRelationship

public DataObjectRelationship getBusinessObjectRelationship(RelationshipDefinition ddReference,
                                                            BusinessObject bo,
                                                            Class boClass,
                                                            String attributeName,
                                                            String attributePrefix,
                                                            boolean keysOnly)
Deprecated. 
Specified by:
getBusinessObjectRelationship in interface BusinessObjectMetaDataService

getBusinessObjectRelationshipDefinition

public RelationshipDefinition getBusinessObjectRelationshipDefinition(Class c,
                                                                      String attributeName)
Deprecated. 
Specified by:
getBusinessObjectRelationshipDefinition in interface BusinessObjectMetaDataService

getBusinessObjectRelationshipDefinition

public RelationshipDefinition getBusinessObjectRelationshipDefinition(BusinessObject bo,
                                                                      String attributeName)
Deprecated. 
Specified by:
getBusinessObjectRelationshipDefinition in interface BusinessObjectMetaDataService

getBusinessObjectRelationship

public DataObjectRelationship getBusinessObjectRelationship(BusinessObject bo,
                                                            Class boClass,
                                                            String attributeName,
                                                            String attributePrefix,
                                                            boolean keysOnly)
Deprecated. 
Specified by:
getBusinessObjectRelationship in interface BusinessObjectMetaDataService

getBusinessObjectDictionaryService

public BusinessObjectDictionaryService getBusinessObjectDictionaryService()
Deprecated. 
Gets the businessObjectDictionaryService attribute.

Returns:
Returns the businessObjectDictionaryService.

setBusinessObjectDictionaryService

public void setBusinessObjectDictionaryService(BusinessObjectDictionaryService businessObjectDictionaryService)
Deprecated. 
Sets the businessObjectDictionaryService attribute value.

Parameters:
businessObjectDictionaryService - The BusinessObjectDictionaryService to set.

getBusinessObjectRelationships

public List<DataObjectRelationship> getBusinessObjectRelationships(BusinessObject bo)
Deprecated. 
Description copied from interface: BusinessObjectMetaDataService
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.

Specified by:
getBusinessObjectRelationships in interface BusinessObjectMetaDataService

getBusinessObjectRelationships

public List<DataObjectRelationship> getBusinessObjectRelationships(Class<? extends BusinessObject> boClass)
Deprecated. 
Description copied from interface: BusinessObjectMetaDataService
Get all the business object relationships for the given class. These relationships may be defined at the ORM-layer or within the data dictionary.

Specified by:
getBusinessObjectRelationships in interface BusinessObjectMetaDataService

getReferencesForForeignKey

public Map<String,Class> getReferencesForForeignKey(BusinessObject bo,
                                                    String attributeName)
Deprecated. 
Description copied from interface: BusinessObjectMetaDataService
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.

Specified by:
getReferencesForForeignKey in interface BusinessObjectMetaDataService
Returns:
Map
See Also:
org.kuali.rice.kns.service.BusinessObjectMetaDataService#getReferencesForForeignKey(java.lang.Class, java.lang.String)

getForeignKeyFieldName

public String getForeignKeyFieldName(Class businessObjectClass,
                                     String attributeName,
                                     String targetName)
Deprecated. 
Description copied from interface: BusinessObjectMetaDataService
This method ...

Specified by:
getForeignKeyFieldName in interface BusinessObjectMetaDataService
Returns:


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