01: /*
02: * Copyright 2006-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.kfs.dao.GeneralLedgerPendingEntryDao;
23: import org.kuali.module.labor.bo.LaborLedgerPendingEntry;
24:
25: /**
26: * LaborLedgerPendingEntryDao DAO Interface.
27: */
28: public interface LaborLedgerPendingEntryDao extends
29: GeneralLedgerPendingEntryDao {
30:
31: /**
32: * This method retrieves all pending ledger entries with the given search criteria
33: *
34: * @param fieldValues the input fields and values
35: * @param isApproved the flag that indicates whether the pending entries are approved or don't care
36: * @return all pending ledger entries that may belong to encumbrance table
37: */
38: public Iterator<LaborLedgerPendingEntry> findPendingLedgerEntriesForLedgerBalance(
39: Map fieldValues, boolean isApproved);
40:
41: /**
42: * This method retrieves all pending ledger entries with the given search criteria
43: *
44: * @param fieldValues the input fields and values
45: * @param businessObject
46: * @return all pending ledger entries that may belong to pendingentry table
47: */
48: public Collection<LaborLedgerPendingEntry> hasPendingLaborLedgerEntry(
49: Map fieldValues, Object businessObject);
50: }
|