org.kuali.kfs.fp.document.service.impl
Class BudgetAdjustmentLaborBenefitsServiceImpl

java.lang.Object
  extended by org.kuali.kfs.fp.document.service.impl.BudgetAdjustmentLaborBenefitsServiceImpl
All Implemented Interfaces:
BudgetAdjustmentLaborBenefitsService

public class BudgetAdjustmentLaborBenefitsServiceImpl
extends Object
implements BudgetAdjustmentLaborBenefitsService

This is the default implementation of the methods defined by the BudgetAdjustmentLaborBenefitsService. These service performs methods related to the generation of labor benefit accounting lines for the budget adjustment document.


Constructor Summary
BudgetAdjustmentLaborBenefitsServiceImpl()
           
 
Method Summary
protected  org.kuali.rice.kns.util.KualiDecimal formatPercentageForMultiplication(org.kuali.rice.kns.util.KualiDecimal percent)
           
protected  List<BudgetAdjustmentAccountingLine> generateBenefitLines(Integer fiscalYear, BudgetAdjustmentAccountingLine line, BudgetAdjustmentDocument document)
          Given a budget adjustment accounting line, generates appropriate fringe benefit lines for the line
 void generateLaborBenefitsAccountingLines(BudgetAdjustmentDocument budgetDocument)
          This method generated labor benefit accounting lines to be added to the BudgetDocument provided.
 org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
          Gets the businessObjectService attribute.
 boolean hasLaborObjectCodes(BudgetAdjustmentDocument budgetDocument)
          Checks the object codes from the document accounting lines against the labor object code table.
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
          Sets the businessObjectService attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BudgetAdjustmentLaborBenefitsServiceImpl

public BudgetAdjustmentLaborBenefitsServiceImpl()
Method Detail

generateLaborBenefitsAccountingLines

public void generateLaborBenefitsAccountingLines(BudgetAdjustmentDocument budgetDocument)
This method generated labor benefit accounting lines to be added to the BudgetDocument provided.

Specified by:
generateLaborBenefitsAccountingLines in interface BudgetAdjustmentLaborBenefitsService
Parameters:
budgetDocument - The BudgetDocument to have the new labor benefit accounting lines added to.
See Also:
BudgetAdjustmentLaborBenefitsService.generateLaborBenefitsAccountingLines(org.kuali.kfs.fp.document.BudgetAdjustmentDocument)

generateBenefitLines

protected List<BudgetAdjustmentAccountingLine> generateBenefitLines(Integer fiscalYear,
                                                                    BudgetAdjustmentAccountingLine line,
                                                                    BudgetAdjustmentDocument document)
Given a budget adjustment accounting line, generates appropriate fringe benefit lines for the line

Parameters:
line - a line to generate fringe benefit lines for
Returns:
a List of BudgetAdjustmentAccountingLines to add to the document as fringe benefit lines

hasLaborObjectCodes

public boolean hasLaborObjectCodes(BudgetAdjustmentDocument budgetDocument)
Description copied from interface: BudgetAdjustmentLaborBenefitsService
Checks the object codes from the document accounting lines against the labor object code table.

Specified by:
hasLaborObjectCodes in interface BudgetAdjustmentLaborBenefitsService
Parameters:
budgetDocument -
Returns:
See Also:
BudgetAdjustmentLaborBenefitsService.hasLaborObjectCodes(org.kuali.kfs.fp.document.BudgetAdjustmentDocument)

formatPercentageForMultiplication

protected org.kuali.rice.kns.util.KualiDecimal formatPercentageForMultiplication(org.kuali.rice.kns.util.KualiDecimal percent)

getBusinessObjectService

public org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
Gets the businessObjectService attribute.

Returns:
Returns the businessObjectService.

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.