public class CollectorScrubberProcess extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected CollectorBatch | batch | 
| protected String | collectorFileDirectoryName | 
| protected CollectorReportData | collectorReportData | 
| protected org.kuali.rice.core.api.datetime.DateTimeService | dateTimeService | 
| protected Set<DocumentGroupData> | errorDocumentGroups | 
| protected String | errorFileName | 
| protected String | expiredFileName | 
| protected String | inputFileName | 
| protected org.kuali.rice.core.api.config.property.ConfigurationService | kualiConfigurationService | 
| protected org.kuali.rice.krad.service.PersistenceService | persistenceService | 
| protected ScrubberService | scrubberService | 
| protected String | validFileName | 
| Constructor and Description | 
|---|
| CollectorScrubberProcess(CollectorBatch batch,
                                                org.kuali.rice.core.api.config.property.ConfigurationService kualiConfigurationService,
                                                org.kuali.rice.krad.service.PersistenceService persistenceService,
                                                ScrubberService scrubberService,
                                                CollectorReportData collectorReportData,
                                                org.kuali.rice.core.api.datetime.DateTimeService dateTimeService,
                                                String collectorFileDirectoryName)Constructs a CollectorScrubberProcess.java. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | applyChangesToDetailsFromScrubberEdits(Map<OriginEntryInformation,OriginEntryInformation> unscrubbedToScrubbedEntries)Updates all Collector details with the data from scrubbed origin entries | 
| protected void | applyScrubberEditsToDetail(OriginEntryInformation originEntry,
                                                    CollectorDetail detail)Updates the Collector detail with the data from a scrubbed entry | 
| protected boolean | isOriginEntryRelatedToDetailRecord(OriginEntryInformation originEntry,
                                                                    CollectorDetail detail)Determines if an origin entry is related to the given Collector detail record | 
| protected void | removeInterDepartmentalBillingAssociatedWithErrorGroup()This method's purpose is similar to the scrubber's demerger. | 
| protected void | removeInterDepartmentalBillingNotAssociatedWithInputEntries()Removes Collector IB details not associated with entries in the Collector data | 
| protected void | retrieveErrorDocumentGroups()Based on the origin entries in the origin entry scrubber-produced error group, creates a set of all  DocumentGroupDatas
 represented by those origin entries and initializes theerrorDocumentGroupsvariable | 
| protected void | retrieveTotalsOnInputOriginEntriesAssociatedWithErrorGroup()Computes the totals of the input entries that were associated with the entries in the error group, which is created in the
 scrubber. | 
| CollectorScrubberStatus | scrub()Scrubs the entries read in by the Collector | 
protected CollectorBatch batch
protected String inputFileName
protected String validFileName
protected String errorFileName
protected String expiredFileName
protected org.kuali.rice.core.api.config.property.ConfigurationService kualiConfigurationService
protected org.kuali.rice.krad.service.PersistenceService persistenceService
protected CollectorReportData collectorReportData
protected ScrubberService scrubberService
protected org.kuali.rice.core.api.datetime.DateTimeService dateTimeService
protected Set<DocumentGroupData> errorDocumentGroups
protected String collectorFileDirectoryName
public CollectorScrubberProcess(CollectorBatch batch, org.kuali.rice.core.api.config.property.ConfigurationService kualiConfigurationService, org.kuali.rice.krad.service.PersistenceService persistenceService, ScrubberService scrubberService, CollectorReportData collectorReportData, org.kuali.rice.core.api.datetime.DateTimeService dateTimeService, String collectorFileDirectoryName)
batch - the batch to scrubinputGroup - the origin entry group that holds all of the origin entries coming from the parsed input groups in the
        given batchvalidGroup - the origin entry group that holds all of the origin entries coming that are in the origin entry scrubber
        valid grouperrorGroup - the origin entry group that holds all of the origin entries coming that are in the origin entry scrubber
        error groupexpiredGroup - are in the origin entry scrubber valid group that are in the origin entry scrubber expired grouporiginEntryService - the origin entry service that holds the origin entries in the batch (not necessarily the default
        implementation)originEntryGroupService - the origin entry group service that holds the 3 group parameters (not necessarily the default
        implementation)kualiConfigurationService - the config servicepersistenceService - the persistence servicepublic CollectorScrubberStatus scrub()
protected void removeInterDepartmentalBillingNotAssociatedWithInputEntries()
protected void removeInterDepartmentalBillingAssociatedWithErrorGroup()
protected boolean isOriginEntryRelatedToDetailRecord(OriginEntryInformation originEntry, CollectorDetail detail)
originEntry - the origin entry to checkdetail - the Collector detail to check againstprotected void applyScrubberEditsToDetail(OriginEntryInformation originEntry, CollectorDetail detail)
originEntry - a scrubbed origin entrydetail - a Collector detail to updateprotected void applyChangesToDetailsFromScrubberEdits(Map<OriginEntryInformation,OriginEntryInformation> unscrubbedToScrubbedEntries)
unscrubbedToScrubbedEntries - a Map relating original origin entries to scrubbed origin entriesprotected void retrieveErrorDocumentGroups()
DocumentGroupDatas
 represented by those origin entries and initializes the errorDocumentGroups variableprotected void retrieveTotalsOnInputOriginEntriesAssociatedWithErrorGroup()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.