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

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

@Transactional
public class BudgetConstructionReasonSummaryReportServiceImpl
extends Object
implements BudgetConstructionReasonSummaryReportService

Service implementation of BudgetConstructionReasonSummaryReportService.


Nested Class Summary
protected  class BudgetConstructionReasonSummaryReportServiceImpl.OrganizationTotalHolder
           
protected  class BudgetConstructionReasonSummaryReportServiceImpl.PersonTotalHolder
           
 
Constructor Summary
BudgetConstructionReasonSummaryReportServiceImpl()
           
 
Method Summary
protected  void adjustPersonTotal(BudgetConstructionReasonSummaryReportServiceImpl.PersonTotalHolder totalsHolder)
           
 List<String> buildOrderByList()
          builds orderByList for sort order.
 Collection<BudgetConstructionOrgReasonSummaryReport> buildReports(Integer universityFiscalYear, String principalId, BudgetConstructionReportThresholdSettings reportThresholdSettings)
           
 void buildReportsBody(Integer fiscalYear, BudgetConstructionOrgReasonSummaryReport reasonSummaryReport, BudgetConstructionSalaryFunding salaryFundingEntry, BudgetConstructionSalarySocialSecurityNumber salarySSN)
          builds report body
 void buildReportsHeader(Integer universityFiscalYear, String objectCodes, String reasonCodes, BudgetConstructionOrgReasonSummaryReport reasonSummaryReport, BudgetConstructionSalaryFunding salaryFundingEntry, BudgetConstructionSalarySocialSecurityNumber bcSSN, BudgetConstructionReportThresholdSettings budgetConstructionReportThresholdSettings)
          builds report Header
 void buildReportsTotal(BudgetConstructionOrgReasonSummaryReport reasonSummaryReportEntry, BudgetConstructionSalarySocialSecurityNumber ssnEntry, Collection<BudgetConstructionOrgReasonSummaryReportTotal> reasonSummaryTotalPerson, Collection<BudgetConstructionOrgReasonSummaryReportTotal> reasonSummaryTotalOrg)
          build the total sections for the report
protected  Collection<BudgetConstructionOrgReasonSummaryReportTotal> calculateOrgTotal(Collection<BudgetConstructionOrgReasonSummaryReportTotal> reasonSummaryTotalPerson, List<BudgetConstructionSalarySocialSecurityNumber> listForCalculateTotalOrg, Map salaryFundingMap)
           
protected  Collection<BudgetConstructionOrgReasonSummaryReportTotal> calculatePersonTotal(Integer universityFiscalYear, Collection<BudgetConstructionSalarySocialSecurityNumber> bcSalarySsnList, List<BudgetConstructionSalarySocialSecurityNumber> listForCalculateTotalPerson, Map salaryFundingMap)
           
protected  void collectPersonTotal(Integer universityFiscalYear, Collection<BudgetConstructionSalaryFunding> salaryFundings, BudgetConstructionReasonSummaryReportServiceImpl.PersonTotalHolder totalsHolder)
           
protected  BudgetConstructionOrgReasonSummaryReportTotal createReportTotal(BudgetConstructionSalarySocialSecurityNumber totalOrgEntry, BudgetConstructionReasonSummaryReportServiceImpl.OrganizationTotalHolder totalsHolder)
           
protected  BudgetConstructionOrgReasonSummaryReportTotal createReportTotal(BudgetConstructionSalarySocialSecurityNumber totalPersonEntry, BudgetConstructionReasonSummaryReportServiceImpl.PersonTotalHolder totalsHolder)
           
protected  List deleteDuplicated(List list, int mode)
          Deletes duplicated entry from list
protected  boolean isSameSsnEntryForTotalOrg(BudgetConstructionSalarySocialSecurityNumber firstSsn, BudgetConstructionSalarySocialSecurityNumber secondSsn)
           
protected  boolean isSameSsnEntryForTotalPerson(BudgetConstructionSalarySocialSecurityNumber firstSsn, BudgetConstructionSalarySocialSecurityNumber secondSsn)
           
 void setBudgetConstructionOrganizationReportsService(BudgetConstructionOrganizationReportsService budgetConstructionOrganizationReportsService)
          Sets the budgetConstructionOrganizationReportsService attribute value.
 void setBudgetConstructionReportsServiceHelper(BudgetConstructionReportsServiceHelper budgetConstructionReportsServiceHelper)
          Sets the budgetConstructionReportsServiceHelper attribute value.
 void setBudgetConstructionSalarySummaryReportDao(BudgetConstructionSalarySummaryReportDao budgetConstructionSalarySummaryReportDao)
          Sets the budgetConstructionSalarySummaryReportDao attribute value.
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
          Sets the businessObjectService attribute value.
 void setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
          Sets the kualiConfigurationService attribute value.
 void updateReasonSummaryReport(String principalId, Integer universityFiscalYear, BudgetConstructionReportThresholdSettings budgetConstructionReportThresholdSettings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BudgetConstructionReasonSummaryReportServiceImpl

public BudgetConstructionReasonSummaryReportServiceImpl()
Method Detail

updateReasonSummaryReport

public void updateReasonSummaryReport(String principalId,
                                      Integer universityFiscalYear,
                                      BudgetConstructionReportThresholdSettings budgetConstructionReportThresholdSettings)
Specified by:
updateReasonSummaryReport in interface BudgetConstructionReasonSummaryReportService
See Also:
BudgetConstructionReasonSummaryReportService.updateReasonSummaryReport(java.lang.String, java.lang.Integer, org.kuali.kfs.module.bc.businessobject.BudgetConstructionReportThresholdSettings)

buildReports

public Collection<BudgetConstructionOrgReasonSummaryReport> buildReports(Integer universityFiscalYear,
                                                                         String principalId,
                                                                         BudgetConstructionReportThresholdSettings reportThresholdSettings)
Specified by:
buildReports in interface BudgetConstructionReasonSummaryReportService
See Also:
BudgetConstructionReasonSummaryReportService.buildReports(java.lang.Integer, java.lang.String, org.kuali.kfs.module.bc.businessobject.BudgetConstructionReportThresholdSettings)

buildReportsHeader

public void buildReportsHeader(Integer universityFiscalYear,
                               String objectCodes,
                               String reasonCodes,
                               BudgetConstructionOrgReasonSummaryReport reasonSummaryReport,
                               BudgetConstructionSalaryFunding salaryFundingEntry,
                               BudgetConstructionSalarySocialSecurityNumber bcSSN,
                               BudgetConstructionReportThresholdSettings budgetConstructionReportThresholdSettings)
builds report Header


buildReportsBody

public void buildReportsBody(Integer fiscalYear,
                             BudgetConstructionOrgReasonSummaryReport reasonSummaryReport,
                             BudgetConstructionSalaryFunding salaryFundingEntry,
                             BudgetConstructionSalarySocialSecurityNumber salarySSN)
builds report body


buildReportsTotal

public void buildReportsTotal(BudgetConstructionOrgReasonSummaryReport reasonSummaryReportEntry,
                              BudgetConstructionSalarySocialSecurityNumber ssnEntry,
                              Collection<BudgetConstructionOrgReasonSummaryReportTotal> reasonSummaryTotalPerson,
                              Collection<BudgetConstructionOrgReasonSummaryReportTotal> reasonSummaryTotalOrg)
build the total sections for the report


calculatePersonTotal

protected Collection<BudgetConstructionOrgReasonSummaryReportTotal> calculatePersonTotal(Integer universityFiscalYear,
                                                                                         Collection<BudgetConstructionSalarySocialSecurityNumber> bcSalarySsnList,
                                                                                         List<BudgetConstructionSalarySocialSecurityNumber> listForCalculateTotalPerson,
                                                                                         Map salaryFundingMap)

adjustPersonTotal

protected void adjustPersonTotal(BudgetConstructionReasonSummaryReportServiceImpl.PersonTotalHolder totalsHolder)

collectPersonTotal

protected void collectPersonTotal(Integer universityFiscalYear,
                                  Collection<BudgetConstructionSalaryFunding> salaryFundings,
                                  BudgetConstructionReasonSummaryReportServiceImpl.PersonTotalHolder totalsHolder)

calculateOrgTotal

protected Collection<BudgetConstructionOrgReasonSummaryReportTotal> calculateOrgTotal(Collection<BudgetConstructionOrgReasonSummaryReportTotal> reasonSummaryTotalPerson,
                                                                                      List<BudgetConstructionSalarySocialSecurityNumber> listForCalculateTotalOrg,
                                                                                      Map salaryFundingMap)

createReportTotal

protected BudgetConstructionOrgReasonSummaryReportTotal createReportTotal(BudgetConstructionSalarySocialSecurityNumber totalOrgEntry,
                                                                          BudgetConstructionReasonSummaryReportServiceImpl.OrganizationTotalHolder totalsHolder)

createReportTotal

protected BudgetConstructionOrgReasonSummaryReportTotal createReportTotal(BudgetConstructionSalarySocialSecurityNumber totalPersonEntry,
                                                                          BudgetConstructionReasonSummaryReportServiceImpl.PersonTotalHolder totalsHolder)

buildOrderByList

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

Returns:
returnList

deleteDuplicated

protected List deleteDuplicated(List list,
                                int mode)
Deletes duplicated entry from list

Parameters:
List - list
Returns:
a list that all duplicated entries were deleted

isSameSsnEntryForTotalPerson

protected boolean isSameSsnEntryForTotalPerson(BudgetConstructionSalarySocialSecurityNumber firstSsn,
                                               BudgetConstructionSalarySocialSecurityNumber secondSsn)

isSameSsnEntryForTotalOrg

protected boolean isSameSsnEntryForTotalOrg(BudgetConstructionSalarySocialSecurityNumber firstSsn,
                                            BudgetConstructionSalarySocialSecurityNumber secondSsn)

setBudgetConstructionSalarySummaryReportDao

public void setBudgetConstructionSalarySummaryReportDao(BudgetConstructionSalarySummaryReportDao budgetConstructionSalarySummaryReportDao)
Sets the budgetConstructionSalarySummaryReportDao attribute value.

Parameters:
budgetConstructionSalarySummaryReportDao - The budgetConstructionSalarySummaryReportDao to set.

setBudgetConstructionOrganizationReportsService

public void setBudgetConstructionOrganizationReportsService(BudgetConstructionOrganizationReportsService budgetConstructionOrganizationReportsService)
Sets the budgetConstructionOrganizationReportsService attribute value.

Parameters:
budgetConstructionOrganizationReportsService - The budgetConstructionOrganizationReportsService to set.

setBudgetConstructionReportsServiceHelper

public void setBudgetConstructionReportsServiceHelper(BudgetConstructionReportsServiceHelper budgetConstructionReportsServiceHelper)
Sets the budgetConstructionReportsServiceHelper attribute value.

Parameters:
budgetConstructionReportsServiceHelper - The budgetConstructionReportsServiceHelper to set.

setKualiConfigurationService

public void setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
Sets the kualiConfigurationService attribute value.

Parameters:
kualiConfigurationService - The kualiConfigurationService 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.