1 /* 2 * Copyright 2007 The Kuali Foundation 3 * 4 * Licensed under the Educational Community License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.opensource.org/licenses/ecl2.php 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package org.kuali.ole.sys.service; 18 19 import java.util.Collection; 20 import java.util.Set; 21 22 import org.kuali.rice.core.api.datetime.DateTimeService; 23 import org.kuali.rice.kns.lookup.LookupResultsService; 24 import org.kuali.rice.krad.bo.PersistableBusinessObject; 25 26 /** 27 * Used for segemented lookup results 28 */ 29 public interface SegmentedLookupResultsService extends LookupResultsService { 30 31 /** 32 * Retrieve the Date Time Service 33 * 34 * @return Date Time Service 35 */ 36 public DateTimeService getDateTimeService(); 37 38 /** 39 * Assign the Date Time Service 40 * 41 * @param dateTimeService 42 */ 43 public void setDateTimeService(DateTimeService dateTimeService); 44 45 /** 46 * @param lookupResultsSequenceNumber 47 * @param personId 48 * @return Set<String> 49 */ 50 public Set<String> retrieveSetOfSelectedObjectIds(String lookupResultsSequenceNumber, String personId) throws Exception; 51 52 /** 53 * @param lookupResultsSequenceNumber 54 * @param setOfSelectedObjIds 55 * @param boClass 56 * @param personId 57 * @return Collection<PersistableBusinessObject> 58 */ 59 public Collection<PersistableBusinessObject> retrieveSelectedResultBOs(String lookupResultsSequenceNumber, Set<String> setOfSelectedObjIds, Class boClass, String personId) throws Exception; 60 } 61