Class BTDataCollectionTemplateInsertSheet
java.lang.Object
overit.geocall.bl.BusinessTask<DataCollectionTemplateInsertSheetEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<DataCollectionTemplateInsertSheetEvent>
overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection<DataCollectionTemplateInsertSheetEvent>
overit.geocallapp.wfm.mobileforms.bl.template.task.BTDataCollectionTemplateInsertSheet
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(DataCollectionTemplateInsertSheetEvent.class)
public class BTDataCollectionTemplateInsertSheet
extends BTDataCollection<DataCollectionTemplateInsertSheetEvent>
Business task in order to insert a sheet into a
When the
DataCollectionTemplate. When the
DataCollectionTemplateInsertSheetEvent is launched the BT
notices the call and inserts a sheet into a DataCollectionTemplate
basing on the event's input. Error Code:
Permission:
- Since:
- 12.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(DataCollectionTemplateInsertSheetEvent event, PoolKit poolKit) Inserts into a sheet into data collection template.booleanChecks if is valid execution.Methods inherited from class overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection
getException, 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
-
BTDataCollectionTemplateInsertSheet
public BTDataCollectionTemplateInsertSheet()
-
-
Method Details
-
isValidExecution
public boolean isValidExecution()Checks if is valid execution.- Specified by:
isValidExecutionin interfaceValidExecution- Overrides:
isValidExecutionin classBTDataCollection<DataCollectionTemplateInsertSheetEvent>- Returns:
- true, if is valid execution
-
execute
protected void execute(DataCollectionTemplateInsertSheetEvent event, PoolKit poolKit) throws DAException, DAValidateException Inserts into a sheet into data collection template.- Specified by:
executein classValidExecutionBusinessTask<DataCollectionTemplateInsertSheetEvent>- Parameters:
event- theDataCollectionTemplateInsertSheetEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-