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: package org.kuali.module.labor.dao;
17:
18: import java.util.List;
19: import java.util.Map;
20:
21: import org.kuali.module.labor.bo.AccountStatusBaseFunds;
22: import org.kuali.module.labor.bo.EmployeeFunding;
23: import org.kuali.module.labor.bo.LaborCalculatedSalaryFoundationTracker;
24:
25: /**
26: * This is the data access object for calculated salary foundation tracker
27: *
28: * @see org.kuali.module.labor.bo.CalculatedSalaryFoundationTracker
29: */
30: public interface LaborCalculatedSalaryFoundationTrackerDao {
31:
32: /**
33: * This method finds the CSF trackers according to input fields and values
34: *
35: * @param fieldValues the input fields and values
36: * @param isConsolidated consolidation option is applied or not
37: * @return a collection of CSF trackers
38: */
39: List<LaborCalculatedSalaryFoundationTracker> findCSFTrackers(
40: Map fieldValues, boolean isConsolidated);
41:
42: /**
43: * This method finds the CSF trackers according to input fields and values and converts the trackers into AccountStatusBaseFunds
44: *
45: * @param fieldValues the input fields and values
46: * @param isConsolidated consolidation option is applied or not
47: * @return a collection of base budgets for Labor objects
48: */
49: List<AccountStatusBaseFunds> findCSFTrackersAsAccountStatusBaseFunds(
50: Map fieldValues, boolean isConsolidated);
51:
52: /**
53: * This method finds the CSF trackers according to input fields and values and converts the trackers into EmployeeFunding
54: *
55: * @param fieldValues the input fields and values
56: * @param isConsolidated consolidation option is applied or not
57: * @return a collection of CSF trackers as EmployeeFunding
58: */
59: List<EmployeeFunding> findCSFTrackersAsEmployeeFunding(
60: Map fieldValues, boolean isConsolidated);
61: }
|