DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.threadedservices
Class ValidatingService

java.lang.Object
  extended by org.dlese.dpc.schemedit.threadedservices.MonitoredTask
      extended by org.dlese.dpc.schemedit.threadedservices.ThreadedService
          extended by org.dlese.dpc.schemedit.threadedservices.ValidatingService

public class ValidatingService
extends ThreadedService

Threaded Service for validating records.

Author:
ostwald

Nested Class Summary
 
Nested classes/interfaces inherited from class org.dlese.dpc.schemedit.threadedservices.ThreadedService
ThreadedService.SortReports
 
Field Summary
 
Fields inherited from class org.dlese.dpc.schemedit.threadedservices.ThreadedService
dataStore, dcsDataManager, dcsSetInfo, debug, index, indexOnValidation, isProcessing, NUM_STATUS_MESSAGES, servletContext, sessionBean, statuses, stopProcessing, validateFiles
 
Constructor Summary
ValidatingService(ServletContext servletContext, String validatingServiceDataDir)
          Constructor for the ValidatingService object
 
Method Summary
 ValidationReport getValidationReport()
          Gets the validationReport attribute of the ValidatingService object
protected static void prtln(String s)
          Print a line to standard out.
 void validateRecords(DcsSetInfo dcsSetInfo, String[] statuses, SessionBean sessionBean)
          NOT YET DOCUMENTED
 void validateRecords(DcsSetInfo dcsSetInfo, String[] statuses, SessionBean sessionBean, boolean ignoreCachedValidation)
          Validate a set of records in a separate thread.
 
Methods inherited from class org.dlese.dpc.schemedit.threadedservices.ThreadedService
addStatusMessage, archiveServiceReport, buildQuery, clearServiceReport, clearStatusMessages, getArchivedReport, getArchivedReports, getDateStamp, getDocReader, getIdList, getIndexOnValidation, getIsProcessing, getServiceReport, getSessionId, getSimpleDateStamp, getStatusMessages, list2delimitedString, setDcsSetInfo, setIndexOnValidation, setServiceReport, setStatuses, setValidationEnabled, stopProcessing, validate, validationIsStale
 
Methods inherited from class org.dlese.dpc.schemedit.threadedservices.MonitoredTask
getTaskProgress, setTaskProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatingService

public ValidatingService(ServletContext servletContext,
                         String validatingServiceDataDir)
Constructor for the ValidatingService object

Parameters:
validatingServiceDataDir - Description of the Parameter
servletContext - NOT YET DOCUMENTED
Method Detail

getValidationReport

public ValidationReport getValidationReport()
Gets the validationReport attribute of the ValidatingService object

Returns:
The validationReport value

validateRecords

public void validateRecords(DcsSetInfo dcsSetInfo,
                            String[] statuses,
                            SessionBean sessionBean)
                     throws ValidatingServiceException
NOT YET DOCUMENTED

Parameters:
dcsSetInfo - NOT YET DOCUMENTED
statuses - NOT YET DOCUMENTED
sessionBean - NOT YET DOCUMENTED
Throws:
ValidatingServiceException - NOT YET DOCUMENTED

validateRecords

public void validateRecords(DcsSetInfo dcsSetInfo,
                            String[] statuses,
                            SessionBean sessionBean,
                            boolean ignoreCachedValidation)
                     throws ValidatingServiceException
Validate a set of records in a separate thread.

Parameters:
dcsSetInfo - NOT YET DOCUMENTED
statuses - NOT YET DOCUMENTED
sessionBean - NOT YET DOCUMENTED
ignoreCachedValidation - NOT YET DOCUMENTED
Throws:
ValidatingServiceException - NOT YET DOCUMENTED

prtln

protected static void prtln(String s)
Print a line to standard out.

Parameters:
s - The String to print.

DLESE Tools
v1.6.0