Class BTDataCollectionTemplateLoad<I>
java.lang.Object
overit.geocall.bl.BusinessTask<I>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<I>
overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection<I>
overit.geocallapp.wfm.mobileforms.bl.template.task.BTDataCollectionTemplateLoad<I>
- Type Parameters:
I- the generic type
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
- Direct Known Subclasses:
BTDataCollectionTemplateExportModel,BTDataCollectionTemplateExportRelease,BTDataCollectionTemplateReleaseLoad,BTDataCollectionTemplateWorkingCopyLoad
Business task in order to load a
DataCollectionTemplate. - Since:
- 12.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BODataCollectionTemplateStructureloadStructure(Long structureId, PoolKit poolKit) Loads the structure.protected BODataCollectionTemplateHeaderloadTemplate(BODataCollectionTemplateStructure structure, PoolKit poolKit) Loads the template.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, execute, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTDataCollectionTemplateLoad
public BTDataCollectionTemplateLoad()
-
-
Method Details
-
loadTemplate
protected BODataCollectionTemplateHeader loadTemplate(BODataCollectionTemplateStructure structure, PoolKit poolKit) throws DAValidateException, DAException Loads the template.- Parameters:
structure- theBODataCollectionTemplateStructurepoolKit- thePoolKit- Returns:
- the BO data collection template header
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
loadStructure
protected BODataCollectionTemplateStructure loadStructure(Long structureId, PoolKit poolKit) throws DAValidateException, DAException Loads the structure.- Parameters:
structureId- the structure idpoolKit- thePoolKit- Returns:
- the BO data collection template structure
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-