Class PersistableBusinessObjectLookupResultsSupportStrategyImpl

java.lang.Object
org.kuali.rice.kns.lookup.PersistableBusinessObjectLookupResultsSupportStrategyImpl
All Implemented Interfaces:
LookupResultsSupportStrategyService

@Deprecated public class PersistableBusinessObjectLookupResultsSupportStrategyImpl extends Object implements LookupResultsSupportStrategyService
Deprecated.
Only used by KNS classes, use KRAD.
The LookupResultsSupportStrategyService implementation which supports PersistableBusinessObjects, simply enough
  • Constructor Details

    • PersistableBusinessObjectLookupResultsSupportStrategyImpl

      public PersistableBusinessObjectLookupResultsSupportStrategyImpl()
      Deprecated.
  • Method Details

    • getLookupIdForBusinessObject

      public String getLookupIdForBusinessObject(org.kuali.rice.krad.bo.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
    • retrieveSelectedResultBOs

      public <T extends org.kuali.rice.krad.bo.BusinessObject> Collection<T> retrieveSelectedResultBOs(Class<T> boClass, Set<String> lookupIds)
      Deprecated.
      Description copied from interface: LookupResultsSupportStrategyService
      Returns a list of BOs that were selected. This implementation makes an attempt to retrieve all BOs with the given object IDs, unless they have been deleted or the object ID changed. Since data may have changed since the search, the returned BOs may not match the criteria used to search.
      Specified by:
      retrieveSelectedResultBOs in interface LookupResultsSupportStrategyService
      Parameters:
      boClass - the class of the business object to retrieve
      Returns:
      a Collection of retrieved BusinessObjects
    • qualifiesForStrategy

      public boolean qualifiesForStrategy(Class<? extends org.kuali.rice.krad.bo.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
    • getBusinessObjectService

      public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
      Deprecated.
    • setBusinessObjectService

      public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
      Deprecated.