Class BTDataCollectionOptionGroupExportModel
java.lang.Object
overit.geocall.bl.BusinessTask<DataCollectionOptionGroupExportModelEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<DataCollectionOptionGroupExportModelEvent>
overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection<DataCollectionOptionGroupExportModelEvent>
overit.geocallapp.wfm.mobileforms.bl.optionsgroup.task.BTDataCollectionOptionGroupExportModel
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(DataCollectionOptionGroupExportModelEvent.class)
public class BTDataCollectionOptionGroupExportModel
extends BTDataCollection<DataCollectionOptionGroupExportModelEvent>
Business task in order to export a
When the
BODataCollectionOptionsGroup's model. When the
DataCollectionOptionGroupExportModelEvent is launched
the BT notices the call and exports the BODataCollectionOptionsGroup's model basing on the event's input. - Since:
- 12.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(DataCollectionOptionGroupExportModelEvent event, PoolKit poolKit) Exports the model of theBODataCollectionOptionsGroup.protected BODataCollectionOptionsGrouploadOptionGroup(Long optionGroupId, PoolKit poolKit) Loads the requiredBODataCollectionOptionsGroup.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
-
BTDataCollectionOptionGroupExportModel
public BTDataCollectionOptionGroupExportModel()
-
-
Method Details
-
execute
protected void execute(DataCollectionOptionGroupExportModelEvent event, PoolKit poolKit) throws DAException, DAValidateException Exports the model of theBODataCollectionOptionsGroup.- Specified by:
executein classValidExecutionBusinessTask<DataCollectionOptionGroupExportModelEvent>- Parameters:
event- theDataCollectionOptionGroupExportModelEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
loadOptionGroup
protected BODataCollectionOptionsGroup loadOptionGroup(Long optionGroupId, PoolKit poolKit) throws DAValidateException, DAException Loads the requiredBODataCollectionOptionsGroup.- Parameters:
optionGroupId- theBODataCollectionOptionsGroupidpoolKit- thePoolKit- Returns:
- the BO data collection options group
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-