org.kuali.kfs.gl.service.impl
Class ScrubberServiceImpl

java.lang.Object
  extended by org.kuali.kfs.gl.service.impl.ScrubberServiceImpl
All Implemented Interfaces:
ScrubberService

@Transactional
public class ScrubberServiceImpl
extends Object
implements ScrubberService

The default implementation of ScrubberService


Field Summary
protected static String COLLECTOR_SCRUBBER_PROCESS_BEAN_NAME
           
 
Constructor Summary
ScrubberServiceImpl()
           
 
Method Summary
 void performDemerger()
           
 void scrubCollectorBatch(ScrubberStatus scrubberStatus, CollectorBatch batch, CollectorReportData collectorReportData)
          Scrubs data read in by the Collector
 void scrubEntries()
          Scrubs all of the entries in all origin entry groups that are up for scrubbing
 void scrubGroupReportOnly(String fileName, String documentNumber)
          This process will call the scrubber in a read only mode.
 void setDemergerScrubberProcess(ScrubberProcess demergerScrubberProcess)
          Sets the demergerScrubberProcess attribute value.
 void setReportOnlyScrubberProcess(ScrubberProcess reportOnlyScrubberProcess)
          Sets the reportOnlyScrubberProcess attribute value.
 void setScrubberProcess(ScrubberProcess scrubberProcess)
          Sets the scrubberProcess attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLLECTOR_SCRUBBER_PROCESS_BEAN_NAME

protected static final String COLLECTOR_SCRUBBER_PROCESS_BEAN_NAME
See Also:
Constant Field Values
Constructor Detail

ScrubberServiceImpl

public ScrubberServiceImpl()
Method Detail

scrubGroupReportOnly

public void scrubGroupReportOnly(String fileName,
                                 String documentNumber)
This process will call the scrubber in a read only mode. It will scrub a single group, won't create any output in origin entry. It will create a the scrubber report

Specified by:
scrubGroupReportOnly in interface ScrubberService
Parameters:
group - the origin entry group to scrub for report
documentNumber - the id of documents which generated origin entries that should be scrubbed
See Also:
org.kuali.kfs.gl.service.ScrubberService#scrubGroupReportOnly(org.kuali.kfs.gl.businessobject.OriginEntryGroup)

scrubEntries

public void scrubEntries()
Scrubs all of the entries in all origin entry groups that are up for scrubbing

Specified by:
scrubEntries in interface ScrubberService
See Also:
ScrubberService.scrubEntries()

scrubCollectorBatch

public void scrubCollectorBatch(ScrubberStatus scrubberStatus,
                                CollectorBatch batch,
                                CollectorReportData collectorReportData)
Scrubs data read in by the Collector

Specified by:
scrubCollectorBatch in interface ScrubberService
Parameters:
batch - the data read by the Collector
collectorReportData - statistics about
overrideOriginEntryService - the implementation of origin entry service to use for this specific Collector scrub
overrideOriginEntryGroupService - the implementation of origin entry group service to use for this specific Collector scrub
See Also:
org.kuali.kfs.gl.service.ScrubberService#scrubCollectorBatch(org.kuali.kfs.gl.batch.CollectorBatch, org.kuali.kfs.gl.report.CollectorReportData, org.kuali.kfs.gl.service.OriginEntryService, org.kuali.kfs.gl.service.OriginEntryGroupService)

performDemerger

public void performDemerger()
Specified by:
performDemerger in interface ScrubberService

setReportOnlyScrubberProcess

public void setReportOnlyScrubberProcess(ScrubberProcess reportOnlyScrubberProcess)
Sets the reportOnlyScrubberProcess attribute value.

Parameters:
reportOnlyScrubberProcess - The reportOnlyScrubberProcess to set.

setScrubberProcess

public void setScrubberProcess(ScrubberProcess scrubberProcess)
Sets the scrubberProcess attribute value.

Parameters:
scrubberProcess - The scrubberProcess to set.

setDemergerScrubberProcess

public void setDemergerScrubberProcess(ScrubberProcess demergerScrubberProcess)
Sets the demergerScrubberProcess attribute value.

Parameters:
demergerScrubberProcess - The demergerScrubberProcess to set.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.