@Transactional public class YearEndServiceImpl extends Object implements YearEndService
Modifier and Type | Field and Description |
---|---|
static String |
TRANSACTION_DATE_FORMAT_STRING |
Constructor and Description |
---|
YearEndServiceImpl()
Constructs a YearEndServiceImpl, and that's about it.
|
Modifier and Type | Method and Description |
---|---|
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
|
boolean |
isPurchaseOrderOpen(Encumbrance encumbrance) |
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.core.api.config.property.ConfigurationService configurationService) |
void |
setDateTimeService(org.kuali.rice.core.api.datetime.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.coreservice.framework.parameter.ParameterService parameterService) |
void |
setPersistenceService(org.kuali.rice.krad.service.PersistenceService persistenceService)
Sets the persistenceService attribute value.
|
void |
setPriorYearAccountService(PriorYearAccountService priorYearAccountService) |
void |
setSubFundGroupService(SubFundGroupService subFundGroupService) |
void |
setYearEndDao(YearEndDao yearEndDao) |
public static final String TRANSACTION_DATE_FORMAT_STRING
public YearEndServiceImpl()
public void closeNominalActivity(String nominalClosingFileName, Map nominalClosingJobParameters)
closeNominalActivity
in interface YearEndService
nominalClosingOriginEntryGroup
- the origin entry group to save the generated nominal closing entries tonominalClosingJobParameters
- a map of parameters for the job:nominalClosingCounts
- various statistical countsorg.kuali.ole.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 updatepublic void forwardBalances(String balanceForwardsUnclosedFileName, String balanceForwardsclosedFileName, BalanceForwardRuleHelper balanceForwardRuleHelper)
forwardBalances
in interface YearEndService
balanceForwardsUnclosedPriorYearAccountGroup
- 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 runpublic void forwardEncumbrances(String encumbranceForwardFileName, Map jobParameters, Map<String,Integer> counts)
forwardEncumbrances
in interface YearEndService
originEntryGroup
- 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 boolean isPurchaseOrderOpen(Encumbrance encumbrance)
public void logAllMissingPriorYearAccounts(Integer fiscalYear)
YearEndService
logAllMissingPriorYearAccounts
in interface YearEndService
balanceFiscalYear
- the fiscal year to find balances encumbrances forYearEndService.logAllMissingPriorYearAccounts(java.lang.Integer)
public void logAllMissingSubFundGroups(Integer fiscalYear)
YearEndService
logAllMissingSubFundGroups
in interface YearEndService
balanceFiscalYear
- the fiscal year to find balances encumbrances forYearEndService.logAllMissingSubFundGroups(java.lang.Integer)
public void setEncumbranceDao(EncumbranceDao encumbranceDao)
encumbranceDao
- the implementation of encumbranceDao to setEncumbranceDao
public void setOriginEntryService(OriginEntryService originEntryService)
originEntryService
- the implementation of originEntryService to setOriginEntryService
public void setDateTimeService(org.kuali.rice.core.api.datetime.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.coreservice.framework.parameter.ParameterService parameterService)
public void setPriorYearAccountService(PriorYearAccountService priorYearAccountService)
public void setSubFundGroupService(SubFundGroupService subFundGroupService)
public void setPersistenceService(org.kuali.rice.krad.service.PersistenceService persistenceService)
persistenceService
- The persistenceService to set.public void setYearEndDao(YearEndDao yearEndDao)
public void setConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService 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.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.