| java.lang.Object org.kuali.module.gl.service.impl.scrubber.CollectorScrubberProcess
CollectorScrubberProcess | public class CollectorScrubberProcess (Code) | | This class scrubs the billing details in a collector batch. Note that all services used by this class are passed in as parameters
to the constructor. NOTE: IT IS IMPERATIVE that a new instance of this class is constructed and used to parse each batch. Sharing
instances to scrub multiple batches may lead to unpredictable results.
|
CollectorScrubberProcess | public CollectorScrubberProcess(CollectorBatch batch, OriginEntryService originEntryService, OriginEntryGroupService originEntryGroupService, KualiConfigurationService kualiConfigurationService, PersistenceService persistenceService, ScrubberService scrubberService, CollectorReportData collectorReportData)(Code) | | Constructs a CollectorScrubberProcess.java.
Parameters: batch - the batch to scrub Parameters: inputGroup - the origin entry group that holds all of the origin entries coming from the parsed input groups in thegiven batch Parameters: validGroup - the origin entry group that holds all of the origin entries coming that are in the origin entry scrubbervalid group Parameters: errorGroup - the origin entry group that holds all of the origin entries coming that are in the origin entry scrubbererror group Parameters: expiredGroup - are in the origin entry scrubber valid group that are in the origin entry scrubber expired group Parameters: originEntryService - the origin entry service that holds the origin entries in the batch (not necessarily the defaultimplementation) Parameters: originEntryGroupService - the origin entry group service that holds the 3 group parameters (not necessarily the defaultimplementation) Parameters: kualiConfigurationService - the config service Parameters: persistenceService - the persistence service |
applyChangesToDetailsFromScrubberEdits | protected void applyChangesToDetailsFromScrubberEdits(Map<OriginEntry, OriginEntry> unscrubbedToScrubbedEntries)(Code) | | Updates all Collector details with the data from scrubbed origin entries
Parameters: unscrubbedToScrubbedEntries - a Map relating original origin entries to scrubbed origin entries |
applyScrubberEditsToDetail | protected void applyScrubberEditsToDetail(OriginEntry originEntry, CollectorDetail detail)(Code) | | Updates the Collector detail with the data from a scrubbed entry
Parameters: originEntry - a scrubbed origin entry Parameters: detail - a Collector detail to update |
isOriginEntryRelatedToDetailRecord | protected boolean isOriginEntryRelatedToDetailRecord(OriginEntry originEntry, CollectorDetail detail)(Code) | | Determines if an origin entry is related to the given Collector detail record
Parameters: originEntry - the origin entry to check Parameters: detail - the Collector detail to check against true if the origin entry is related, false otherwise |
removeInterDepartmentalBillingAssociatedWithErrorGroup | protected void removeInterDepartmentalBillingAssociatedWithErrorGroup()(Code) | | This method's purpose is similar to the scrubber's demerger. This method scans through all of the origin entries and removes
those billing details that share the same doc number, doc type, and origination code
|
removeInterDepartmentalBillingNotAssociatedWithInputEntries | protected void removeInterDepartmentalBillingNotAssociatedWithInputEntries()(Code) | | Removes Collector IB details not associated with entries in the Collector data
|
retainBatchValidEntriesOnly | protected void retainBatchValidEntriesOnly()(Code) | | Updates the origin entries read in by the collector are only the entries the scrubber declared valid
|
retrieveTotalsOnInputOriginEntriesAssociatedWithErrorGroup | protected void retrieveTotalsOnInputOriginEntriesAssociatedWithErrorGroup()(Code) | | Computes the totals of the input entries that were associated with the entries in the error group, which is created in the
scrubber. For the purposes of this method, an input origin entry associated with the error group is (1) an origin entry that
was parsed from the collector file (i.e. in the input group), and (2) these exists an origin entry in the error group such
that the input origin entry and the error origin entry have equal doc number, doc type, and origination code. These totals
are reflected in the collector report data object.
|
scrub | public CollectorScrubberStatus scrub()(Code) | | Scrubs the entries read in by the Collector
a CollectorScrubberStatus object encapsulating the results of the scrubbing process |
|
|