| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LookupResultsSupportStrategyService
Contract for strategies which can help LokoupResultsService with aspects (mainly id generation and result lookup) of multi value lookup support
| Method Summary | ||
|---|---|---|
|  String | getLookupIdForBusinessObject(BusinessObject businessObject)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 | |
|  boolean | qualifiesForStrategy(Class<? extends BusinessObject> boClass)Determines if the given class is supported by this strategy | |
| 
 | retrieveSelectedResultBOs(Class<T> boClass,
                                                   Set<String> lookupIds)Returns a list of BOs that were selected. | |
| Method Detail | 
|---|
<T extends BusinessObject> Collection<T> retrieveSelectedResultBOs(Class<T> boClass,
                                                                   Set<String> lookupIds)
                                                               throws Exception
lookupResultsSequenceNumber - the sequence number identifying the lookup results in the databaseboClass - the class of the business object to retrievepersonId - the id of the principal performing this searchlookupResultsService - an implementation of the lookupResultsService to do some of the dirty work...
Exception - if anything goes wrong...well, just blow up, okay?String getLookupIdForBusinessObject(BusinessObject businessObject)
businessObject - the lookup to generate an id for
boolean qualifiesForStrategy(Class<? extends BusinessObject> boClass)
boClass - the class to test the determination on
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||