org.kuali.kfs.sys.service.impl
Class SegmentedLookupResultsServiceImpl

java.lang.Object
  extended by org.kuali.rice.kns.lookup.LookupResultsServiceImpl
      extended by org.kuali.kfs.sys.service.impl.SegmentedLookupResultsServiceImpl
All Implemented Interfaces:
Serializable, SegmentedLookupResultsService, org.kuali.rice.kns.lookup.LookupResultsService

@Transactional
public class SegmentedLookupResultsServiceImpl
extends org.kuali.rice.kns.lookup.LookupResultsServiceImpl
implements SegmentedLookupResultsService

Used for segemented lookup results

See Also:
Serialized Form

Constructor Summary
SegmentedLookupResultsServiceImpl()
           
 
Method Summary
 org.kuali.rice.kns.service.DateTimeService getDateTimeService()
          Retrieve the Date Time Service
 void persistResultsTable(String lookupResultsSequenceNumber, List<org.kuali.rice.kns.web.ui.ResultRow> resultTable, String personId)
           
 void persistSelectedObjectIds(String lookupResultsSequenceNumber, Set<String> selectedObjectIds, String personId)
           
 List<org.kuali.rice.kns.web.ui.ResultRow> retrieveResultsTable(String lookupResultsSequenceNumber, String personId)
           
 Collection<org.kuali.rice.kns.bo.PersistableBusinessObject> retrieveSelectedResultBOs(String lookupResultsSequenceNumber, Class boClass, String personId)
          Returns a list of BOs that were selected.
 Collection<org.kuali.rice.kns.bo.PersistableBusinessObject> retrieveSelectedResultBOs(String lookupResultsSequenceNumber, Set<String> setOfSelectedObjIds, Class boClass, String personId)
           
 Set<String> retrieveSetOfSelectedObjectIds(String lookupResultsSequenceNumber, String personId)
           
 void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
          Assign the Date Time Service
 
Methods inherited from class org.kuali.rice.kns.lookup.LookupResultsServiceImpl
clearPersistedLookupResults, clearPersistedSelectedObjectIds, deleteOldLookupResults, deleteOldSelectedObjectIds, getBusinessObjectService, getDataDictionarySupportStrategy, getLookupId, getPersistableBusinessObjectSupportStrategy, getPersistedLookupMetadataDao, getQualifingSupportStrategy, isAuthorizedToAccessLookupResults, isAuthorizedToAccessLookupResults, isAuthorizedToAccessMultipleValueLookupMetadata, isAuthorizedToAccessSelectedObjectIds, isAuthorizedToAccessSelectedObjectIds, retrieveLookupResults, retrieveSelectedObjectIds, setBusinessObjectService, setDataDictionarySupportStrategy, setPersistableBusinessObjectSupportStrategy, setPersistedLookupMetadataDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.lookup.LookupResultsService
clearPersistedLookupResults, clearPersistedSelectedObjectIds, deleteOldLookupResults, deleteOldSelectedObjectIds, getLookupId, isAuthorizedToAccessLookupResults, isAuthorizedToAccessSelectedObjectIds
 

Constructor Detail

SegmentedLookupResultsServiceImpl

public SegmentedLookupResultsServiceImpl()
Method Detail

getDateTimeService

public org.kuali.rice.kns.service.DateTimeService getDateTimeService()
Retrieve the Date Time Service

Specified by:
getDateTimeService in interface SegmentedLookupResultsService
Returns:
Date Time Service

setDateTimeService

public void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
Assign the Date Time Service

Specified by:
setDateTimeService in interface SegmentedLookupResultsService
Parameters:
dateTimeService -

persistResultsTable

public void persistResultsTable(String lookupResultsSequenceNumber,
                                List<org.kuali.rice.kns.web.ui.ResultRow> resultTable,
                                String personId)
                         throws Exception
Specified by:
persistResultsTable in interface org.kuali.rice.kns.lookup.LookupResultsService
Overrides:
persistResultsTable in class org.kuali.rice.kns.lookup.LookupResultsServiceImpl
Throws:
Exception
See Also:
LookupResultsService.persistResultsTable(java.lang.String, java.util.List, java.lang.String)

persistSelectedObjectIds

public void persistSelectedObjectIds(String lookupResultsSequenceNumber,
                                     Set<String> selectedObjectIds,
                                     String personId)
                              throws Exception
Specified by:
persistSelectedObjectIds in interface org.kuali.rice.kns.lookup.LookupResultsService
Overrides:
persistSelectedObjectIds in class org.kuali.rice.kns.lookup.LookupResultsServiceImpl
Throws:
Exception
See Also:
LookupResultsService.persistSelectedObjectIds(java.lang.String, java.util.Set, java.lang.String)

retrieveResultsTable

public List<org.kuali.rice.kns.web.ui.ResultRow> retrieveResultsTable(String lookupResultsSequenceNumber,
                                                                      String personId)
                                                               throws Exception
Specified by:
retrieveResultsTable in interface org.kuali.rice.kns.lookup.LookupResultsService
Overrides:
retrieveResultsTable in class org.kuali.rice.kns.lookup.LookupResultsServiceImpl
Throws:
Exception
See Also:
LookupResultsService.retrieveResultsTable(java.lang.String, java.lang.String)

retrieveSelectedResultBOs

public Collection<org.kuali.rice.kns.bo.PersistableBusinessObject> retrieveSelectedResultBOs(String lookupResultsSequenceNumber,
                                                                                             Class boClass,
                                                                                             String personId)
                                                                                      throws Exception
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 org.kuali.rice.kns.lookup.LookupResultsService
Overrides:
retrieveSelectedResultBOs in class org.kuali.rice.kns.lookup.LookupResultsServiceImpl
Throws:
Exception
See Also:
LookupResultsService.retrieveSelectedResultBOs(java.lang.String, java.lang.Class, java.lang.String)

retrieveSetOfSelectedObjectIds

public Set<String> retrieveSetOfSelectedObjectIds(String lookupResultsSequenceNumber,
                                                  String personId)
                                           throws Exception
Specified by:
retrieveSetOfSelectedObjectIds in interface SegmentedLookupResultsService
Parameters:
lookupResultsSequenceNumber -
personId -
Returns:
Set
Throws:
Exception

retrieveSelectedResultBOs

public Collection<org.kuali.rice.kns.bo.PersistableBusinessObject> retrieveSelectedResultBOs(String lookupResultsSequenceNumber,
                                                                                             Set<String> setOfSelectedObjIds,
                                                                                             Class boClass,
                                                                                             String personId)
                                                                                      throws Exception
Specified by:
retrieveSelectedResultBOs in interface SegmentedLookupResultsService
Parameters:
lookupResultsSequenceNumber -
setOfSelectedObjIds -
boClass -
personId -
Returns:
Collection
Throws:
Exception


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.