| org.kuali.module.gl.service.CollectorHelperService
All known Subclasses: org.kuali.module.gl.service.impl.CollectorHelperServiceImpl,
CollectorHelperService | public interface CollectorHelperService (Code) | | Provides methods for processing gl incoming batch files.
|
checkTrailerTotals | public boolean checkTrailerTotals(CollectorBatch batch, CollectorReportData collectorReportData)(Code) | | Reconciles the trailer total count and amount to the actual parsed contents.
Parameters: batch - - batch to check trailer Parameters: collectorReportData - if running the actual collector batch process, should be the object representing the reportingdata for the batch run. Otherwise, if running in the batch upload screen or in a manner in which reporting informationis not needed, then null may be passed in boolean - true if trailer check was OK, false if totals did not match |
loadCollectorFile | public boolean loadCollectorFile(String fileName, OriginEntryGroup group, CollectorReportData collectorReportData, List<CollectorScrubberStatus> collectorScrubberStatuses)(Code) | | Loads the file given by the filename, then performs the collector process: parse, validate, store, email.
Parameters: fileName - - name of file to load (including path) Parameters: group - the group into which to persist the origin entries for the collector batch/file Parameters: collectorReportData - the object used to store all of the collector status information for reporting Parameters: collectorScrubberStatuses - if the collector scrubber is able to be invoked upon this collector batch, then the statusinfo of the collector status run is added to the end of this list boolean - true if load was successful, false if errors were encountered |
performValidation | public boolean performValidation(CollectorBatch batch)(Code) | | Validates the contents of a parsed file.
Parameters: batch - - batch to validate boolean - true if validation was OK, false if there were errors |
|
|