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.Collection;
19: import java.util.Iterator;
20: import java.util.Map;
21:
22: import org.kuali.core.bo.BusinessObject;
23: import org.kuali.module.labor.bo.July1PositionFunding;
24:
25: /**
26: * This class is an interface to data access objects for general labor related inquiries. It will be deprecated after the data
27: * access methods here are put down to business object level.
28: */
29: public interface LaborDao {
30:
31: /**
32: * This method returns a CSF Tracker total for a given selection criteria
33: *
34: * @param fieldValues
35: * @return
36: */
37: @Deprecated
38: Object getCSFTrackerTotal(Map fieldValues);
39:
40: /**
41: * This method returns an encumberence total for a given selection criteria
42: *
43: * @param fieldValues
44: * @return
45: */
46: Object getEncumbranceTotal(Map fieldValues);
47:
48: /**
49: * This method returns base funds data
50: *
51: * @param fieldValues
52: * @param isConsolidated
53: * @return Collection
54: */
55: @Deprecated
56: Iterator getBaseFunds(Map fieldValues, boolean isConsolidated);
57:
58: /**
59: * This method returns current funds data
60: *
61: * @param fieldValues
62: * @param isConsolidated
63: * @return Collection
64: */
65: Iterator getCurrentFunds(Map fieldValues, boolean isConsolidated);
66:
67: /**
68: * This method returns current funds data
69: *
70: * @param fieldValues
71: * @return Iterator
72: */
73: @Deprecated
74: Iterator getEmployeeFunding(Map fieldValues);
75:
76: /**
77: * This method returns current July1 Position Funding data
78: *
79: * @param fieldValues
80: * @return Collection
81: */
82: Collection<July1PositionFunding> getJuly1PositionFunding(
83: Map<String, String> fieldValues);
84:
85: Collection getJuly1(Map fieldValues);
86:
87: /**
88: * Stores a business object without doing a update query.
89: *
90: * @param businessObject - Business Object to Store.
91: */
92: public void insert(BusinessObject businessObject);
93: }
|