org.kuali.kfs.module.ld.service.impl
Class LaborBenefitsCalculationServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.ld.service.impl.LaborBenefitsCalculationServiceImpl
All Implemented Interfaces:
LaborBenefitsCalculationService

@Transactional
public class LaborBenefitsCalculationServiceImpl
extends Object
implements LaborBenefitsCalculationService

To provide its clients with access to the benefit calculation.


Constructor Summary
LaborBenefitsCalculationServiceImpl()
           
 
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 calculateFringeBenefit(LaborLedgerObject laborLedgerObject, org.kuali.rice.kns.util.KualiDecimal salaryAmount)
          calculate the fringe benefit amount for the given labor object and salary amount
 org.kuali.rice.kns.util.KualiDecimal calculateFringeBenefit(PositionObjectBenefit positionObjectBenefit, org.kuali.rice.kns.util.KualiDecimal salaryAmount)
          calculate the fringe benefit amount from the given position object benefit and salary amount
 BenefitsCalculation getBenefitsCalculation(Integer universityFiscalYear, String chartOfAccountsCode, String benefitTypeCode)
          get the benefit calculation object based on the given information
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
          Sets the businessObjectService attribute value.
 void setLaborPositionObjectBenefitService(LaborPositionObjectBenefitService laborPositionObjectBenefitService)
          Sets the laborPositionObjectBenefitService attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaborBenefitsCalculationServiceImpl

public LaborBenefitsCalculationServiceImpl()
Method Detail

getBenefitsCalculation

public BenefitsCalculation getBenefitsCalculation(Integer universityFiscalYear,
                                                  String chartOfAccountsCode,
                                                  String benefitTypeCode)
Description copied from interface: LaborBenefitsCalculationService
get the benefit calculation object based on the given information

Specified by:
getBenefitsCalculation in interface LaborBenefitsCalculationService
Parameters:
universityFiscalYear - the given fiscal year
chartOfAccountsCode - the given chart of accounts code
benefitTypeCode - the given benefit type code
Returns:
the benefit calculation object matching the given information
See Also:
LaborBenefitsCalculationService.getBenefitsCalculation(java.lang.Integer, java.lang.String, java.lang.String)

calculateFringeBenefit

public org.kuali.rice.kns.util.KualiDecimal calculateFringeBenefit(Integer fiscalYear,
                                                                   String chartCode,
                                                                   String objectCode,
                                                                   org.kuali.rice.kns.util.KualiDecimal salaryAmount)
Description copied from interface: LaborBenefitsCalculationService
calculate the fringe benefit amount for the given object code and salary amount

Specified by:
calculateFringeBenefit in interface LaborBenefitsCalculationService
Parameters:
fiscalYear - the year for object code record
chartCode - the chart for object code record
objectCode - the object code
salaryAmount - amount to calculate benefits for
Returns:
the fringe benefit amount
See Also:
LaborBenefitsCalculationService.calculateFringeBenefit(java.lang.Integer, java.lang.String, java.lang.String, org.kuali.rice.kns.util.KualiDecimal)

calculateFringeBenefit

public org.kuali.rice.kns.util.KualiDecimal calculateFringeBenefit(LaborLedgerObject laborLedgerObject,
                                                                   org.kuali.rice.kns.util.KualiDecimal salaryAmount)
Description copied from interface: LaborBenefitsCalculationService
calculate the fringe benefit amount for the given labor object and salary amount

Specified by:
calculateFringeBenefit in interface LaborBenefitsCalculationService
Parameters:
laborLedgerObject - the given labor object
salaryAmount - the given salary amount
Returns:
the fringe benefit amount for the given labor object and salary amount
See Also:
org.kuali.kfs.module.ld.service.LaborBenefitsCalculationService#calculateFringeBenefit(org.kuali.kfs.module.ld.businessobject.LaborObject, org.kuali.rice.kns.util.KualiDecimal)

calculateFringeBenefit

public org.kuali.rice.kns.util.KualiDecimal calculateFringeBenefit(PositionObjectBenefit positionObjectBenefit,
                                                                   org.kuali.rice.kns.util.KualiDecimal salaryAmount)
Description copied from interface: LaborBenefitsCalculationService
calculate the fringe benefit amount from the given position object benefit and salary amount

Specified by:
calculateFringeBenefit in interface LaborBenefitsCalculationService
Parameters:
positionObjectBenefit - the given position object benefit
salaryAmount - the given salary amount
Returns:
the fringe benefit amount for the given position object benefit and salary amount
See Also:
LaborBenefitsCalculationService.calculateFringeBenefit(org.kuali.kfs.module.ld.businessobject.PositionObjectBenefit, org.kuali.rice.kns.util.KualiDecimal)

setLaborPositionObjectBenefitService

public void setLaborPositionObjectBenefitService(LaborPositionObjectBenefitService laborPositionObjectBenefitService)
Sets the laborPositionObjectBenefitService attribute value.

Parameters:
laborPositionObjectBenefitService - The laborPositionObjectBenefitService to set.

setBusinessObjectService

public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value.

Parameters:
businessObjectService - The businessObjectService to set.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.