|
||||||||||
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.LaborLedgerBalanceServiceImpl
public class LaborLedgerBalanceServiceImpl
Constructor Summary | |
---|---|
LaborLedgerBalanceServiceImpl()
|
Method Summary | ||
---|---|---|
LedgerBalance |
addLedgerBalance(Collection<LedgerBalance> ledgerBalanceCollection,
LaborTransaction transaction)
convert the given transaction information into a ledger balance and add it into the given ledger balance collection with |
|
void |
deleteLedgerBalancesPriorToYear(Integer fiscalYear,
String chartOfAccountsCode)
delete the ledger balance records that were posted prior to the given fiscal year |
|
List<List<String>> |
findAccountsInFundGroups(Integer fiscalYear,
Map<String,String> fieldValues,
List<String> subFundGroupCodes,
List<String> fundGroupCodes)
find the accounts (chart of accounts code + account number) in the given fund groups |
|
Iterator |
findBalance(Map fieldValues,
boolean isConsolidated)
This method gets the size of balance entries according to input fields and values |
|
Iterator<LedgerBalance> |
findBalancesForFiscalYear(Integer fiscalYear)
|
|
Iterator<LedgerBalance> |
findBalancesForFiscalYear(Integer fiscalYear,
Map<String,String> fieldValues)
|
|
Iterator<LedgerBalanceForYearEndBalanceForward> |
findBalancesForFiscalYear(Integer fiscalYear,
Map<String,String> fieldValues,
List<String> subFundGroupCodes,
List<String> fundGroupCodes)
|
|
List<LaborBalanceSummary> |
findBalanceSummary(Integer fiscalYear,
Collection<String> balanceTypes)
find the summary of the ledger balances for the given fiscal year and balance types |
|
List<EmployeeFunding> |
findEmployeeFunding(Map fieldValues,
boolean isConsolidated)
find the funding by employee |
|
List<EmployeeFunding> |
findEmployeeFundingWithCSFTracker(Map fieldValues,
boolean isConsolidated)
find the employee funding with the corresponding CSF trakers |
|
|
findLedgerBalance(Collection<T> ledgerBalanceCollection,
LaborTransaction transaction)
find a ledger balance from the given ledger balance collection with the given transaction information |
|
|
findLedgerBalance(Collection<T> ledgerBalanceCollection,
LaborTransaction transaction,
List<String> keyList)
find a ledger balance from the given ledger balance collection with the given transaction information |
|
Collection<LedgerBalance> |
findLedgerBalances(Map<String,List<String>> fieldValues,
Map<String,List<String>> excludedFieldValues,
Set<Integer> fiscalYears,
List<String> balanceTypeList,
List<String> positionObjectGroupCodes)
find all ledger balances matching the given criteria within the given fiscal years |
|
Integer |
getBalanceRecordCount(Map fieldValues,
boolean isConsolidated)
This method finds the summary records of balance entries according to input fields and values |
|
void |
save(LedgerBalance ledgerBalance)
save the given ledger balance into the underlying data store |
|
void |
setLaborCalculatedSalaryFoundationTrackerService(LaborCalculatedSalaryFoundationTrackerService laborCalculatedSalaryFoundationTrackerService)
Sets the laborCalculatedSalaryFoundationTrackerService attribute value. |
|
void |
setLaborLedgerBalanceDao(LaborLedgerBalanceDao laborLedgerBalanceDao)
Sets the laborLedgerBalanceDao attribute value. |
|
|
updateLedgerBalance(T ledgerBalance,
LaborTransaction transaction)
update the given ledger balance with the given transaction information |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LaborLedgerBalanceServiceImpl()
Method Detail |
---|
public Iterator<LedgerBalance> findBalancesForFiscalYear(Integer fiscalYear)
findBalancesForFiscalYear
in interface LaborLedgerBalanceService
fiscalYear
- the given fiscal year
LaborLedgerBalanceService.findBalancesForFiscalYear(java.lang.Integer)
public Iterator<LedgerBalance> findBalancesForFiscalYear(Integer fiscalYear, Map<String,String> fieldValues)
findBalancesForFiscalYear
in interface LaborLedgerBalanceService
fiscalYear
- the given fiscal yearfieldValues
- the input fields and values
LaborLedgerBalanceService.findBalancesForFiscalYear(java.lang.Integer, java.util.Map)
public Iterator findBalance(Map fieldValues, boolean isConsolidated)
LaborLedgerBalanceService
findBalance
in interface LaborLedgerBalanceService
fieldValues
- the input fields and valuesisConsolidated
- consolidation option is applied or not
LaborLedgerBalanceService.findBalance(java.util.Map, boolean)
public Integer getBalanceRecordCount(Map fieldValues, boolean isConsolidated)
LaborLedgerBalanceService
getBalanceRecordCount
in interface LaborLedgerBalanceService
fieldValues
- the input fields and valuesisConsolidated
- consolidation option is applied or not
LaborLedgerBalanceService.getBalanceRecordCount(java.util.Map, boolean)
public <T extends LedgerBalance> T findLedgerBalance(Collection<T> ledgerBalanceCollection, LaborTransaction transaction, List<String> keyList)
LaborLedgerBalanceService
findLedgerBalance
in interface LaborLedgerBalanceService
ledgerBalanceCollection
- the given ledger balance collectiontransaction
- the given transaction informationkeyList
- the given list of keys that need to be compared
LaborLedgerBalanceService.findLedgerBalance(java.util.Collection,
org.kuali.kfs.module.ld.businessobject.LaborTransaction)
public <T extends LedgerBalance> T findLedgerBalance(Collection<T> ledgerBalanceCollection, LaborTransaction transaction)
LaborLedgerBalanceService
findLedgerBalance
in interface LaborLedgerBalanceService
ledgerBalanceCollection
- the given ledger balance collectiontransaction
- the given transaction information
LaborLedgerBalanceService.findLedgerBalance(java.util.Collection,
org.kuali.kfs.module.ld.businessobject.LaborTransaction)
@Transactional public <T extends LedgerBalance> void updateLedgerBalance(T ledgerBalance, LaborTransaction transaction)
LaborLedgerBalanceService
updateLedgerBalance
in interface LaborLedgerBalanceService
ledgerBalance
- the given ledger balancetransaction
- the given transaction informationLaborLedgerBalanceService.updateLedgerBalance(org.kuali.kfs.module.ld.businessobject.LedgerBalance,
org.kuali.kfs.module.ld.businessobject.LaborTransaction)
@Transactional public LedgerBalance addLedgerBalance(Collection<LedgerBalance> ledgerBalanceCollection, LaborTransaction transaction)
LaborLedgerBalanceService
addLedgerBalance
in interface LaborLedgerBalanceService
ledgerBalanceCollection
- the given ledger balance collectiontransaction
- the given transaction information
LaborLedgerBalanceService.addLedgerBalance(java.util.Collection,
org.kuali.kfs.module.ld.businessobject.LaborTransaction)
public List<EmployeeFunding> findEmployeeFunding(Map fieldValues, boolean isConsolidated)
LaborLedgerBalanceService
findEmployeeFunding
in interface LaborLedgerBalanceService
fieldValues
- the given field values
org.kuali.kfs.module.ld.service.LaborLedgerBalanceService#findEmployeeFunding(java.util.Map)
public List<EmployeeFunding> findEmployeeFundingWithCSFTracker(Map fieldValues, boolean isConsolidated)
LaborLedgerBalanceService
findEmployeeFundingWithCSFTracker
in interface LaborLedgerBalanceService
fieldValues
- the given field values
org.kuali.kfs.module.ld.service.LaborLedgerBalanceService#findEmployeeFundingWithCSFTracker(java.util.Map)
public List<LaborBalanceSummary> findBalanceSummary(Integer fiscalYear, Collection<String> balanceTypes)
LaborLedgerBalanceService
findBalanceSummary
in interface LaborLedgerBalanceService
fiscalYear
- the given fiscal yearbalanceTypes
- the given balance type codes
LaborLedgerBalanceService.findBalanceSummary(java.lang.Integer, java.util.Collection)
@Transactional public void save(LedgerBalance ledgerBalance)
LaborLedgerBalanceService
save
in interface LaborLedgerBalanceService
ledgerBalance
- the given ledger balanceLaborLedgerBalanceService.save(org.kuali.kfs.module.ld.businessobject.LedgerBalance)
public Iterator<LedgerBalanceForYearEndBalanceForward> findBalancesForFiscalYear(Integer fiscalYear, Map<String,String> fieldValues, List<String> subFundGroupCodes, List<String> fundGroupCodes)
findBalancesForFiscalYear
in interface LaborLedgerBalanceService
fiscalYear
- the given fiscal yearfieldValues
- the input fields and valuessubFundGroupCodes
- the given list of qualified sub fund group codesfundGroupCodes
- the given list of qualified group codes
LaborLedgerBalanceService.findBalancesForFiscalYear(java.lang.Integer, java.util.Map,
java.util.List, java.util.List)
public List<List<String>> findAccountsInFundGroups(Integer fiscalYear, Map<String,String> fieldValues, List<String> subFundGroupCodes, List<String> fundGroupCodes)
LaborLedgerBalanceService
findAccountsInFundGroups
in interface LaborLedgerBalanceService
fiscalYear
- the given fiscal yearfieldValues
- the input fields and valuessubFundGroupCodes
- the given list of qualified sub fund group codesfundGroupCodes
- the given list of qualified group codes
LaborLedgerBalanceService.findAccountsInFundGroups(java.lang.Integer, java.util.Map,
java.util.List, java.util.List)
public Collection<LedgerBalance> findLedgerBalances(Map<String,List<String>> fieldValues, Map<String,List<String>> excludedFieldValues, Set<Integer> fiscalYears, List<String> balanceTypeList, List<String> positionObjectGroupCodes)
LaborLedgerBalanceService
findLedgerBalances
in interface LaborLedgerBalanceService
fieldValues
- the given field valuesexcludedFieldValues
- the given field values that must not be matchedfiscalYears
- the given fiscal yearsbalanceTypeList
- the given balance type code listpositionObjectGroupCodes
- the specified position obejct group codes
LaborLedgerBalanceService.findLedgerBalances(java.util.Map, java.util.Map, java.util.Set,
java.util.List, java.util.List)
@Transactional public void deleteLedgerBalancesPriorToYear(Integer fiscalYear, String chartOfAccountsCode)
LaborLedgerBalanceService
deleteLedgerBalancesPriorToYear
in interface LaborLedgerBalanceService
fiscalYear
- the given fiscal yearchartOfAccountsCode
- the given chart of account codeLaborLedgerBalanceService.deleteLedgerBalancesPriorToYear(java.lang.Integer, java.lang.String)
public void setLaborLedgerBalanceDao(LaborLedgerBalanceDao laborLedgerBalanceDao)
laborLedgerBalanceDao
- The laborLedgerBalanceDao to set.public void setLaborCalculatedSalaryFoundationTrackerService(LaborCalculatedSalaryFoundationTrackerService laborCalculatedSalaryFoundationTrackerService)
laborCalculatedSalaryFoundationTrackerService
- The laborCalculatedSalaryFoundationTrackerService to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |