@Deprecated public class DataDictionaryLookupResultsSupportStrategy extends Object implements LookupResultsSupportStrategyService
Constructor and Description |
---|
DataDictionaryLookupResultsSupportStrategy()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Map<String,String> |
convertLookupIdToPKFieldMap(String lookupId,
Class<? extends BusinessObject> businessObjectClass)
Deprecated.
Converts a lookup id into a PK field map to use to search in a lookupable
|
protected String |
convertPKFieldMapToLookupId(List<String> pkFieldNames,
BusinessObject businessObject)
Deprecated.
Converts a Map of PKFields into a String lookup ID
|
protected BusinessObjectEntry |
getBusinessObjectEntry(Class<? extends BusinessObject> boClass)
Deprecated.
Looks up the DataDictionary BusinessObjectEntry for the given class
|
DataDictionaryService |
getDataDictionaryService()
Deprecated.
|
protected Lookupable |
getLookupableForBusinessObject(Class<? extends BusinessObject> businessObjectClass)
Deprecated.
Retrieves the Lookupable for the given business object class
|
String |
getLookupIdForBusinessObject(BusinessObject businessObject)
Deprecated.
Builds a lookup id for the given business object
|
protected List<String> |
getPrimaryKeyFieldsForBusinessObject(Class<? extends BusinessObject> businessObjectClass)
Deprecated.
Returns the data dictionary defined primary keys for the given BusinessObject
|
boolean |
qualifiesForStrategy(Class<? extends BusinessObject> boClass)
Deprecated.
Determines if both the primary keys and Lookupable are present in the data dictionary definition; if so, the BO qualifies, but if either are missing, it does not
|
protected Formatter |
retrieveBestFormatter(String propertyName,
Class<? extends BusinessObject> boClass)
Deprecated.
Like when you're digging through your stuff drawer, you know the one in the kitchen with all the batteries and lint in it, this method
goes through the stuff drawer of KNS formatters and attempts to return you a good one
|
<T extends BusinessObject> |
retrieveSelectedResultBOs(Class<T> boClass,
Set<String> lookupIds)
Deprecated.
Uses the Lookupable associated with the given BusinessObject to search for business objects
|
void |
setDataDictionaryService(DataDictionaryService dataDictionaryService)
Deprecated.
|
public DataDictionaryLookupResultsSupportStrategy()
public String getLookupIdForBusinessObject(BusinessObject businessObject)
getLookupIdForBusinessObject
in interface LookupResultsSupportStrategyService
businessObject
- the lookup to generate an id forLookupResultsSupportStrategyService.getLookupIdForBusinessObject(org.kuali.rice.krad.bo.BusinessObject)
public boolean qualifiesForStrategy(Class<? extends BusinessObject> boClass)
qualifiesForStrategy
in interface LookupResultsSupportStrategyService
boClass
- the class to test the determination onLookupResultsSupportStrategyService.qualifiesForStrategy(java.lang.Class)
public <T extends BusinessObject> Collection<T> retrieveSelectedResultBOs(Class<T> boClass, Set<String> lookupIds) throws Exception
retrieveSelectedResultBOs
in interface LookupResultsSupportStrategyService
boClass
- the class of the business object to retrieveException
- if anything goes wrong...well, just blow up, okay?LookupResultsSupportStrategyService#retrieveSelectedResultBOs(java.lang.String, java.lang.Class, java.lang.String, org.kuali.rice.krad.lookup.LookupResultsService)
protected Lookupable getLookupableForBusinessObject(Class<? extends BusinessObject> businessObjectClass)
businessObjectClass
- the class to find the Lookupable forprotected List<String> getPrimaryKeyFieldsForBusinessObject(Class<? extends BusinessObject> businessObjectClass)
businessObjectClass
- the business object to get DataDictionary defined primary keys forprotected Map<String,String> convertLookupIdToPKFieldMap(String lookupId, Class<? extends BusinessObject> businessObjectClass)
lookupId
- the id returned by the lookupbusinessObjectClass
- the class of the business object getting the primary keyprotected String convertPKFieldMapToLookupId(List<String> pkFieldNames, BusinessObject businessObject)
pkFieldNames
- the name of the PK fields, which should be converted to the given lookupIdbusinessObjectClass
- the class of the business object getting the primary keyprotected Formatter retrieveBestFormatter(String propertyName, Class<? extends BusinessObject> boClass)
propertyName
- the name of the property to retrieveboClass
- the class of the BusinessObject the property is onprotected BusinessObjectEntry getBusinessObjectEntry(Class<? extends BusinessObject> boClass)
boClass
- the class of the BusinessObject to find a BusinessObjectEntry forpublic DataDictionaryService getDataDictionaryService()
public void setDataDictionaryService(DataDictionaryService dataDictionaryService)
dataDictionaryService
- the dataDictionaryService to setCopyright © 2005–2014 The Kuali Foundation. All rights reserved.