01: /*
02: * Copyright 2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
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.module.labor.service;
18:
19: import java.util.Collection;
20: import java.util.Set;
21:
22: import org.kuali.core.bo.PersistableBusinessObject;
23: import org.kuali.core.lookup.LookupResultsService;
24: import org.kuali.core.service.DateTimeService;
25:
26: /**
27: * Used for segemented lookup results
28: */
29: public interface SegmentedLookupResultsService extends
30: LookupResultsService {
31:
32: /**
33: * Retrieve the Date Time Service
34: *
35: * @return Date Time Service
36: */
37: public DateTimeService getDateTimeService();
38:
39: /**
40: * Assign the Date Time Service
41: *
42: * @param dateTimeService
43: */
44: public void setDateTimeService(DateTimeService dateTimeService);
45:
46: /**
47: * @param lookupResultsSequenceNumber
48: * @param universalUserId
49: * @return Set<String>
50: */
51: public Set<String> retrieveSetOfSelectedObjectIds(
52: String lookupResultsSequenceNumber, String universalUserId)
53: throws Exception;
54:
55: /**
56: * @param lookupResultsSequenceNumber
57: * @param setOfSelectedObjIds
58: * @param boClass
59: * @param universalUserId
60: * @return Collection<PersistableBusinessObject>
61: */
62: public Collection<PersistableBusinessObject> retrieveSelectedResultBOs(
63: String lookupResultsSequenceNumber,
64: Set<String> setOfSelectedObjIds, Class boClass,
65: String universalUserId) throws Exception;
66: }
|