|
||||||||||
| 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.LaborModuleServiceImpl
@Transactional public class LaborModuleServiceImpl
This implements the service methods that may be used by outside of labor module
| Constructor Summary | |
|---|---|
LaborModuleServiceImpl()
|
|
| Method Summary | |
|---|---|
org.kuali.rice.kns.util.KualiDecimal |
calculateFringeBenefit(Integer fiscalYear,
String chartCode,
String objectCode,
org.kuali.rice.kns.util.KualiDecimal salaryAmount)
calculate the fringe benefit amount for the given object code and salary amount |
org.kuali.rice.kns.util.KualiDecimal |
calculateFringeBenefitFromLaborObject(LaborLedgerObject laborLedgerObject,
org.kuali.rice.kns.util.KualiDecimal salaryAmount)
calculate the fringe benefit amount for the given labor object and salary amount |
int |
countPendingSalaryExpenseTransfer(String emplid)
get the document numbers of the pending salary expense transfer documents for the given employee |
void |
createAndBlankApproveSalaryExpenseTransferDocument(String documentDescription,
String explanation,
String annotation,
List<String> adHocRecipients,
List<LaborLedgerExpenseTransferAccountingLine> sourceAccountingLines,
List<LaborLedgerExpenseTransferAccountingLine> targetAccountingLines)
create and approve a salary expense transfer document generated from the given accounting lines |
boolean |
doesLaborLedgerPositionObjectGroupExist(String positionObjectGroupCode)
Determines where a Labor Ledger postion object group with the given code actually exists. |
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<LaborLedgerBalance> |
findLedgerBalances(Map<String,List<String>> fieldValues,
Map<String,List<String>> excludedFieldValues,
Set<Integer> fiscalYears,
List<String> balanceTypes,
List<String> positionObjectGroupCodes)
find all ledger balances matching the given criteria within the given fiscal years |
org.kuali.rice.kns.service.BusinessObjectService |
getBusinessObjectService()
Gets the businessObjectService attribute. |
org.kuali.rice.kns.service.DataDictionaryService |
getDataDictionaryService()
Gets the dataDictionaryService attribute. |
org.kuali.rice.kns.service.DocumentService |
getDocumentService()
Gets the documentService attribute. |
org.kuali.rice.kns.service.KualiModuleService |
getKualiModuleService()
Gets the KualiModuleService attribute value. |
LaborBenefitsCalculationService |
getLaborBenefitsCalculationService()
Gets the laborBenefitsCalculationService attribute. |
LaborLedgerBalanceService |
getLaborLedgerBalanceService()
Gets the laborLedgerBalanceService attribute. |
LaborLedgerEntryService |
getLaborLedgerEntryService()
Gets the laborLedgerEntryService attribute. |
LaborLedgerPendingEntryService |
getLaborLedgerPendingEntryService()
Gets the laborLedgerPendingEntryService |
LaborLedgerPositionObjectGroup |
getLaborLedgerPositionObjectGroup(String positionObjectGroupCode)
|
LaborOriginEntryService |
getLaborOriginEntryService()
Returns an instance of the LaborOriginEntryService, for use by services in the module |
UniversityDateService |
getUniversityDateService()
Gets the universityDateService attribute. |
boolean |
hasFringeBenefitProducingObjectCodes(Integer fiscalYear,
String chartOfAccountsCode,
String financialObjectCode)
Determines whether the given set of accounting lines have object codes that receieve fringe benefits |
boolean |
hasPendingLaborLedgerEntry(String chartOfAccountsCode,
String accountNumber)
Does the given account have any labor ledger entries? It is necessary to check this before closing an account. |
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. |
LaborLedgerObject |
retrieveLaborLedgerObject(Integer fiscalYear,
String chartOfAccountsCode,
String objectCode)
retrieves a specific LaborLedgerObject from the database using primary key |
LaborLedgerObject |
retrieveLaborLedgerObject(ObjectCode financialObject)
retrieves a specific LaborLedgerObject based on the information of the given financial object |
List<LaborLedgerPositionObjectBenefit> |
retrieveLaborPositionObjectBenefits(Integer fiscalYear,
String chartOfAccountsCode,
String objectCode)
Retrieves LaborLedgerPositionObjectBenefits for a LaborLedgerObject key |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LaborModuleServiceImpl()
| Method Detail |
|---|
public org.kuali.rice.kns.util.KualiDecimal calculateFringeBenefitFromLaborObject(LaborLedgerObject laborLedgerObject,
org.kuali.rice.kns.util.KualiDecimal salaryAmount)
LaborModuleService
calculateFringeBenefitFromLaborObject in interface LaborModuleServicelaborLedgerObject - the given labor objectsalaryAmount - the given salary amount
LaborModuleService.calculateFringeBenefitFromLaborObject(org.kuali.kfs.integration.ld.LaborLedgerObject,
org.kuali.rice.kns.util.KualiDecimal)
public org.kuali.rice.kns.util.KualiDecimal calculateFringeBenefit(Integer fiscalYear,
String chartCode,
String objectCode,
org.kuali.rice.kns.util.KualiDecimal salaryAmount)
LaborModuleService
calculateFringeBenefit in interface LaborModuleServicefiscalYear - the year for object code recordchartCode - the chart for object code recordobjectCode - the object codesalaryAmount - amount to calculate benefits for
LaborModuleService.calculateFringeBenefit(java.lang.Integer, java.lang.String,
java.lang.String, org.kuali.rice.kns.util.KualiDecimal)
public void createAndBlankApproveSalaryExpenseTransferDocument(String documentDescription,
String explanation,
String annotation,
List<String> adHocRecipients,
List<LaborLedgerExpenseTransferAccountingLine> sourceAccountingLines,
List<LaborLedgerExpenseTransferAccountingLine> targetAccountingLines)
throws org.kuali.rice.kew.exception.WorkflowException
LaborModuleService
createAndBlankApproveSalaryExpenseTransferDocument in interface LaborModuleServicedocumentDescription - the description about the generated documentexplanation - the explanation for the documentannotation - the annotation as acknowledgementadHocRecipients - the given ad-hoc recipients who will be acknowledged about the documentsourceAccountingLines - the given source accounting lines used to populate documenttargetAccountingLines - the given target accounting lines used to populate document
org.kuali.rice.kew.exception.WorkflowException - occurs if the document is failed to be routed for approvalLaborModuleService.createAndBlankApproveSalaryExpenseTransferDocument(java.lang.String,
java.lang.String, java.lang.String, java.util.List, java.util.List, java.util.List)public int countPendingSalaryExpenseTransfer(String emplid)
LaborModuleService
countPendingSalaryExpenseTransfer in interface LaborModuleServiceemplid - the given employee id
LaborModuleService.countPendingSalaryExpenseTransfer(java.lang.String)
public List<String> findEmployeesWithPayType(Map<Integer,Set<String>> payPeriods,
List<String> balanceTypes,
Map<String,Set<String>> earnCodePayGroupMap)
LaborModuleService
findEmployeesWithPayType in interface LaborModuleServicepayPeriods - 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
LaborModuleService.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)
LaborModuleService
isEmployeeWithPayType in interface LaborModuleServiceemplid - 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
LaborModuleService.isEmployeeWithPayType(java.lang.String, java.util.Map, java.util.List,
java.util.Map)
public Collection<LaborLedgerBalance> findLedgerBalances(Map<String,List<String>> fieldValues,
Map<String,List<String>> excludedFieldValues,
Set<Integer> fiscalYears,
List<String> balanceTypes,
List<String> positionObjectGroupCodes)
LaborModuleService
findLedgerBalances in interface LaborModuleServicefieldValues - the given field valuesexcludedFieldValues - the given field values that must not be matchedfiscalYears - the given fiscal yearspositionObjectGroupCodes - the specified position obejct group codes
LaborModuleService.findLedgerBalances(java.util.Map, java.util.Map, java.util.Set,
java.util.List, java.util.List)public LaborLedgerPositionObjectGroup getLaborLedgerPositionObjectGroup(String positionObjectGroupCode)
public boolean doesLaborLedgerPositionObjectGroupExist(String positionObjectGroupCode)
LaborModuleService
doesLaborLedgerPositionObjectGroupExist in interface LaborModuleServicepositionObjectGroupCode - the code of the position object group to check for existence
org.kuali.kfs.integration.service.LaborModuleService#doesLaborLedgerPositionObjectGroupExist(java.lang.String)
public LaborLedgerObject retrieveLaborLedgerObject(Integer fiscalYear,
String chartOfAccountsCode,
String objectCode)
LaborModuleService
retrieveLaborLedgerObject in interface LaborModuleServicefiscalYear - the given fiscal yearchartOfAccountsCode - the given chart of accounts codeobjectCode - the given object code
LaborModuleService.retrieveLaborLedgerObject(java.lang.Integer, java.lang.String,
java.lang.String)public LaborLedgerObject retrieveLaborLedgerObject(ObjectCode financialObject)
LaborModuleService
retrieveLaborLedgerObject in interface LaborModuleServicefinancialObject - the given financial object
LaborModuleService.retrieveLaborLedgerObject(org.kuali.kfs.coa.businessobject.ObjectCode)
public boolean hasPendingLaborLedgerEntry(String chartOfAccountsCode,
String accountNumber)
LaborModuleService
hasPendingLaborLedgerEntry in interface LaborModuleServiceLaborModuleService.hasPendingLaborLedgerEntry(java.lang.String, java.lang.String)
public List<LaborLedgerPositionObjectBenefit> retrieveLaborPositionObjectBenefits(Integer fiscalYear,
String chartOfAccountsCode,
String objectCode)
LaborModuleService
retrieveLaborPositionObjectBenefits in interface LaborModuleServicefiscalYear - the given fiscal yearchartOfAccountsCode - the given chart of accounts codeobjectCode - the given object code
LaborModuleService.retrieveLaborPositionObjectBenefits(java.lang.Integer, java.lang.String,
java.lang.String)
public boolean hasFringeBenefitProducingObjectCodes(Integer fiscalYear,
String chartOfAccountsCode,
String financialObjectCode)
LaborModuleService
hasFringeBenefitProducingObjectCodes in interface LaborModuleServicefiscalYear - the fiscal year of the documentchartOfAccountsCode - chart of accounts code to checkfinancialObjectCode - financialObjectCode to check
LaborModuleService.hasFringeBenefitProducingObjectCodes(java.lang.Integer,
java.lang.String, java.lang.String)public LaborBenefitsCalculationService getLaborBenefitsCalculationService()
public LaborLedgerEntryService getLaborLedgerEntryService()
public LaborLedgerBalanceService getLaborLedgerBalanceService()
public org.kuali.rice.kns.service.DocumentService getDocumentService()
public org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
public UniversityDateService getUniversityDateService()
public org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
public LaborLedgerPendingEntryService getLaborLedgerPendingEntryService()
public LaborOriginEntryService getLaborOriginEntryService()
public org.kuali.rice.kns.service.KualiModuleService getKualiModuleService()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||