|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kns.lookup.PersistableBusinessObjectLookupResultsSupportStrategyImpl
public class PersistableBusinessObjectLookupResultsSupportStrategyImpl
The LookupResultsSupportStrategyService implementation which supports PersistableBusinessObjects, simply enough
Constructor Summary | |
---|---|
PersistableBusinessObjectLookupResultsSupportStrategyImpl()
|
Method Summary | ||
---|---|---|
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! |
|
|
retrieveSelectedResultBOs(Class<T> boClass,
Set<String> lookupIds)
Uses the BusinessObjectService to retrieve a collection of PersistableBusinessObjects |
|
void |
setBusinessObjectService(BusinessObjectService businessObjectService)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersistableBusinessObjectLookupResultsSupportStrategyImpl()
Method Detail |
---|
public String getLookupIdForBusinessObject(BusinessObject businessObject)
getLookupIdForBusinessObject
in interface LookupResultsSupportStrategyService
businessObject
- the lookup to generate an id for
LookupResultsSupportStrategyService.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 LookupResultsSupportStrategyService
boClass
- the class of the business object to retrieve
Exception
- 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 LookupResultsSupportStrategyService
boClass
- the class to test the determination on
LookupResultsSupportStrategyService.qualifiesForStrategy(java.lang.Class)
public BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(BusinessObjectService businessObjectService)
businessObjectService
- the businessObjectService to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |