|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LaborModuleService
This interface is exposing the service methods that may be used by the modules outside of labor
| 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> sourceAccoutingLines,
List<LaborLedgerExpenseTransferAccountingLine> targetAccoutingLines)
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 |
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 |
| Method Detail |
|---|
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
Collection<LaborLedgerBalance> findLedgerBalances(Map<String,List<String>> fieldValues,
Map<String,List<String>> excludedFieldValues,
Set<Integer> fiscalYears,
List<String> balanceTypes,
List<String> positionObjectGroupCodes)
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
org.kuali.rice.kns.util.KualiDecimal calculateFringeBenefitFromLaborObject(LaborLedgerObject laborLedgerObject,
org.kuali.rice.kns.util.KualiDecimal salaryAmount)
laborLedgerObject - the given labor objectsalaryAmount - the given salary amount
org.kuali.rice.kns.util.KualiDecimal calculateFringeBenefit(Integer fiscalYear,
String chartCode,
String objectCode,
org.kuali.rice.kns.util.KualiDecimal salaryAmount)
fiscalYear - the year for object code recordchartCode - the chart for object code recordobjectCode - the object codesalaryAmount - amount to calculate benefits for
void createAndBlankApproveSalaryExpenseTransferDocument(String documentDescription,
String explanation,
String annotation,
List<String> adHocRecipients,
List<LaborLedgerExpenseTransferAccountingLine> sourceAccoutingLines,
List<LaborLedgerExpenseTransferAccountingLine> targetAccoutingLines)
throws org.kuali.rice.kew.exception.WorkflowException
documentDescription - 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 documentsourceAccoutingLines - the given source accounting lines used to populate documenttargetAccoutingLines - 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 approvalint countPendingSalaryExpenseTransfer(String emplid)
emplid - the given employee id
LaborLedgerObject retrieveLaborLedgerObject(Integer fiscalYear,
String chartOfAccountsCode,
String objectCode)
fiscalYear - the given fiscal yearchartOfAccountsCode - the given chart of accounts codeobjectCode - the given object code
LaborLedgerObject retrieveLaborLedgerObject(ObjectCode financialObject)
financialObject - the given financial object
List<LaborLedgerPositionObjectBenefit> retrieveLaborPositionObjectBenefits(Integer fiscalYear,
String chartOfAccountsCode,
String objectCode)
fiscalYear - the given fiscal yearchartOfAccountsCode - the given chart of accounts codeobjectCode - the given object code
boolean hasPendingLaborLedgerEntry(String chartOfAccountsCode,
String accountNumber)
account - the given account
boolean hasFringeBenefitProducingObjectCodes(Integer fiscalYear,
String chartOfAccountsCode,
String financialObjectCode)
fiscalYear - the fiscal year of the documentchartOfAccountsCode - chart of accounts code to checkfinancialObjectCode - financialObjectCode to check
boolean doesLaborLedgerPositionObjectGroupExist(String positionObjectGroupCode)
positionObjectGroupCode - the code of the position object group to check for existence
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||