| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.integration.ld.LaborModuleServiceNoOp
public class LaborModuleServiceNoOp
| Constructor Summary | |
|---|---|
| LaborModuleServiceNoOp() | |
| 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 | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public LaborModuleServiceNoOp()
| Method Detail | 
|---|
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
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
public int countPendingSalaryExpenseTransfer(String emplid)
LaborModuleService
countPendingSalaryExpenseTransfer in interface LaborModuleServiceemplid - the given employee id
public void createAndBlankApproveSalaryExpenseTransferDocument(String documentDescription,
                                                               String explanation,
                                                               String annotation,
                                                               List<String> adHocRecipients,
                                                               List<LaborLedgerExpenseTransferAccountingLine> sourceAccoutingLines,
                                                               List<LaborLedgerExpenseTransferAccountingLine> targetAccoutingLines)
                                                        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 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 approvalpublic boolean doesLaborLedgerPositionObjectGroupExist(String positionObjectGroupCode)
LaborModuleService
doesLaborLedgerPositionObjectGroupExist in interface LaborModuleServicepositionObjectGroupCode - the code of the position object group to check for existence
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
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
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
public boolean hasPendingLaborLedgerEntry(String chartOfAccountsCode,
                                          String accountNumber)
LaborModuleService
hasPendingLaborLedgerEntry in interface LaborModuleService
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
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
public LaborLedgerObject retrieveLaborLedgerObject(ObjectCode financialObject)
LaborModuleService
retrieveLaborLedgerObject in interface LaborModuleServicefinancialObject - the given financial object
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
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||