|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.module.ld.service.impl.LaborLedgerEntryServiceImpl
@Transactional public class LaborLedgerEntryServiceImpl
This class implements LaborLedgerEntryService to provide the access to labor ledger entries in data stores.
LedgerEntry
Constructor Summary | |
---|---|
LaborLedgerEntryServiceImpl()
|
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 |
void |
setLaborAccountingCycleCachingService(LaborAccountingCycleCachingService laborAccountingCycleCachingService)
|
void |
setLaborLedgerEntryDao(LaborLedgerEntryDao laborLedgerEntryDao)
Sets the laborLedgerEntryDao attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LaborLedgerEntryServiceImpl()
Method Detail |
---|
public void save(LedgerEntry ledgerEntry)
LaborLedgerEntryService
save
in interface LaborLedgerEntryService
ledgerEntry
- the given ledger entryLaborLedgerEntryService.save(org.kuali.kfs.module.ld.businessobject.LedgerEntry)
public Integer getMaxSequenceNumber(LedgerEntry ledgerEntry)
LaborLedgerEntryService
getMaxSequenceNumber
in interface LaborLedgerEntryService
ledgerEntry
- the given ledger entry
org.kuali.kfs.module.ld.service.LaborLedgerEntryService#getMaxSquenceNumber(org.kuali.kfs.module.ld.businessobject.LedgerEntry)
public Iterator<LedgerEntry> find(Map<String,String> fieldValues)
LaborLedgerEntryService
find
in interface LaborLedgerEntryService
fieldValues
- the given field-value pair
LaborLedgerEntryService.find(java.util.Map)
public List<String> findEmployeesWithPayType(Map<Integer,Set<String>> payPeriods, List<String> balanceTypes, Map<String,Set<String>> earnCodePayGroupMap)
LaborLedgerEntryService
findEmployeesWithPayType
in interface LaborLedgerEntryService
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
LaborLedgerEntryService.findEmployeesWithPayType(java.util.Map, java.util.List, java.util.Map)
public boolean isEmployeeWithPayType(String emplid, Map<Integer,Set<String>> payPeriods, List<String> balanceTypes, Map<String,Set<String>> earnCodePayGroupMap)
LaborLedgerEntryService
isEmployeeWithPayType
in interface LaborLedgerEntryService
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
LaborLedgerEntryService.isEmployeeWithPayType(java.lang.String, java.util.Map, java.util.List, java.util.Map)
public void deleteLedgerEntriesPriorToYear(Integer fiscalYear, String chartOfAccountsCode)
LaborLedgerEntryService
deleteLedgerEntriesPriorToYear
in interface LaborLedgerEntryService
fiscalYear
- the given fiscal yearchartOfAccountsCode
- the given chart of account codeLaborLedgerEntryService.deleteLedgerEntriesPriorToYear(java.lang.Integer, java.lang.String)
public void setLaborLedgerEntryDao(LaborLedgerEntryDao laborLedgerEntryDao)
laborLedgerEntryDao
- The laborLedgerEntryDao to set.public void setLaborAccountingCycleCachingService(LaborAccountingCycleCachingService laborAccountingCycleCachingService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |