|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LaborLedgerEntryDao
This is the data access object for ledger entry.
LedgerEntry
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. |
Collection<LedgerEntry> |
getLedgerEntriesForEmployeeWithPayType(String emplid,
Map<Integer,Set<String>> payPeriods,
List<String> balanceTypes,
Map<String,Set<String>> earnCodePayGroupMap)
get the ledger entries for the given employee based on a set of specified pay type within the given report periods. |
Integer |
getMaxSquenceNumber(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 if the given employee is associated with a set of specified pay type within the given report periods. |
void |
save(LedgerEntry ledgerEntry)
save the given ledger entry into the underlying data store |
Method Detail |
---|
Integer getMaxSquenceNumber(LedgerEntry ledgerEntry)
ledgerEntry
- the given ledger entry
Iterator<LedgerEntry> find(Map<String,String> fieldValues)
fieldValues
- the given field-value pair
void save(LedgerEntry ledgerEntry)
ledgerEntry
- the given ledger entryList<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
Collection<LedgerEntry> getLedgerEntriesForEmployeeWithPayType(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
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 |