Class ValidatingService
java.lang.Object
org.dlese.dpc.schemedit.threadedservices.MonitoredTask
org.dlese.dpc.schemedit.threadedservices.ThreadedService
org.dlese.dpc.schemedit.threadedservices.ValidatingService
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
ConstructorsConstructorDescriptionValidatingService(ServletContext servletContext, String validatingServiceDataDir) Constructor for the ValidatingService object -
Method Summary
Modifier and TypeMethodDescriptionGets the validationReport attribute of the ValidatingService objectprotected static voidPrint a line to standard out.voidvalidateRecords(DcsSetInfo dcsSetInfo, String[] statuses, SessionBean sessionBean) NOT YET DOCUMENTEDvoidvalidateRecords(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, validationIsStaleMethods inherited from class org.dlese.dpc.schemedit.threadedservices.MonitoredTask
getTaskProgress, setTaskProgress
-
Constructor Details
-
ValidatingService
Constructor for the ValidatingService object- Parameters:
servletContext- NOT YET DOCUMENTEDvalidatingServiceDataDir- Description of the Parameter
-
-
Method Details
-
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 DOCUMENTEDstatuses- NOT YET DOCUMENTEDsessionBean- 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 DOCUMENTEDstatuses- NOT YET DOCUMENTEDsessionBean- NOT YET DOCUMENTEDignoreCachedValidation- NOT YET DOCUMENTED- Throws:
ValidatingServiceException- NOT YET DOCUMENTED
-
prtln
Print a line to standard out.- Parameters:
s- The String to print.
-