Class BTDataCollectionTemplateReleaseLoad
java.lang.Object
overit.geocall.bl.BusinessTask<DataCollectionTemplateReleaseLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<DataCollectionTemplateReleaseLoadEvent>
overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection<DataCollectionTemplateReleaseLoadEvent>
overit.geocallapp.wfm.mobileforms.bl.template.task.BTDataCollectionTemplateLoad<DataCollectionTemplateReleaseLoadEvent>
overit.geocallapp.wfm.mobileforms.bl.template.release.task.BTDataCollectionTemplateReleaseLoad
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(DataCollectionTemplateReleaseLoadEvent.class)
public class BTDataCollectionTemplateReleaseLoad
extends BTDataCollectionTemplateLoad<DataCollectionTemplateReleaseLoadEvent>
Business task in order to load a
When the
DataCollectionTemplateRelease. When the
DataCollectionTemplateReleaseLoadEvent is launched the BT notices the call and loads the
DataCollectionTemplateRelease basing on the event's input. Visibility:
- structures that belong to the same current user's operation center
- templates that belong to the same current user's operation center
- releases that belong to the same current user's operation center
- Since:
- 12.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(DataCollectionTemplateReleaseLoadEvent event, PoolKit poolKit) Starting from the given id, it loads the correspondingDataCollectionTemplateReleaseand writes it into the event journal.protected BODataCollectionTemplateStructureReleaseloadRelease(BODataCollectionTemplateStructure structure, PoolKit poolKit) Load release.Methods inherited from class overit.geocallapp.wfm.mobileforms.bl.template.task.BTDataCollectionTemplateLoad
loadStructure, loadTemplateMethods 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
-
BTDataCollectionTemplateReleaseLoad
public BTDataCollectionTemplateReleaseLoad()
-
-
Method Details
-
execute
protected void execute(DataCollectionTemplateReleaseLoadEvent event, PoolKit poolKit) throws DAException, DAValidateException Starting from the given id, it loads the correspondingDataCollectionTemplateReleaseand writes it into the event journal.- Specified by:
executein classValidExecutionBusinessTask<DataCollectionTemplateReleaseLoadEvent>- Parameters:
event- theDataCollectionTemplateReleaseLoadEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
loadRelease
protected BODataCollectionTemplateStructureRelease loadRelease(BODataCollectionTemplateStructure structure, PoolKit poolKit) throws DAException, DAValidateException Load release.- Parameters:
structure- theBODataCollectionTemplateStructurepoolKit- thePoolKit- Returns:
- the BO data collection template structure release
- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-