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