Package org.kuali.rice.kns.lookup
Interface LookupResultsSupportStrategyService
- All Known Implementing Classes:
DataDictionaryLookupResultsSupportStrategy,DataObjectBaseLookupResultsSupportStrategyImpl,PersistableBusinessObjectLookupResultsSupportStrategyImpl
Deprecated.
Only used by KNS classes, use KRAD.
Contract for strategies which can help LokoupResultsService with aspects (mainly id generation and result lookup) of multi value lookup support
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptiongetLookupIdForBusinessObject(BusinessObject businessObject) Deprecated.Generates a String id which is used as an id on a checkbox for result rows returning the business object in a multiple value lookupbooleanqualifiesForStrategy(Class<? extends BusinessObject> boClass) Deprecated.Determines if the given class is supported by this strategy<T extends BusinessObject>
Collection<T> retrieveSelectedResultBOs(Class<T> boClass, Set<String> lookupIds) Deprecated.Returns a list of BOs that were selected.
-
Method Details
-
retrieveSelectedResultBOs
<T extends BusinessObject> Collection<T> retrieveSelectedResultBOs(Class<T> boClass, Set<String> lookupIds) throws Exception Deprecated.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.- Parameters:
boClass- the class of the business object to retrievelookupResultsSequenceNumber- the sequence number identifying the lookup results in the databasepersonId- the id of the principal performing this searchlookupResultsService- an implementation of the lookupResultsService to do some of the dirty work...- Returns:
- a Collection of retrieved BusinessObjects
- Throws:
Exception- if anything goes wrong...well, just blow up, okay?
-
getLookupIdForBusinessObject
Deprecated.Generates a String id which is used as an id on a checkbox for result rows returning the business object in a multiple value lookup- Parameters:
businessObject- the lookup to generate an id for- Returns:
- the String id
-
qualifiesForStrategy
Deprecated.Determines if the given class is supported by this strategy- Parameters:
boClass- the class to test the determination on- Returns:
- true if this strategy supports it, false otherwise
-