|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.module.ld.batch.service.impl.LaborBalanceSummaryReportServiceImpl
public class LaborBalanceSummaryReportServiceImpl
Implements a set of methods that can generate labor balance summary reports
Constructor Summary | |
---|---|
LaborBalanceSummaryReportServiceImpl()
|
Method Summary | |
---|---|
void |
generateBalanceSummaryReports()
Generate the summary reports for the actual, budget and encumbrance balances |
void |
generateBalanceSummaryReports(Date runDate)
generate a set of balance summary reports for actual, budget and encumbrance balances |
protected void |
generateBalanceSummaryReports(Integer fiscalYear,
Date runDate)
|
protected void |
generatePosterOutputSummaryReport(Date runDate)
Generates reports about the output of a poster run. |
protected List<String> |
getActualBalanceTypes(Integer fiscalYear)
get the actual balance type codes for the given fiscal year |
protected List<String> |
getBudgetBalanceTypes(Integer fiscalYear)
get the budget balance type codes for the given fiscal year |
protected List<String> |
getEncumbranceBalanceTypes(Integer fiscalYear)
get the encumbrance balance type codes for the given fiscal year |
protected boolean |
isInYearEndLowerBound(Date runDate,
String yearEndPeriodLowerBound,
String lastDayOfFiscalYear)
determine if the given date is within the lower bound of year end period |
protected boolean |
isInYearEndPeriod(Date runDate,
String yearEndPeriodLowerBound,
String yearEndPeriodUpperBound,
String lastDayOfFiscalYear)
determine if the given date is within the year end period |
protected boolean |
isInYearEndUpperBound(Date runDate,
String yearEndPeriodUpperBound,
String lastDayOfFiscalYear)
determine if the given date is within the upper bound of year end period |
void |
setBatchFileDirectoryName(String batchFileDirectoryName)
Sets the batchFileDirectoryName attribute value. |
void |
setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
Sets the dateTimeService attribute value. |
void |
setLaborActualBalanceSummaryReportWriterService(FiscalYearAwareReportWriterService laborActualBalanceSummaryReportWriterService)
Sets the laborActualBalanceSummaryReportWriterService attribute value. |
void |
setLaborBudgetBalanceSummaryReportWriterService(FiscalYearAwareReportWriterService laborBudgetBalanceSummaryReportWriterService)
Sets the laborBudgetBalanceSummaryReportWriterService attribute value. |
void |
setLaborEncumbranceSummaryReportWriterService(FiscalYearAwareReportWriterService laborEncumbranceSummaryReportWriterService)
Sets the laborEncumbranceSummaryReportWriterService attribute value. |
void |
setLaborLedgerBalanceService(LaborLedgerBalanceService laborLedgerBalanceService)
Sets the laborLedgerBalanceService attribute value. |
void |
setLaborPosterOutputSummaryReportWriterService(ReportWriterService laborPosterOutputSummaryReportWriterService)
Sets the laborPosterOutputSummaryReportWriterService attribute value. |
void |
setOptionsService(OptionsService optionsService)
Sets the optionsService attribute value. |
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Sets the parameterService attribute value. |
protected void |
writeSummaryReport(Integer fiscalYear,
List<String> balanceTypes,
FiscalYearAwareReportWriterService reportWriterService)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LaborBalanceSummaryReportServiceImpl()
Method Detail |
---|
public void generateBalanceSummaryReports()
LaborBalanceSummaryReportService
generateBalanceSummaryReports
in interface LaborBalanceSummaryReportService
LaborBalanceSummaryReportService.generateBalanceSummaryReports()
public void generateBalanceSummaryReports(Date runDate)
LaborBalanceSummaryReportService
generateBalanceSummaryReports
in interface LaborBalanceSummaryReportService
runDate
- the data when the report generation startsLaborBalanceSummaryReportService.generateBalanceSummaryReports(java.sql.Date)
protected void generateBalanceSummaryReports(Integer fiscalYear, Date runDate)
protected void writeSummaryReport(Integer fiscalYear, List<String> balanceTypes, FiscalYearAwareReportWriterService reportWriterService)
protected void generatePosterOutputSummaryReport(Date runDate)
runDate
- the date the poster was run.protected List<String> getEncumbranceBalanceTypes(Integer fiscalYear)
fiscalYear
- the given fiscal year
protected List<String> getActualBalanceTypes(Integer fiscalYear)
fiscalYear
- the given fiscal year
protected List<String> getBudgetBalanceTypes(Integer fiscalYear)
fiscalYear
- the given fiscal year
protected boolean isInYearEndPeriod(Date runDate, String yearEndPeriodLowerBound, String yearEndPeriodUpperBound, String lastDayOfFiscalYear)
runDate
- the given dateyearEndPeriodLowerBound
- the lower bound date of year end periodyearEndPeriodUpperBound
- the upper bound date of year end periodlastDayOfFiscalYear
- the last day of the current fiscal year
protected boolean isInYearEndLowerBound(Date runDate, String yearEndPeriodLowerBound, String lastDayOfFiscalYear)
runDate
- the given dateyearEndPeriodLowerBound
- the lower bound date of year end periodlastDayOfFiscalYear
- the last day of the current fiscal year
protected boolean isInYearEndUpperBound(Date runDate, String yearEndPeriodUpperBound, String lastDayOfFiscalYear)
runDate
- the given dateyearEndPeriodUpperBound
- the upper bound date of year end periodlastDayOfFiscalYear
- the last day of the current fiscal year
public void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
dateTimeService
- The dateTimeService to set.public void setOptionsService(OptionsService optionsService)
optionsService
- The optionsService to set.public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
parameterService
- The parameterService to set.public void setLaborLedgerBalanceService(LaborLedgerBalanceService laborLedgerBalanceService)
laborLedgerBalanceService
- The laborLedgerBalanceService to set.public void setLaborActualBalanceSummaryReportWriterService(FiscalYearAwareReportWriterService laborActualBalanceSummaryReportWriterService)
laborActualBalanceSummaryReportWriterService
- The laborActualBalanceSummaryReportWriterService to set.public void setLaborBudgetBalanceSummaryReportWriterService(FiscalYearAwareReportWriterService laborBudgetBalanceSummaryReportWriterService)
laborBudgetBalanceSummaryReportWriterService
- The laborBudgetBalanceSummaryReportWriterService to set.public void setLaborEncumbranceSummaryReportWriterService(FiscalYearAwareReportWriterService laborEncumbranceSummaryReportWriterService)
laborEncumbranceSummaryReportWriterService
- The laborEncumbranceSummaryReportWriterService to set.public void setLaborPosterOutputSummaryReportWriterService(ReportWriterService laborPosterOutputSummaryReportWriterService)
laborPosterOutputSummaryReportWriterService
- The laborPosterOutputSummaryReportWriterService to set.public void setBatchFileDirectoryName(String batchFileDirectoryName)
batchFileDirectoryName
- The batchFileDirectoryName to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |