Class BTDataCollectionSheetInstanceSave
java.lang.Object
overit.geocall.bl.BusinessTask<DataCollectionSheetInstanceSaveEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<DataCollectionSheetInstanceSaveEvent>
overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection<DataCollectionSheetInstanceSaveEvent>
overit.geocallapp.wfm.core.bl.datacollection.instance.task.BTDataCollectionSheetInstanceSave
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(DataCollectionSheetInstanceSaveEvent.class)
public class BTDataCollectionSheetInstanceSave
extends BTDataCollection<DataCollectionSheetInstanceSaveEvent>
Business task in order to save a
When the
DataCollectionSheetInstance. When the
DataCollectionSheetInstanceSaveEvent is launched
the BT notices the call and saves the DataCollectionSheetInstance basing on the event's input. - Since:
- 12.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidevaluateExpressions(DataCollectionSheetInstance sheetInstance, boolean calculateInitialValue, PoolKit poolKit) Evaluates the expressions.protected voidexecute(DataCollectionSheetInstanceSaveEvent event, PoolKit poolKit) Saves the data collection sheet instance.protected voidupdateNodeCounters(DataCollectionSheetInstance sheetInstance) Updates the node counters.Methods inherited from class overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection
getException, isValidExecution, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask
body, checkValidExecution, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTDataCollectionSheetInstanceSave
public BTDataCollectionSheetInstanceSave()
-
-
Method Details
-
execute
protected void execute(DataCollectionSheetInstanceSaveEvent event, PoolKit poolKit) throws DAException, DAValidateException Saves the data collection sheet instance.- Specified by:
executein classValidExecutionBusinessTask<DataCollectionSheetInstanceSaveEvent>- Parameters:
event- theDataCollectionSheetInstanceSaveEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
evaluateExpressions
protected void evaluateExpressions(DataCollectionSheetInstance sheetInstance, boolean calculateInitialValue, PoolKit poolKit) throws DAException, DAValidateException Evaluates the expressions.- Parameters:
sheetInstance- theDataCollectionSheetInstancecalculateInitialValue- the calculate initial valuepoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
updateNodeCounters
Updates the node counters.- Parameters:
sheetInstance- theDataCollectionSheetInstance
-