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

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

@Transactional
public class BudgetConstructionAccountSummaryReportServiceImpl
extends Object
implements BudgetConstructionAccountSummaryReportService

Service implementation of BudgetConstructionAccountSummaryReportService.


Constructor Summary
BudgetConstructionAccountSummaryReportServiceImpl()
           
 
Method Summary
 List<String> buildOrderByList()
          builds orderByList for sort order.
 Collection<BudgetConstructionOrgAccountSummaryReport> buildReports(Integer universityFiscalYear, String principalName, boolean consolidated)
          builds BudgetConstructionAccountSummaryReports
protected  void buildReportsBody(BudgetConstructionOrgAccountSummaryReport orgAccountSummaryReportEntry, BudgetConstructionAccountSummary accountSummary)
          builds report body
protected  void buildReportsHeader(Integer universityFiscalYear, BudgetConstructionOrgAccountSummaryReport orgAccountSummaryReportEntry, BudgetConstructionAccountSummary accountSummary, boolean consolidated)
          builds report Header
protected  void buildReportsTotal(BudgetConstructionOrgAccountSummaryReport orgAccountSummaryReportEntry, BudgetConstructionAccountSummary accountSummary, List reportTotalList)
          builds report total
protected  List calculateTotal(List bcasList, List simpleList)
          Calculates total part of report
protected  List<String> fieldsForTotal()
           
 void setBudgetConstructionAccountSummaryReportDao(BudgetConstructionAccountSummaryReportDao budgetConstructionAccountSummaryReportDao)
          sets budgetConstructionAccountSummaryReportDao
 void setBudgetConstructionReportsServiceHelper(BudgetConstructionReportsServiceHelper budgetConstructionReportsServiceHelper)
           
 void setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
           
 void updateReportsAccountSummaryTable(String principalName)
          updates account summary table.
 void updateReportsAccountSummaryTable(String principalName, boolean consolidated)
          updates account summary table.
 void updateReportsAccountSummaryTableWithConsolidation(String principalName)
          updates account summary table when users choose consolidation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BudgetConstructionAccountSummaryReportServiceImpl

public BudgetConstructionAccountSummaryReportServiceImpl()
Method Detail

updateReportsAccountSummaryTable

public void updateReportsAccountSummaryTable(String principalName)
Description copied from interface: BudgetConstructionAccountSummaryReportService
updates account summary table.

Specified by:
updateReportsAccountSummaryTable in interface BudgetConstructionAccountSummaryReportService
See Also:
org.kuali.kfs.module.bc.document.service.BudgetReportsControlListService#updateRepotsAccountSummaryTable(java.lang.String)

updateReportsAccountSummaryTableWithConsolidation

public void updateReportsAccountSummaryTableWithConsolidation(String principalName)
Description copied from interface: BudgetConstructionAccountSummaryReportService
updates account summary table when users choose consolidation.

Specified by:
updateReportsAccountSummaryTableWithConsolidation in interface BudgetConstructionAccountSummaryReportService
See Also:
org.kuali.kfs.module.bc.document.service.BudgetReportsControlListService#updateRepotsAccountSummaryTableWithConsolidation(java.lang.String)

updateReportsAccountSummaryTable

public void updateReportsAccountSummaryTable(String principalName,
                                             boolean consolidated)
Description copied from interface: BudgetConstructionAccountSummaryReportService
updates account summary table.

Specified by:
updateReportsAccountSummaryTable in interface BudgetConstructionAccountSummaryReportService
Parameters:
principalName - - user requesting the report
consolidated - - whether to produce a consolidate report
See Also:
BudgetConstructionAccountSummaryReportService.updateReportsAccountSummaryTable(java.lang.String, boolean)

setBudgetConstructionAccountSummaryReportDao

public void setBudgetConstructionAccountSummaryReportDao(BudgetConstructionAccountSummaryReportDao budgetConstructionAccountSummaryReportDao)
sets budgetConstructionAccountSummaryReportDao

Parameters:
budgetConstructionAccountSummaryReportDao -

buildReports

public Collection<BudgetConstructionOrgAccountSummaryReport> buildReports(Integer universityFiscalYear,
                                                                          String principalName,
                                                                          boolean consolidated)
Description copied from interface: BudgetConstructionAccountSummaryReportService
builds BudgetConstructionAccountSummaryReports

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

buildReportsHeader

protected void buildReportsHeader(Integer universityFiscalYear,
                                  BudgetConstructionOrgAccountSummaryReport orgAccountSummaryReportEntry,
                                  BudgetConstructionAccountSummary accountSummary,
                                  boolean consolidated)
builds report Header

Parameters:
BudgetConstructionAccountSummary - bcas

buildReportsBody

protected void buildReportsBody(BudgetConstructionOrgAccountSummaryReport orgAccountSummaryReportEntry,
                                BudgetConstructionAccountSummary accountSummary)
builds report body

Parameters:
BudgetConstructionAccountSummary - bcas

buildReportsTotal

protected void buildReportsTotal(BudgetConstructionOrgAccountSummaryReport orgAccountSummaryReportEntry,
                                 BudgetConstructionAccountSummary accountSummary,
                                 List reportTotalList)
builds report total

Parameters:
BudgetConstructionAccountSummary - bcas
List - reportTotalList

calculateTotal

protected List calculateTotal(List bcasList,
                              List simpleList)
Calculates total part of report

Parameters:
List - bcasList
List - simpleList

fieldsForTotal

protected List<String> fieldsForTotal()

buildOrderByList

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

Returns:
returnList

setKualiConfigurationService

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

setBudgetConstructionReportsServiceHelper

public void setBudgetConstructionReportsServiceHelper(BudgetConstructionReportsServiceHelper budgetConstructionReportsServiceHelper)


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