| org.kuali.module.gl.service.CollectorScrubberService
All known Subclasses: org.kuali.module.gl.service.impl.scrubber.CollectorScrubberServiceImpl,
CollectorScrubberService | public interface CollectorScrubberService (Code) | | An interface declaring the methods needed to scrub Collector data
|
removeTempGroups | public void removeTempGroups(Collection<CollectorScrubberStatus> allStatusObjectsFromCollectorExecution)(Code) | | Removes any temporarily created origin entries and origin entry groups so that they won't be persisted after the transaction
is committed.
Parameters: allStatusObjectsFromCollectorExecution - a Collection of ScrubberStatus records to help find bad Collector data |
scrub | public CollectorScrubberStatus scrub(CollectorBatch batch, CollectorReportData collectorReportData)(Code) | | Runs the scrubber on the origin entries in the batch. Any OEs edits/removals result of the scrub and demerger are removed
from the batch, and the same changes are reflected in the details in the same batch.
Parameters: batch - the data read in by the Collector Parameters: collectorReportData - statistics generated by the scrub run on the Collector data an object with the collector scrubber status. Note that it contains references to at least 4 origin entry groups, andthe origin entry group service and origin entry service under which these groups and their entries are stored. Thegroups and their entries are created to facilitate the scrub and reporting processes, and they should not bepersisted after the collector finishes running. Therefore, an collection of all CollectorScrubberStatus objectsreturned in a single collector execution (i.e. from a nightly job) must be passed into a parameter to theCollectorScrubberService.removeTempGroups(Collection) method.. The service definitions are needed because the collector may choose tostore temporary origin entries and origin entry groups in another service segregated from the database. |
|
|