org.kuali.kfs.module.ec.service.impl
Class EffortCertificationDetailBuildServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.ec.service.impl.EffortCertificationDetailBuildServiceImpl
All Implemented Interfaces:
EffortCertificationDetailBuildService

@Transactional
public class EffortCertificationDetailBuildServiceImpl
extends Object
implements EffortCertificationDetailBuildService

This class provides the facilities that can generate detail line (build) for effort certification from the given labor ledger balance record


Constructor Summary
EffortCertificationDetailBuildServiceImpl()
           
 
Method Summary
 EffortCertificationDetailBuild generateDetailBuild(Integer postingYear, LaborLedgerBalance ledgerBalance, EffortCertificationReportDefinition reportDefinition)
          generate a detail line (build) for effort certification from the given labor ledger balance
protected  A21SubAccount getA21SubAccount(LaborLedgerBalance ledgerBalance)
          get the A21 sub account associated with the given ledger balance
protected  void populateCostShareRelatedFields(EffortCertificationDetailBuild detailLine, LaborLedgerBalance ledgerBalance)
          populate the cost share related fields in the given detail line
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EffortCertificationDetailBuildServiceImpl

public EffortCertificationDetailBuildServiceImpl()
Method Detail

generateDetailBuild

public EffortCertificationDetailBuild generateDetailBuild(Integer postingYear,
                                                          LaborLedgerBalance ledgerBalance,
                                                          EffortCertificationReportDefinition reportDefinition)
Description copied from interface: EffortCertificationDetailBuildService
generate a detail line (build) for effort certification from the given labor ledger balance

Specified by:
generateDetailBuild in interface EffortCertificationDetailBuildService
Parameters:
postingYear - the fiscal year when the detail line is generated
ledgerBalance - the given labor ledger balance
reportDefinition - the given report definition
Returns:
a detail line (build) for effort certification from the given labor ledger balance
See Also:
org.kuali.kfs.module.ec.service.EffortCertificationDetailBuildService#generateDetailBuild(java.lang.Integer, org.kuali.kfs.module.ld.businessobject.LedgerBalance, org.kuali.kfs.module.ec.businessobject.EffortCertificationReportDefinition)

populateCostShareRelatedFields

protected void populateCostShareRelatedFields(EffortCertificationDetailBuild detailLine,
                                              LaborLedgerBalance ledgerBalance)
populate the cost share related fields in the given detail line

Parameters:
detailLine - the given detail line
ledgerBalance - the given ledger balance
parameters - the given parameters setup in the calling client

getA21SubAccount

protected A21SubAccount getA21SubAccount(LaborLedgerBalance ledgerBalance)
get the A21 sub account associated with the given ledger balance

Parameters:
ledgerBalance - the given ledger balance
Returns:
the A21 sub account associated with the given ledger balance; return null if not found


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