Class BTMobileDataCollectionSheetInsert
java.lang.Object
overit.geocall.bl.BusinessTask<MobileDataCollectionSheetInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<MobileDataCollectionSheetInsertEvent>
overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection<MobileDataCollectionSheetInsertEvent>
overit.geocallapp.wfm.mobile.core.bl.datacollection.sheet.task.BTMobileDataCollectionSheetInsert
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(MobileDataCollectionSheetInsertEvent.class)
public class BTMobileDataCollectionSheetInsert
extends BTDataCollection<MobileDataCollectionSheetInsertEvent>
Business task in order to insert a
When the
BODataCollectionSheet from mobile replication. When the
MobileDataCollectionSheetInsertEvent is launched the BT notices the call and inserts the
BODataCollectionSheet basing on the event's input. - Since:
- 18.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcompleteDataCollectionSheetData(BODataCollectionSheet dataCollectionSheet, PoolKit poolKit) Completes the data collection sheet data with additional information.protected voidexecute(MobileDataCollectionSheetInsertEvent dataCollectionSheetInsertEvent, PoolKit poolKit) Inserts the givenBODataCollectionSheetand 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
-
BTMobileDataCollectionSheetInsert
public BTMobileDataCollectionSheetInsert()
-
-
Method Details
-
execute
protected void execute(MobileDataCollectionSheetInsertEvent dataCollectionSheetInsertEvent, PoolKit poolKit) throws DAException, DAValidateException Inserts the givenBODataCollectionSheetand writes the newly generated id into the event journal.- Specified by:
executein classValidExecutionBusinessTask<MobileDataCollectionSheetInsertEvent>- Parameters:
dataCollectionSheetInsertEvent- theMobileDataCollectionSheetInsertEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
completeDataCollectionSheetData
protected void completeDataCollectionSheetData(BODataCollectionSheet dataCollectionSheet, PoolKit poolKit) throws DAException, DAValidateException Completes the data collection sheet data with additional information.- Parameters:
dataCollectionSheet- theBODataCollectionSheetpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-