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