Class BTDataCollectionSheetInstanceDissociateFromAccount
java.lang.Object
overit.geocall.bl.BusinessTask<DataCollectionSheetInstanceDissociateFromAccountEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<DataCollectionSheetInstanceDissociateFromAccountEvent>
overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection<DataCollectionSheetInstanceDissociateFromAccountEvent>
overit.geocallapp.wfm.orchestrator.documents.mobileforms.bl.instance.task.BTDataCollectionSheetInstanceDissociateBase<DataCollectionSheetInstanceDissociateFromAccountEvent>
overit.geocallapp.wfm.orchestrator.documents.mobileforms.bl.instance.task.BTDataCollectionSheetInstanceDissociateFromAccount
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(DataCollectionSheetInstanceDissociateFromAccountEvent.class)
public class BTDataCollectionSheetInstanceDissociateFromAccount
extends BTDataCollectionSheetInstanceDissociateBase<DataCollectionSheetInstanceDissociateFromAccountEvent>
Business task in order to dissociate an account from a
When the
BODataCollectionSheet. When the
DataCollectionSheetInstanceDissociateFromAccountEvent is launched
the BT notices the call and dissociates the account 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(DataCollectionSheetInstanceDissociateFromAccountEvent event, PoolKit poolKit) Dissociates the account from the data collection sheet.protected voidloadAccount(Long accountId, PoolKit poolKit) Loads the account.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
-
BTDataCollectionSheetInstanceDissociateFromAccount
public BTDataCollectionSheetInstanceDissociateFromAccount()
-
-
Method Details
-
execute
protected void execute(DataCollectionSheetInstanceDissociateFromAccountEvent event, PoolKit poolKit) throws DAException, DAValidateException Dissociates the account from the data collection sheet.- Specified by:
executein classValidExecutionBusinessTask<DataCollectionSheetInstanceDissociateFromAccountEvent>- Parameters:
event- theDataCollectionSheetInstanceDissociateFromAccountEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
checkSheet
Checks the sheet.- Overrides:
checkSheetin classBTDataCollectionSheetInstanceDissociateBase<DataCollectionSheetInstanceDissociateFromAccountEvent>- Parameters:
sheet- theBODataCollectionSheet- Throws:
DAValidateException- the DA validate exception
-
loadAccount
Loads the account.- Parameters:
accountId- the account idpoolKit- the pool kit- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-