@Transactional public class CollectorScrubberServiceImpl extends Object implements CollectorScrubberService
Constructor and Description |
---|
CollectorScrubberServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected Date |
calculateRunDate()
Finds the run date of the current Collector scrubber process
|
org.kuali.rice.core.api.config.property.ConfigurationService |
getConfigurationService()
Gets the kualiConfigurationService attribute.
|
org.kuali.rice.core.api.datetime.DateTimeService |
getDateTimeService()
Gets the dateTimeService attribute.
|
org.kuali.rice.krad.service.PersistenceService |
getPersistenceService()
Gets the persistenceService attribute.
|
UniversityDateDao |
getUniversityDateDao()
Gets the universityDateDao attribute.
|
void |
removeTempGroups(Collection<CollectorScrubberStatus> allStatusObjectsFromCollectorExecution)
Removes any temporarily created origin entries and origin entry groups so that they won't be persisted after the transaction
is committed.
|
CollectorScrubberStatus |
scrub(CollectorBatch batch,
CollectorReportData collectorReportData,
String collectorFileDirectoryName)
uns the scrubber on the origin entries in the batch.
|
void |
setBatchFileDirectoryName(String batchFileDirectoryName)
Sets the batchFileDirectoryName attribute value.
|
void |
setConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService kualiConfigurationService)
Sets the kualiConfigurationService attribute value.
|
void |
setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
Sets the dateTimeService attribute value.
|
void |
setPersistenceService(org.kuali.rice.krad.service.PersistenceService persistenceService)
Sets the persistenceService attribute value.
|
void |
setScrubberService(ScrubberService scrubberService)
Sets the scrubberService attribute value.
|
void |
setUniversityDateDao(UniversityDateDao universityDateDao)
Sets the universityDateDao attribute value.
|
public CollectorScrubberServiceImpl()
public CollectorScrubberStatus scrub(CollectorBatch batch, CollectorReportData collectorReportData, String collectorFileDirectoryName)
scrub
in interface CollectorScrubberService
batch
- the data read in by the CollectorcollectorReportData
- statistics generated by the scrub run on the Collector dataorg.kuali.ole.gl.batch.service.CollectorScrubberService#scrub(org.kuali.ole.gl.batch.CollectorBatch,
org.kuali.ole.gl.report.CollectorReportData)
public void removeTempGroups(Collection<CollectorScrubberStatus> allStatusObjectsFromCollectorExecution)
removeTempGroups
in interface CollectorScrubberService
allStatusObjectsFromCollectorExecution
- a Collection of ScrubberStatus records to help find bad Collector dataCollectorScrubberService.removeTempGroups(java.util.Collection)
protected Date calculateRunDate()
public org.kuali.rice.core.api.datetime.DateTimeService getDateTimeService()
public void setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
dateTimeService
- The dateTimeService to set.public org.kuali.rice.core.api.config.property.ConfigurationService getConfigurationService()
public void setConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService kualiConfigurationService)
kualiConfigurationService
- The kualiConfigurationService to set.public void setUniversityDateDao(UniversityDateDao universityDateDao)
universityDateDao
- The universityDateDao to set.public org.kuali.rice.krad.service.PersistenceService getPersistenceService()
public void setPersistenceService(org.kuali.rice.krad.service.PersistenceService persistenceService)
persistenceService
- The persistenceService to set.public UniversityDateDao getUniversityDateDao()
public void setScrubberService(ScrubberService scrubberService)
scrubberService
- The scrubberService to set.public void setBatchFileDirectoryName(String batchFileDirectoryName)
batchFileDirectoryName
- The batchFileDirectoryName to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.