public interface LaborLedgerEntryService
Modifier and Type | Method and Description |
---|---|
void |
deleteLedgerEntriesPriorToYear(Integer fiscalYear,
String chartOfAccountsCode)
delete the ledger entry records that were posted prior to the given fiscal year
|
Iterator<LedgerEntry> |
find(Map<String,String> fieldValues)
Find the ledger entries that satisfy the all entries in the given field-value pair
|
List<String> |
findEmployeesWithPayType(Map<Integer,Set<String>> payPeriods,
List<String> balanceTypes,
Map<String,Set<String>> earnCodePayGroupMap)
find the employees who were paid based on a set of specified pay type within the given report periods.
|
Integer |
getMaxSequenceNumber(LedgerEntry ledgerEntry)
The sequence number is one of the primary keys of ledger entry.
|
boolean |
isEmployeeWithPayType(String emplid,
Map<Integer,Set<String>> payPeriods,
List<String> balanceTypes,
Map<String,Set<String>> earnCodePayGroupMap)
determine whether the given employee was paid based on a set of specified pay type within the given report periods.
|
void |
save(LedgerEntry ledgerEntry)
Save the given ledger entry or update it if it exsits
|
void save(LedgerEntry ledgerEntry)
ledgerEntry
- the given ledger entryInteger getMaxSequenceNumber(LedgerEntry ledgerEntry)
ledgerEntry
- the given ledger entryIterator<LedgerEntry> find(Map<String,String> fieldValues)
fieldValues
- the given field-value pairList<String> findEmployeesWithPayType(Map<Integer,Set<String>> payPeriods, List<String> balanceTypes, Map<String,Set<String>> earnCodePayGroupMap)
payPeriods
- the given pay periodsbalanceTypes
- the specified balance type codesearnCodePayGroupMap
- the combination of earn codes and pay groups, where pay group is the key and earn code set is the valueboolean isEmployeeWithPayType(String emplid, Map<Integer,Set<String>> payPeriods, List<String> balanceTypes, Map<String,Set<String>> earnCodePayGroupMap)
emplid
- the given employee idpayPeriods
- the given pay periodsbalanceTypes
- the specified balance type codesearnCodePayGroupMap
- the combination of earn codes and pay groups, where pay group is the key and earn code set is the
valuevoid deleteLedgerEntriesPriorToYear(Integer fiscalYear, String chartOfAccountsCode)
fiscalYear
- the given fiscal yearchartOfAccountsCode
- the given chart of account codeCopyright © 2004–2015 The Kuali Foundation. All rights reserved.