Class BTDataCollectionTemplateStructureInsert
java.lang.Object
overit.geocall.bl.BusinessTask<DataCollectionTemplateStructureInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<DataCollectionTemplateStructureInsertEvent>
overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection<DataCollectionTemplateStructureInsertEvent>
overit.geocallapp.wfm.mobileforms.bl.template.structure.task.BTDataCollectionTemplateStructureInsert
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(DataCollectionTemplateStructureInsertEvent.class)
public class BTDataCollectionTemplateStructureInsert
extends BTDataCollection<DataCollectionTemplateStructureInsertEvent>
Business task in order to insert a
When the
BODataCollectionTemplateStructure. When the
DataCollectionTemplateStructureInsertEvent is launched the BT notices the call and inserts the
BODataCollectionTemplateStructure basing on the event's input. - Since:
- 12.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(DataCollectionTemplateStructureInsertEvent event, PoolKit poolKit) Inserts the givenBODataCollectionTemplateStructureand writes the newly generated id into the event journal.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
-
BTDataCollectionTemplateStructureInsert
public BTDataCollectionTemplateStructureInsert()
-
-
Method Details
-
execute
protected void execute(DataCollectionTemplateStructureInsertEvent event, PoolKit poolKit) throws DAException, DAValidateException Inserts the givenBODataCollectionTemplateStructureand writes the newly generated id into the event journal.- Specified by:
executein classValidExecutionBusinessTask<DataCollectionTemplateStructureInsertEvent>- Parameters:
event- theDataCollectionTemplateStructureInsertEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-