Class BTDataCollectionTemplateStructureUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<DataCollectionTemplateStructureUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<DataCollectionTemplateStructureUpdateEvent>
overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection<DataCollectionTemplateStructureUpdateEvent>
overit.geocallapp.wfm.mobileforms.bl.template.structure.task.BTDataCollectionTemplateStructureUpdate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(DataCollectionTemplateStructureUpdateEvent.class)
public class BTDataCollectionTemplateStructureUpdate
extends BTDataCollection<DataCollectionTemplateStructureUpdateEvent>
Business task in order to update a
When the
BODataCollectionTemplateStructure. When the
DataCollectionTemplateStructureUpdateEvent is launched the BT notices the call and updates the
BODataCollectionTemplateStructure basing on the event's input. Permission:
- Since:
- 12.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(DataCollectionTemplateStructureUpdateEvent event, PoolKit poolKit) Updates theBODataCollectionTemplateStructurewith all its needed components.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
-
BTDataCollectionTemplateStructureUpdate
public BTDataCollectionTemplateStructureUpdate()
-
-
Method Details
-
isValidExecution
public boolean isValidExecution()Checks if is valid execution.- Specified by:
isValidExecutionin interfaceValidExecution- Overrides:
isValidExecutionin classBTDataCollection<DataCollectionTemplateStructureUpdateEvent>- Returns:
- true, if is valid execution
-
execute
protected void execute(DataCollectionTemplateStructureUpdateEvent event, PoolKit poolKit) throws DAException, DAValidateException Updates theBODataCollectionTemplateStructurewith all its needed components.- Specified by:
executein classValidExecutionBusinessTask<DataCollectionTemplateStructureUpdateEvent>- Parameters:
event- theDataCollectionTemplateStructureUpdateEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-