|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.gl.batch.service.impl.YearEndServiceImpl
@Transactional public class YearEndServiceImpl
This class implements the logic to perform year end tasks.
| Field Summary | |
|---|---|
static String |
TRANSACTION_DATE_FORMAT_STRING
|
| Constructor Summary | |
|---|---|
YearEndServiceImpl()
Constructs a YearEndServiceImpl, and that's about it. |
|
| Method Summary | |
|---|---|
void |
closeNominalActivity(String nominalClosingFileName,
Map nominalClosingJobParameters)
This class actually generates all the origin entries for nominal activity closing and saves them to the proper origin entry group. |
void |
forwardBalances(String balanceForwardsUnclosedFileName,
String balanceForwardsclosedFileName,
BalanceForwardRuleHelper balanceForwardRuleHelper)
This method handles executing the loop over all balances, and generating reports on the balance forwarding process as a whole. |
void |
forwardEncumbrances(String encumbranceForwardFileName,
Map jobParameters,
Map<String,Integer> counts)
Create origin entries to carry forward all open encumbrances from the closing fiscal year into the opening fiscal year. |
ReportWriterService |
getBalanceForwardReportWriterService()
Gets the balanceForwardReportWriterService attribute. |
EncumbranceClosingOriginEntryGenerationService |
getEncumbranceClosingOriginEntryGenerationService()
Gets the encumbranceClosingOriginEntryGenerationService attribute. |
ReportWriterService |
getEncumbranceClosingReportWriterService()
Gets the encumbranceClosingReportWriterService attribute. |
ReportWriterService |
getNominalActivityClosingReportWriterService()
Gets the nominalActivityClosingReportWriterService attribute. |
protected int |
incrementCount(Map<String,Integer> counts,
String countName)
A method that increments a count within a Map by 1 |
void |
logAllMissingPriorYearAccounts(Integer fiscalYear)
Logs all of the missing prior year accounts that balances and encumbrances processed by year end jobs would attempt to call on |
void |
logAllMissingSubFundGroups(Integer fiscalYear)
Logs all of the missing sub fund groups that balances and encumbrances processed by the year end job would attempt to call on |
void |
setBalanceForwardReportWriterService(ReportWriterService balanceForwardReportWriterService)
Sets the balanceForwardReportWriterService attribute value. |
void |
setBalanceService(BalanceService balanceService)
|
void |
setBalanceTypeService(BalanceTypeService balanceTypeService)
|
void |
setBatchFileDirectoryName(String batchFileDirectoryName)
|
void |
setConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService configurationService)
|
void |
setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
|
void |
setEncumbranceClosingOriginEntryGenerationService(EncumbranceClosingOriginEntryGenerationService encumbranceClosingOriginEntryGenerationService)
Sets the encumbranceClosingOriginEntryGenerationService attribute value. |
void |
setEncumbranceClosingReportWriterService(ReportWriterService encumbranceClosingReportWriterService)
Sets the encumbranceClosingReportWriterService attribute value. |
void |
setEncumbranceDao(EncumbranceDao encumbranceDao)
Sets the encumbranceDao attribute, allowing the injection of an implementation of the data access object that uses a specific O/R mechanism. |
void |
setNominalActivityClosingReportWriterService(ReportWriterService nominalActivityClosingReportWriterService)
Sets the nominalActivityClosingReportWriterService attribute value. |
void |
setObjectTypeService(ObjectTypeService objectTypeService)
|
void |
setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)
|
void |
setOriginEntryService(OriginEntryService originEntryService)
Sets the originEntryService attribute, allowing the injection of an implementation of that service |
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
|
void |
setPersistenceService(org.kuali.rice.kns.service.PersistenceService persistenceService)
Sets the persistenceService attribute value. |
void |
setPriorYearAccountService(PriorYearAccountService priorYearAccountService)
|
void |
setSubFundGroupService(SubFundGroupService subFundGroupService)
|
void |
setYearEndDao(YearEndDao yearEndDao)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TRANSACTION_DATE_FORMAT_STRING
| Constructor Detail |
|---|
public YearEndServiceImpl()
| Method Detail |
|---|
public void closeNominalActivity(String nominalClosingFileName,
Map nominalClosingJobParameters)
closeNominalActivity in interface YearEndServicenominalClosingOriginEntryGroup - the origin entry group to save the generated nominal closing entries tonominalClosingJobParameters - a map of parameters for the job:nominalClosingCounts - various statistical countsorg.kuali.kfs.gl.batch.service.YearEndService#closeNominalActivity()
protected int incrementCount(Map<String,Integer> counts,
String countName)
counts - a Map of count statisticscountName - the name of the specific count ot update
public void forwardBalances(String balanceForwardsUnclosedFileName,
String balanceForwardsclosedFileName,
BalanceForwardRuleHelper balanceForwardRuleHelper)
forwardBalances in interface YearEndServicebalanceForwardsUnclosedPriorYearAccountGroup - the origin entry group to save balance forwarding origin entries with
open accountsbalanceForwardsClosedPriorYearAccountGroup - the origin entry group to save balance forwarding origin entries with
closed accountsbalanceForwardRuleHelper - the BalanceForwardRuleHelper which holds the important state - the job parameters and
statistics - for the job to run
public void forwardEncumbrances(String encumbranceForwardFileName,
Map jobParameters,
Map<String,Integer> counts)
forwardEncumbrances in interface YearEndServiceoriginEntryGroup - the origin entry group where generated origin entries should be savedjobParameters - the parameters necessary to run this job: the fiscal year to close and the university date the job was
runforwardEncumbrancesCounts - the statistical counts generated by this jobpublic void logAllMissingPriorYearAccounts(Integer fiscalYear)
YearEndService
logAllMissingPriorYearAccounts in interface YearEndServicebalanceFiscalYear - the fiscal year to find balances encumbrances forYearEndService.logAllMissingPriorYearAccounts(java.lang.Integer)public void logAllMissingSubFundGroups(Integer fiscalYear)
YearEndService
logAllMissingSubFundGroups in interface YearEndServicebalanceFiscalYear - the fiscal year to find balances encumbrances forYearEndService.logAllMissingSubFundGroups(java.lang.Integer)public void setEncumbranceDao(EncumbranceDao encumbranceDao)
encumbranceDao - the implementation of encumbranceDao to setEncumbranceDaopublic void setOriginEntryService(OriginEntryService originEntryService)
originEntryService - the implementation of originEntryService to setOriginEntryServicepublic void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
public void setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)
public void setBalanceService(BalanceService balanceService)
public void setBalanceTypeService(BalanceTypeService balanceTypeService)
public void setObjectTypeService(ObjectTypeService objectTypeService)
public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
public void setPriorYearAccountService(PriorYearAccountService priorYearAccountService)
public void setSubFundGroupService(SubFundGroupService subFundGroupService)
public void setPersistenceService(org.kuali.rice.kns.service.PersistenceService persistenceService)
persistenceService - The persistenceService to set.public void setYearEndDao(YearEndDao yearEndDao)
public void setConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService configurationService)
public void setBatchFileDirectoryName(String batchFileDirectoryName)
public EncumbranceClosingOriginEntryGenerationService getEncumbranceClosingOriginEntryGenerationService()
public void setEncumbranceClosingOriginEntryGenerationService(EncumbranceClosingOriginEntryGenerationService encumbranceClosingOriginEntryGenerationService)
encumbranceClosingOriginEntryGenerationService - The encumbranceClosingOriginEntryGenerationService to set.public ReportWriterService getNominalActivityClosingReportWriterService()
public void setNominalActivityClosingReportWriterService(ReportWriterService nominalActivityClosingReportWriterService)
nominalActivityClosingReportWriterService - The nominalActivityClosingReportWriterService to set.public ReportWriterService getBalanceForwardReportWriterService()
public void setBalanceForwardReportWriterService(ReportWriterService balanceForwardReportWriterService)
balanceForwardReportWriterService - The balanceForwardReportWriterService to set.public ReportWriterService getEncumbranceClosingReportWriterService()
public void setEncumbranceClosingReportWriterService(ReportWriterService encumbranceClosingReportWriterService)
encumbranceClosingReportWriterService - The encumbranceClosingReportWriterService to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||