Class BTDataCollectionSheetInstanceUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<CheckableEvent<DataCollectionSheetInstance,Void>>
overit.geocallapp.utilities.core.bl.common.check.checkable.task.AbstractCheckableBusinessTask<DataCollectionSheetInstance,Void>
overit.geocallapp.utilities.core.bl.common.check.checkable.task.ValidExecutionAbstractCheckableBusinessTask<DataCollectionSheetInstance,Void>
overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollectionCheckable<DataCollectionSheetInstance,Void>
overit.geocallapp.wfm.core.bl.datacollection.instance.task.BTDataCollectionSheetInstanceUpdate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(DataCollectionSheetInstanceUpdateEvent.class)
public class BTDataCollectionSheetInstanceUpdate
extends BTDataCollectionCheckable<DataCollectionSheetInstance,Void>
Business task in order to update a
When the
DataCollectionSheetInstance. When the
DataCollectionSheetInstanceUpdateEvent is launched
the BT notices the call and updates the DataCollectionSheetInstance basing on the event's input. - Since:
- 12.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<CheckerEvent<?>> defineCheckerEvents(DataCollectionSheetInstance sheetInstance, PoolKit poolKit) Defines the checker events.protected VoidexecuteProcess(DataCollectionSheetInstance sheetInstance, PoolKit poolKit) Executes the process.Methods inherited from class overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollectionCheckable
getException, isValidExecution, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.utilities.core.bl.common.check.checkable.task.ValidExecutionAbstractCheckableBusinessTask
body, checkValidExecutionMethods inherited from class overit.geocallapp.utilities.core.bl.common.check.checkable.task.AbstractCheckableBusinessTask
buildOutputCheckResult, launchCheckerEvents, throwExceptionIfNecessary, validateMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTDataCollectionSheetInstanceUpdate
public BTDataCollectionSheetInstanceUpdate()
-
-
Method Details
-
defineCheckerEvents
protected List<CheckerEvent<?>> defineCheckerEvents(DataCollectionSheetInstance sheetInstance, PoolKit poolKit) throws DAException, DAValidateException Defines the checker events.- Specified by:
defineCheckerEventsin classAbstractCheckableBusinessTask<DataCollectionSheetInstance,Void> - Parameters:
sheetInstance- theDataCollectionSheetInstancepoolKit- thePoolKit- Returns:
- a list of checker event elements of type CheckerEvent
- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception- See Also:
-
executeProcess
protected Void executeProcess(DataCollectionSheetInstance sheetInstance, PoolKit poolKit) throws DAException, DAValidateException Executes the process.- Specified by:
executeProcessin classAbstractCheckableBusinessTask<DataCollectionSheetInstance,Void> - Parameters:
sheetInstance- theDataCollectionSheetInstancepoolKit- thePoolKit- Returns:
- the void
- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-