|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.gl.batch.NominalActivityClosingHelper
public class NominalActivityClosingHelper
This class helps generate the entries for the nominal activity closing year end job.
Constructor Summary | |
---|---|
NominalActivityClosingHelper(Integer fiscalYear,
Date transactionDate,
org.kuali.rice.kns.service.ParameterService parameterService,
org.kuali.rice.kns.service.KualiConfigurationService configurationService)
Constructs a NominalActivityClosingHelper |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NominalActivityClosingHelper(Integer fiscalYear, Date transactionDate, org.kuali.rice.kns.service.ParameterService parameterService, org.kuali.rice.kns.service.KualiConfigurationService 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 KualiConfigurationServiceMethod Detail |
---|
public 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 entry
FatalErrorException
- 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 full
FatalErrorException
- 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |