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

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

@Transactional
public class BudgetConstructionSalarySummaryReportServiceImpl
extends Object
implements BudgetConstructionSalarySummaryReportService

Service implementation of BudgetConstructionAccountSummaryReportService.


Nested Class Summary
protected  class BudgetConstructionSalarySummaryReportServiceImpl.OrganizationTotalHolder
           
protected  class BudgetConstructionSalarySummaryReportServiceImpl.PersonTotalHolder
           
 
Constructor Summary
BudgetConstructionSalarySummaryReportServiceImpl()
           
 
Method Summary
protected  void adjustPersonTotal(BudgetConstructionSalarySummaryReportServiceImpl.PersonTotalHolder totalsHolder)
           
 List<String> buildOrderByList()
          builds orderByList for sort order.
 List<String> buildOrderByListForSalaryFunding()
          builds orderByList for sort order.
 Collection<BudgetConstructionOrgSalarySummaryReport> buildReports(Integer universityFiscalYear, String principalName, BudgetConstructionReportThresholdSettings budgetConstructionReportThresholdSettings)
           
 void buildReportsBody(Integer universityFiscalYear, BudgetConstructionOrgSalarySummaryReport orgSalarySummaryReportEntry, BudgetConstructionSalaryFunding salaryFundingEntry, BudgetConstructionSalarySocialSecurityNumber bcSSN)
          builds report body
 void buildReportsHeader(Integer universityFiscalYear, String objectCodes, BudgetConstructionOrgSalarySummaryReport orgSalarySummaryReportEntry, BudgetConstructionSalaryFunding salaryFundingEntry, BudgetConstructionSalarySocialSecurityNumber bcSSN, BudgetConstructionReportThresholdSettings budgetConstructionReportThresholdSettings)
          builds report Header
 void buildReportsTotal(BudgetConstructionOrgSalarySummaryReport orgSalarySummaryReportEntry, BudgetConstructionSalarySocialSecurityNumber ssnEntry, Collection<BudgetConstructionOrgSalarySummaryReportTotal> salarySummaryTotalPerson, Collection<BudgetConstructionOrgSalarySummaryReportTotal> salarySummaryTotalOrg)
          build the total sections for the report
protected  Collection<BudgetConstructionOrgSalarySummaryReportTotal> calculateOrgTotal(Collection<BudgetConstructionOrgSalarySummaryReportTotal> salarySummaryTotalPerson, List<BudgetConstructionSalarySocialSecurityNumber> listForCalculateTotalOrg, Map salaryFundingMap)
           
protected  Collection<BudgetConstructionOrgSalarySummaryReportTotal> calculatePersonTotal(Integer universityFiscalYear, Collection<BudgetConstructionSalarySocialSecurityNumber> bcSalarySsnList, List<BudgetConstructionSalarySocialSecurityNumber> listForCalculateTotalPerson, Map salaryFundingMap)
           
protected  void collectPersonTotal(Integer universityFiscalYear, Collection<BudgetConstructionSalaryFunding> salaryFundings, BudgetConstructionSalarySummaryReportServiceImpl.PersonTotalHolder totalsHolder)
           
protected  BudgetConstructionOrgSalarySummaryReportTotal createReportTotal(BudgetConstructionSalarySocialSecurityNumber totalOrgEntry, BudgetConstructionSalarySummaryReportServiceImpl.OrganizationTotalHolder totalsHolder)
           
protected  BudgetConstructionOrgSalarySummaryReportTotal createReportTotal(BudgetConstructionSalarySocialSecurityNumber totalPersonEntry, BudgetConstructionSalarySummaryReportServiceImpl.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 setBudgetConstructionReportsServiceHelper(BudgetConstructionReportsServiceHelper budgetConstructionReportsServiceHelper)
          set the attribute budgetConstructionReportsServiceHelper
 void setBudgetConstructionSalarySummaryReportDao(BudgetConstructionSalarySummaryReportDao budgetConstructionSalarySummaryReportDao)
          set the attribute budgetConstructionSalarySummaryReportDao
 void setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
          set the attribute kualiConfigurationService
 void updateSalarySummaryReport(String principalName, Integer universityFiscalYear, BudgetConstructionReportThresholdSettings budgetConstructionReportThresholdSettings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BudgetConstructionSalarySummaryReportServiceImpl

public BudgetConstructionSalarySummaryReportServiceImpl()
Method Detail

updateSalarySummaryReport

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

buildReports

public Collection<BudgetConstructionOrgSalarySummaryReport> buildReports(Integer universityFiscalYear,
                                                                         String principalName,
                                                                         BudgetConstructionReportThresholdSettings budgetConstructionReportThresholdSettings)
Specified by:
buildReports in interface BudgetConstructionSalarySummaryReportService
See Also:
BudgetConstructionSalarySummaryReportService.buildReports(java.lang.Integer, java.lang.String, org.kuali.kfs.module.bc.businessobject.BudgetConstructionReportThresholdSettings)

buildReportsHeader

public void buildReportsHeader(Integer universityFiscalYear,
                               String objectCodes,
                               BudgetConstructionOrgSalarySummaryReport orgSalarySummaryReportEntry,
                               BudgetConstructionSalaryFunding salaryFundingEntry,
                               BudgetConstructionSalarySocialSecurityNumber bcSSN,
                               BudgetConstructionReportThresholdSettings budgetConstructionReportThresholdSettings)
builds report Header


buildReportsBody

public void buildReportsBody(Integer universityFiscalYear,
                             BudgetConstructionOrgSalarySummaryReport orgSalarySummaryReportEntry,
                             BudgetConstructionSalaryFunding salaryFundingEntry,
                             BudgetConstructionSalarySocialSecurityNumber bcSSN)
builds report body


buildReportsTotal

public void buildReportsTotal(BudgetConstructionOrgSalarySummaryReport orgSalarySummaryReportEntry,
                              BudgetConstructionSalarySocialSecurityNumber ssnEntry,
                              Collection<BudgetConstructionOrgSalarySummaryReportTotal> salarySummaryTotalPerson,
                              Collection<BudgetConstructionOrgSalarySummaryReportTotal> salarySummaryTotalOrg)
build the total sections for the report


calculatePersonTotal

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

createReportTotal

protected BudgetConstructionOrgSalarySummaryReportTotal createReportTotal(BudgetConstructionSalarySocialSecurityNumber totalPersonEntry,
                                                                          BudgetConstructionSalarySummaryReportServiceImpl.PersonTotalHolder totalsHolder)

adjustPersonTotal

protected void adjustPersonTotal(BudgetConstructionSalarySummaryReportServiceImpl.PersonTotalHolder totalsHolder)

collectPersonTotal

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

calculateOrgTotal

protected Collection<BudgetConstructionOrgSalarySummaryReportTotal> calculateOrgTotal(Collection<BudgetConstructionOrgSalarySummaryReportTotal> salarySummaryTotalPerson,
                                                                                      List<BudgetConstructionSalarySocialSecurityNumber> listForCalculateTotalOrg,
                                                                                      Map salaryFundingMap)

createReportTotal

protected BudgetConstructionOrgSalarySummaryReportTotal createReportTotal(BudgetConstructionSalarySocialSecurityNumber totalOrgEntry,
                                                                          BudgetConstructionSalarySummaryReportServiceImpl.OrganizationTotalHolder totalsHolder)

buildOrderByListForSalaryFunding

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

Returns:
returnList

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)
set the attribute budgetConstructionSalarySummaryReportDao

Parameters:
budgetConstructionSalarySummaryReportDao -

setKualiConfigurationService

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

Parameters:
kualiConfigurationService -

setBudgetConstructionReportsServiceHelper

public void setBudgetConstructionReportsServiceHelper(BudgetConstructionReportsServiceHelper budgetConstructionReportsServiceHelper)
set the attribute budgetConstructionReportsServiceHelper

Parameters:
budgetConstructionReportsServiceHelper -


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