public interface ScrubberProcess
Modifier and Type | Method and Description |
---|---|
Date |
calculateRunDate(Date currentDate)
This method modifies the run date if it is before the cutoff time specified by the RunTimeService See
KULRNE-70 This method is public to facilitate unit testing
|
void |
performDemerger()
The demerger process reads all of the documents in the error group, then moves all of the original entries for that document
from the valid group to the error group.
|
void |
scrubCollectorBatch(ScrubberStatus scrubberStatus,
CollectorBatch batch,
CollectorReportData collectorReportData)
Scrubs the origin entry and ID billing details if the given batch.
|
void |
scrubEntries()
Scrubs all entries in all groups and documents.
|
void |
scrubEntries(boolean reportOnlyMode,
String documentNumber)
Scrub all entries that need it in origin entry.
|
void |
scrubGroupReportOnly(String fileName,
String documentNumber)
Scrub this single group read only.
|
void |
setCostShareObjectCode(OriginEntryFull costShareEntry,
OriginEntryInformation originEntry)
Sets the proper cost share object code in an entry and its offset
|
void scrubGroupReportOnly(String fileName, String documentNumber)
group
- the origin entry group that should be scrubbedthe
- document number of any specific entries to scrubvoid scrubEntries()
void scrubCollectorBatch(ScrubberStatus scrubberStatus, CollectorBatch batch, CollectorReportData collectorReportData)
batch
- the data gathered from a Collector filecollectorReportData
- the statistics generated by running the Collectorvoid scrubEntries(boolean reportOnlyMode, String documentNumber)
group
- the specific origin entry group to scrubdocumentNumber
- the number of the document with entries to scrubvoid performDemerger()
errorGroup
- this scrubber run's error groupvalidGroup
- this scrubber run's valid groupvoid setCostShareObjectCode(OriginEntryFull costShareEntry, OriginEntryInformation originEntry)
costShareEntry
- GL Entry for cost shareoriginEntry
- Scrubbed GL Entry that this is based onDate calculateRunDate(Date currentDate)
currentDate
- the date the scrubber should report as having run onCopyright © 2004–2015 The Kuali Foundation. All rights reserved.