org.kuali.rice.kns.lookup
Class DataObjectBaseLookupResultsSupportStrategyImpl

java.lang.Object
  extended by org.kuali.rice.kns.lookup.DataObjectBaseLookupResultsSupportStrategyImpl
All Implemented Interfaces:
LookupResultsSupportStrategyService

Deprecated. Only used by KNS classes, use KRAD.

@Deprecated
public class DataObjectBaseLookupResultsSupportStrategyImpl
extends Object
implements LookupResultsSupportStrategyService

The LookupResultsSupportStrategyService implementation which supports DataObjectBase objects, simply enough

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
DataObjectBaseLookupResultsSupportStrategyImpl()
          Deprecated.  
 
Method Summary
 String getLookupIdForBusinessObject(BusinessObject businessObject)
          Deprecated. Returns the object id
 boolean qualifiesForStrategy(Class<? extends BusinessObject> boClass)
          Deprecated. Sees if the class implements the PersistableBusinessObject interface; if so, then yes, the BO qualifies!
<T extends BusinessObject>
Collection<T>
retrieveSelectedResultBOs(Class<T> boClass, Set<String> lookupIds)
          Deprecated. Uses the BusinessObjectService to retrieve a collection of PersistableBusinessObjects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataObjectBaseLookupResultsSupportStrategyImpl

public DataObjectBaseLookupResultsSupportStrategyImpl()
Deprecated. 
Method Detail

getLookupIdForBusinessObject

public String getLookupIdForBusinessObject(BusinessObject businessObject)
Deprecated. 
Returns the object id

Specified by:
getLookupIdForBusinessObject in interface LookupResultsSupportStrategyService
Parameters:
businessObject - the lookup to generate an id for
Returns:
the String id
See Also:
LookupResultsSupportStrategyService.getLookupIdForBusinessObject(org.kuali.rice.krad.bo.BusinessObject)

retrieveSelectedResultBOs

public <T extends BusinessObject> Collection<T> retrieveSelectedResultBOs(Class<T> boClass,
                                                                          Set<String> lookupIds)
                                                               throws Exception
Deprecated. 
Uses the BusinessObjectService to retrieve a collection of PersistableBusinessObjects

Specified by:
retrieveSelectedResultBOs in interface LookupResultsSupportStrategyService
Parameters:
boClass - the class of the business object to retrieve
Returns:
a Collection of retrieved BusinessObjects
Throws:
Exception - if anything goes wrong...well, just blow up, okay?
See Also:
org.kuali.rice.kns.lookup.LookupResultsSupportStrategyService#retrieveSelectedResultBOs(java.lang.String, java.lang.Class, java.lang.String)

qualifiesForStrategy

public boolean qualifiesForStrategy(Class<? extends BusinessObject> boClass)
Deprecated. 
Sees if the class implements the PersistableBusinessObject interface; if so, then yes, the BO qualifies!

Specified by:
qualifiesForStrategy in interface LookupResultsSupportStrategyService
Parameters:
boClass - the class to test the determination on
Returns:
true if this strategy supports it, false otherwise
See Also:
LookupResultsSupportStrategyService.qualifiesForStrategy(java.lang.Class)


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.