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.document;
17:
18: import java.util.List;
19:
20: import org.kuali.kfs.document.AccountingDocument;
21: import org.kuali.module.labor.bo.LaborLedgerPendingEntry;
22:
23: /**
24: * Labor Document Defines methods that must be implements for a labor ledger posting document.
25: */
26: public interface LaborLedgerPostingDocument extends AccountingDocument {
27:
28: /*
29: * Retrieves the list of Labor Ledgre Pending Entries for the document. @return A list of labor ledger pending entries.
30: */
31: public List<LaborLedgerPendingEntry> getLaborLedgerPendingEntries();
32:
33: /**
34: * Sets the list of labor ledger pending entries for the document.
35: *
36: * @param laborLedgerPendingEntries the given labor ledger pending entries
37: */
38: public void setLaborLedgerPendingEntries(
39: List<LaborLedgerPendingEntry> laborLedgerPendingEntries);
40:
41: /**
42: * Get the pending entry with the given index in the list of labor ledger pending entries
43: *
44: * @param index the given index
45: * @return the pending entry with the given index in the list of labor ledger pending entries
46: */
47: public LaborLedgerPendingEntry getLaborLedgerPendingEntry(int index);
48: }
|