Class DataQueryGroupExectutorTask
- java.lang.Object
-
- org.openforis.concurrency.Worker
-
- org.openforis.concurrency.Task
-
- org.openforis.collect.datacleansing.DataQueryGroupExectutorTask
-
@Component @Scope("prototype") public class DataQueryGroupExectutorTask extends org.openforis.concurrency.Task- Author:
- S. Ricci
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataQueryGroupExectutorTask.DataQueryExecutorErrorstatic classDataQueryGroupExectutorTask.DataQueryGroupExecutorTaskInput
-
Constructor Summary
Constructors Constructor Description DataQueryGroupExectutorTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected longcountTotalItems()protected voidexecute()DataQueryGroupExectutorTask.DataQueryGroupExecutorTaskInputgetInput()DategetLastRecordModifiedDate()protected voidinitializeInternalVariables()protected voidonCompleted()voidsetInput(DataQueryGroupExectutorTask.DataQueryGroupExecutorTaskInput input)-
Methods inherited from class org.openforis.concurrency.Task
beforeExecuteInternal, getProcessedItems, getProgressPercent, getRemainingItems, getSkippedItems, getTotalItems, incrementProcessedItems, incrementSkippedItems, setProcessedItems, setTotalItems
-
Methods inherited from class org.openforis.concurrency.Worker
abort, addStatusChangeListener, afterExecute, afterExecuteInternal, beforeExecute, changeStatus, createInternalVariables, destroy, getDuration, getEndTime, getErrorMessage, getErrorMessageArgs, getId, getLastException, getName, getStartTime, getStatus, getWeight, initialize, isAborted, isCompleted, isEnded, isFailed, isPending, isRunning, logDebug, logError, logInfo, logWarning, notifyAllStatusChangeListeners, onAborted, onEnd, onFailed, release, removeStatusChangeListener, run, setErrorMessage, setErrorMessageArgs, setLastException, setWeight, validateInput, waitFor
-
-
-
-
Method Detail
-
countTotalItems
protected long countTotalItems()
- Overrides:
countTotalItemsin classorg.openforis.concurrency.Task
-
initializeInternalVariables
protected void initializeInternalVariables() throws Throwable- Overrides:
initializeInternalVariablesin classorg.openforis.concurrency.Worker- Throws:
Throwable
-
onCompleted
protected void onCompleted()
- Overrides:
onCompletedin classorg.openforis.concurrency.Worker
-
execute
@Transactional protected void execute() throws Throwable- Specified by:
executein classorg.openforis.concurrency.Worker- Throws:
Throwable
-
getInput
public DataQueryGroupExectutorTask.DataQueryGroupExecutorTaskInput getInput()
-
setInput
public void setInput(DataQueryGroupExectutorTask.DataQueryGroupExecutorTaskInput input)
-
getLastRecordModifiedDate
public Date getLastRecordModifiedDate()
-
-