public class PersistableBusinessObjectLookupResultsSupportStrategyImpl extends Object implements LookupResultsSupportStrategyService
| Constructor and Description |
|---|
PersistableBusinessObjectLookupResultsSupportStrategyImpl() |
| Modifier and Type | Method and Description |
|---|---|
BusinessObjectService |
getBusinessObjectService() |
String |
getLookupIdForBusinessObject(BusinessObject businessObject)
Returns the object id
|
boolean |
qualifiesForStrategy(Class<? extends BusinessObject> boClass)
Sees if the class implements the PersistableBusinessObject interface; if so, then yes, the BO qualifies!
|
<T extends BusinessObject> |
retrieveSelectedResultBOs(Class<T> boClass,
Set<String> lookupIds)
Uses the BusinessObjectService to retrieve a collection of PersistableBusinessObjects
|
void |
setBusinessObjectService(BusinessObjectService businessObjectService) |
public PersistableBusinessObjectLookupResultsSupportStrategyImpl()
public String getLookupIdForBusinessObject(BusinessObject businessObject)
getLookupIdForBusinessObject in interface LookupResultsSupportStrategyServicebusinessObject - the lookup to generate an id forLookupResultsSupportStrategyService.getLookupIdForBusinessObject(org.kuali.rice.krad.bo.BusinessObject)public <T extends BusinessObject> Collection<T> retrieveSelectedResultBOs(Class<T> boClass, Set<String> lookupIds) throws Exception
retrieveSelectedResultBOs in interface LookupResultsSupportStrategyServiceboClass - the class of the business object to retrieveException - if anything goes wrong...well, just blow up, okay?org.kuali.rice.kns.lookup.LookupResultsSupportStrategyService#retrieveSelectedResultBOs(java.lang.String, java.lang.Class, java.lang.String)public boolean qualifiesForStrategy(Class<? extends BusinessObject> boClass)
qualifiesForStrategy in interface LookupResultsSupportStrategyServiceboClass - the class to test the determination onLookupResultsSupportStrategyService.qualifiesForStrategy(java.lang.Class)public BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(BusinessObjectService businessObjectService)
businessObjectService - the businessObjectService to setCopyright © 2005–2016 The Kuali Foundation. All rights reserved.