| java.lang.Object org.kuali.module.gl.service.impl.ScrubberProcess
ScrubberProcess | public class ScrubberProcess (Code) | | This class has the logic for the scrubber. It is required because the scrubber process needs instance variables. Instance
variables in a spring service are shared between all code calling the service. This will make sure each run of the scrubber has
it's own instance variables instead of being shared.
|
Inner Class :class UnitOfWorkInfo | |
Inner Class :class TransactionError | |
Constructor Summary | |
public | ScrubberProcess(FlexibleOffsetAccountService flexibleOffsetAccountService, DocumentTypeService documentTypeService, OriginEntryService originEntryService, OriginEntryGroupService originEntryGroupService, DateTimeService dateTimeService, OffsetDefinitionService offsetDefinitionService, ObjectCodeService objectCodeService, KualiConfigurationService configurationService, UniversityDateDao universityDateDao, PersistenceService persistenceService, ReportService reportService, ScrubberValidator scrubberValidator, ScrubberProcessObjectCodeOverride scrubberProcessObjectCodeOverride, RunDateService runDateService, OriginEntryLiteService originEntryLiteService) These parameters are all the dependencies. |
ScrubberProcess | public ScrubberProcess(FlexibleOffsetAccountService flexibleOffsetAccountService, DocumentTypeService documentTypeService, OriginEntryService originEntryService, OriginEntryGroupService originEntryGroupService, DateTimeService dateTimeService, OffsetDefinitionService offsetDefinitionService, ObjectCodeService objectCodeService, KualiConfigurationService configurationService, UniversityDateDao universityDateDao, PersistenceService persistenceService, ReportService reportService, ScrubberValidator scrubberValidator, ScrubberProcessObjectCodeOverride scrubberProcessObjectCodeOverride, RunDateService runDateService, OriginEntryLiteService originEntryLiteService)(Code) | | These parameters are all the dependencies.
|
calculateRunDate | public Date calculateRunDate(java.util.Date currentDate)(Code) | | This method modifies the run date if it is before the cutoff time specified by the RunTimeService See
KULRNE-70 This method is public to facilitate unit testing
Parameters: currentDate - the date the scrubber should report as having run on the run date |
scrubCollectorBatch | public ScrubberStatus scrubCollectorBatch(CollectorBatch batch, CollectorReportData collectorReportData)(Code) | | Scrubs the origin entry and ID billing details if the given batch. Store all scrubber output into the collectorReportData
parameter. NOTE: DO NOT CALL ANY OF THE scrub* METHODS OF THIS CLASS AFTER CALLING THIS METHOD FOR EVERY UNIQUE INSTANCE OF
THIS CLASS, OR THE COLLECTOR REPORTS MAY BE CORRUPTED
Parameters: batch - the data gathered from a Collector file Parameters: collectorReportData - the statistics generated by running the Collector |
scrubEntries | public void scrubEntries()(Code) | | Scrubs all entries in all groups and documents.
|
scrubEntries | public void scrubEntries(OriginEntryGroup group, String documentNumber)(Code) | | Scrub all entries that need it in origin entry. Put valid scrubbed entries in a scrubber valid group, put errors in a
scrubber error group, and transactions with an expired account in the scrubber expired account group.
Parameters: group - the specific origin entry group to scrub Parameters: documentNumber - the number of the document with entries to scrub |
scrubGroupReportOnly | public void scrubGroupReportOnly(OriginEntryGroup group, String documentNumber)(Code) | | Scrub this single group read only. This will only output the scrubber report. It won't output any other groups.
Parameters: group - the origin entry group that should be scrubbed Parameters: the - document number of any specific entries to scrub |
setReferenceLookup | public void setReferenceLookup(OriginEntryLookupService referenceLookup)(Code) | | Sets the referenceLookup attribute value.
Parameters: referenceLookup - The referenceLookup to set. |
|
|