public interface CollectorHelperService
Modifier and Type | Method and Description |
---|---|
boolean |
checkTrailerTotals(CollectorBatch batch,
CollectorReportData collectorReportData)
Reconciles the trailer total count and amount to the actual parsed contents.
|
boolean |
loadCollectorFile(String fileName,
CollectorReportData collectorReportData,
List<CollectorScrubberStatus> collectorScrubberStatuses,
BatchInputFileType collectorInputFileType,
PrintStream originEntryOutputPs)
Loads the file given by the filename, then performs the collector process: parse, validate, store, email.
|
boolean |
performValidation(CollectorBatch batch)
Validates the contents of a parsed file.
|
boolean loadCollectorFile(String fileName, CollectorReportData collectorReportData, List<CollectorScrubberStatus> collectorScrubberStatuses, BatchInputFileType collectorInputFileType, PrintStream originEntryOutputPs)
fileName
- - name of file to load (including path)group
- the group into which to persist the origin entries for the collector batch/filecollectorReportData
- the object used to store all of the collector status information for reportingcollectorScrubberStatuses
- if the collector scrubber is able to be invoked upon this collector batch, then the status
info of the collector status run is added to the end of this listthe
- output stream to which to store origin entries that properly pass validationboolean performValidation(CollectorBatch batch)
batch
- - batch to validateboolean checkTrailerTotals(CollectorBatch batch, CollectorReportData collectorReportData)
batch
- - batch to check trailercollectorReportData
- if running the actual collector batch process, should be the object representing the reporting
data for the batch run. Otherwise, if running in the batch upload screen or in a manner in which reporting information
is not needed, then null may be passed inCopyright © 2004–2015 The Kuali Foundation. All rights reserved.