public class NominalActivityClosingHelper extends Object
| Constructor and Description | 
|---|
| NominalActivityClosingHelper(Integer fiscalYear,
                                                        Date transactionDate,
                                                        org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService,
                                                        org.kuali.rice.core.api.config.property.ConfigurationService configurationService)Constructs a NominalActivityClosingHelper | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addNominalClosingJobParameters(Map nominalClosingJobParameters)Adds the job parameters used to generate the origin entries to the given map | 
| OriginEntryFull | generateActivityEntry(Balance balance,
                                          Integer sequenceNumber)Generates an origin entry that will summarize close out of nominal items (income and expense) | 
| OriginEntryFull | generateOffset(Balance balance,
                            Integer sequenceNumber)Genereates an origin entry to update a fund balance as a result of closing income and expense | 
| Integer | getNonFatalErrorCount()Returns the count of non-fatal errors encountered during the process by this helper | 
public NominalActivityClosingHelper(Integer fiscalYear, Date transactionDate, org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService, org.kuali.rice.core.api.config.property.ConfigurationService configurationService)
fiscalYear - the fiscal year this job is being run fortransactionDate - the transaction date that origin entries should hit the ledgerparameterService - an implementation of the ParameterServiceconfigurationService - an implementation of the ConfigurationServicepublic OriginEntryFull generateActivityEntry(Balance balance, Integer sequenceNumber) throws FatalErrorException
balance - the balance this activity closing entry needs to be created forsequenceNumber - the sequence number of the origin entryFatalErrorException - thrown if the given balance lacks an object type codepublic OriginEntryFull generateOffset(Balance balance, Integer sequenceNumber) throws FatalErrorException
balance - the balance this offset needs to be created forsequenceNumber - the sequence number of the origin entry fullFatalErrorException - thrown if the given balance lacks an object type codepublic void addNominalClosingJobParameters(Map nominalClosingJobParameters)
nominalClosingJobParameters - a map of batch job parameters to add nominal activity closing parameters topublic Integer getNonFatalErrorCount()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.