Class BTDataCollectionSheetInstanceDissociateFromAsset
java.lang.Object
overit.geocall.bl.BusinessTask<DataCollectionSheetInstanceDissociateFromAssetEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<DataCollectionSheetInstanceDissociateFromAssetEvent>
overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection<DataCollectionSheetInstanceDissociateFromAssetEvent>
overit.geocallapp.wfm.orchestrator.documents.mobileforms.bl.instance.task.BTDataCollectionSheetInstanceDissociateBase<DataCollectionSheetInstanceDissociateFromAssetEvent>
overit.geocallapp.wfm.orchestrator.documents.mobileforms.bl.instance.task.BTDataCollectionSheetInstanceDissociateFromAsset
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(DataCollectionSheetInstanceDissociateFromAssetEvent.class)
public class BTDataCollectionSheetInstanceDissociateFromAsset
extends BTDataCollectionSheetInstanceDissociateBase<DataCollectionSheetInstanceDissociateFromAssetEvent>
Business task in order to dissociate an asset from a
When the
BODataCollectionSheet. When the
DataCollectionSheetInstanceDissociateFromAssetEvent is launched
the BT notices the call and dissociates the asset from the BODataCollectionSheet basing on the event's input. - Since:
- 22.0
- See Also:
-
Field Summary
Fields inherited from class overit.geocallapp.wfm.orchestrator.documents.mobileforms.bl.instance.task.BTDataCollectionSheetInstanceDissociateBase
documentsIntegrationService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckSheet(BODataCollectionSheet sheet) Checks the sheet.protected voidexecute(DataCollectionSheetInstanceDissociateFromAssetEvent event, PoolKit poolKit) Dissociates the asset from the data collection sheet.protected voidLoads the asset.Methods inherited from class overit.geocallapp.wfm.orchestrator.documents.mobileforms.bl.instance.task.BTDataCollectionSheetInstanceDissociateBase
getIntegrationService, isValidExecution, loadSheet, updateSheetMethods inherited from class overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection
getException, 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
-
BTDataCollectionSheetInstanceDissociateFromAsset
public BTDataCollectionSheetInstanceDissociateFromAsset()
-
-
Method Details
-
execute
protected void execute(DataCollectionSheetInstanceDissociateFromAssetEvent event, PoolKit poolKit) throws DAException, DAValidateException Dissociates the asset from the data collection sheet.- Specified by:
executein classValidExecutionBusinessTask<DataCollectionSheetInstanceDissociateFromAssetEvent>- Parameters:
event- theDataCollectionSheetInstanceDissociateFromAssetEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
checkSheet
Checks the sheet.- Overrides:
checkSheetin classBTDataCollectionSheetInstanceDissociateBase<DataCollectionSheetInstanceDissociateFromAssetEvent>- Parameters:
sheet- theBODataCollectionSheet- Throws:
DAValidateException- the DA validate exception
-
loadAsset
Loads the asset.- Parameters:
assetId- the asset idpoolKit- the pool kit- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-