org.kuali.kfs.module.bc.document.service.impl
Class BudgetConstructionMonthSummaryReportServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.bc.document.service.impl.BudgetConstructionMonthSummaryReportServiceImpl
All Implemented Interfaces:
BudgetConstructionMonthSummaryReportService

@Transactional
public class BudgetConstructionMonthSummaryReportServiceImpl
extends Object
implements BudgetConstructionMonthSummaryReportService

Service implementation of BudgetConstructionLevelSummaryReportService.


Constructor Summary
BudgetConstructionMonthSummaryReportServiceImpl()
           
 
Method Summary
 List<String> buildOrderByList()
          builds orderByList for sort order.
 Collection<BudgetConstructionOrgMonthSummaryReport> buildReports(Integer universityFiscalYear, String principalName, boolean consolidateToObjectCodeLevel)
          builds BudgetConstructionLevelSummaryReports
 void buildReportsBody(Integer universityFiscalYear, BudgetConstructionOrgMonthSummaryReport orgMonthSummaryReportEntry, BudgetConstructionMonthSummary monthSummary)
          builds report body
 void buildReportsHeader(Integer universityFiscalYear, BudgetConstructionOrgMonthSummaryReport orgMonthSummaryReportEntry, BudgetConstructionMonthSummary monthSummary, boolean consolidateToObjectCodeLevel)
          builds report Header
 void buildReportsTotal(BudgetConstructionOrgMonthSummaryReport orgMonthSummaryReportEntry, BudgetConstructionMonthSummary monthSummary, List<BudgetConstructionOrgMonthSummaryReportTotal> monthSummaryTotalLevelList, List<BudgetConstructionOrgMonthSummaryReportTotal> monthSummaryTotalConsList, List<BudgetConstructionOrgMonthSummaryReportTotal> monthSummaryTotalTypeList, List<BudgetConstructionOrgMonthSummaryReportTotal> monthSummaryTotalIncexpList)
          builds report total
 List calculateConsTotal(List<BudgetConstructionMonthSummary> bcmsList, Collection<BudgetConstructionMonthSummary> monthSummaryList)
          calculates total part of cons
 List calculateIncexpTotal(List<BudgetConstructionMonthSummary> bcmsList, Collection<BudgetConstructionMonthSummary> monthSummaryList)
          calculates total part of incexp
 List calculateLevelTotal(List<BudgetConstructionMonthSummary> bcmsList, Collection<BudgetConstructionMonthSummary> monthSummaryList)
          calculates total part of level
 List calculateTypeTotal(List<BudgetConstructionMonthSummary> bcmsList, Collection<BudgetConstructionMonthSummary> monthSummaryList)
          calculates total part of type
protected  List<String> fieldsForCons()
           
protected  List<String> fieldsForIncexp()
           
protected  List<String> fieldsForLevel()
           
protected  List<String> fieldsForType()
           
 void setBudgetConstructionMonthSummaryReportDao(BudgetConstructionMonthSummaryReportDao budgetConstructionMonthSummaryReportDao)
          sets budgetConstructionMonthSummaryReportDao
 void setBudgetConstructionReportsServiceHelper(BudgetConstructionReportsServiceHelper budgetConstructionReportsServiceHelper)
           
 void setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
           
 void updateMonthSummaryReport(String principalName, boolean consolidateToObjectCodeLevel)
          updates month summary table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BudgetConstructionMonthSummaryReportServiceImpl

public BudgetConstructionMonthSummaryReportServiceImpl()
Method Detail

updateMonthSummaryReport

public void updateMonthSummaryReport(String principalName,
                                     boolean consolidateToObjectCodeLevel)
Description copied from interface: BudgetConstructionMonthSummaryReportService
updates month summary table.

Specified by:
updateMonthSummaryReport in interface BudgetConstructionMonthSummaryReportService
See Also:
org.kuali.kfs.module.bc.document.service.BudgetReportsControlListService#updateRepotsMonthSummaryTable(java.lang.String)

buildReports

public Collection<BudgetConstructionOrgMonthSummaryReport> buildReports(Integer universityFiscalYear,
                                                                        String principalName,
                                                                        boolean consolidateToObjectCodeLevel)
Description copied from interface: BudgetConstructionMonthSummaryReportService
builds BudgetConstructionLevelSummaryReports

Specified by:
buildReports in interface BudgetConstructionMonthSummaryReportService
Returns:
Collection
See Also:
org.kuali.kfs.module.bc.document.service.BudgetConstructionMonthSummaryReportService#buildReports(java.lang.Integer, java.util.Collection)

buildReportsHeader

public void buildReportsHeader(Integer universityFiscalYear,
                               BudgetConstructionOrgMonthSummaryReport orgMonthSummaryReportEntry,
                               BudgetConstructionMonthSummary monthSummary,
                               boolean consolidateToObjectCodeLevel)
builds report Header

Parameters:
universityFiscalYear -
orgMonthSummaryReportEntry -
monthSummary -
consolidateToObjectCodeLevel -

buildReportsBody

public void buildReportsBody(Integer universityFiscalYear,
                             BudgetConstructionOrgMonthSummaryReport orgMonthSummaryReportEntry,
                             BudgetConstructionMonthSummary monthSummary)
builds report body

Parameters:
universityFiscalYear -
orgMonthSummaryReportEntry -
monthSummary -

buildReportsTotal

public void buildReportsTotal(BudgetConstructionOrgMonthSummaryReport orgMonthSummaryReportEntry,
                              BudgetConstructionMonthSummary monthSummary,
                              List<BudgetConstructionOrgMonthSummaryReportTotal> monthSummaryTotalLevelList,
                              List<BudgetConstructionOrgMonthSummaryReportTotal> monthSummaryTotalConsList,
                              List<BudgetConstructionOrgMonthSummaryReportTotal> monthSummaryTotalTypeList,
                              List<BudgetConstructionOrgMonthSummaryReportTotal> monthSummaryTotalIncexpList)
builds report total

Parameters:
orgMonthSummaryReportEntry -
monthSummary -
monthSummaryTotalLevelList -
monthSummaryTotalConsList -
monthSummaryTotalTypeList -
monthSummaryTotalIncexpList -

calculateLevelTotal

public List calculateLevelTotal(List<BudgetConstructionMonthSummary> bcmsList,
                                Collection<BudgetConstructionMonthSummary> monthSummaryList)
calculates total part of level

Parameters:
bcmsList -
monthSummaryList -
Returns:

calculateConsTotal

public List calculateConsTotal(List<BudgetConstructionMonthSummary> bcmsList,
                               Collection<BudgetConstructionMonthSummary> monthSummaryList)
calculates total part of cons

Parameters:
bcmsList -
monthSummaryList -
Returns:

calculateTypeTotal

public List calculateTypeTotal(List<BudgetConstructionMonthSummary> bcmsList,
                               Collection<BudgetConstructionMonthSummary> monthSummaryList)
calculates total part of type

Parameters:
bcmsList -
monthSummaryList -
Returns:

calculateIncexpTotal

public List calculateIncexpTotal(List<BudgetConstructionMonthSummary> bcmsList,
                                 Collection<BudgetConstructionMonthSummary> monthSummaryList)
calculates total part of incexp

Parameters:
bcmsList -
monthSummaryList -
Returns:

fieldsForLevel

protected List<String> fieldsForLevel()

fieldsForCons

protected List<String> fieldsForCons()

fieldsForType

protected List<String> fieldsForType()

fieldsForIncexp

protected List<String> fieldsForIncexp()

buildOrderByList

public List<String> buildOrderByList()
builds orderByList for sort order.

Returns:
returnList

setKualiConfigurationService

public void setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)

setBudgetConstructionMonthSummaryReportDao

public void setBudgetConstructionMonthSummaryReportDao(BudgetConstructionMonthSummaryReportDao budgetConstructionMonthSummaryReportDao)
sets budgetConstructionMonthSummaryReportDao

Parameters:
budgetConstructionMonthSummaryReportDao -

setBudgetConstructionReportsServiceHelper

public void setBudgetConstructionReportsServiceHelper(BudgetConstructionReportsServiceHelper budgetConstructionReportsServiceHelper)


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