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