|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LaborLedgerEntryService
This interface provides its clients with access to labor leger entries in the backend data store.
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
void save(LedgerEntry ledgerEntry)
ledgerEntry - the given ledger entryInteger getMaxSequenceNumber(LedgerEntry ledgerEntry)
ledgerEntry - the given ledger entry
Iterator<LedgerEntry> find(Map<String,String> fieldValues)
fieldValues - the given field-value pair
List<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 value
boolean 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
value
void deleteLedgerEntriesPriorToYear(Integer fiscalYear,
String chartOfAccountsCode)
fiscalYear - the given fiscal yearchartOfAccountsCode - the given chart of account code
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||