Class BTDataCollectionTemplateStructureOutcomeRuleDelete
java.lang.Object
overit.geocall.bl.BusinessTask<DataCollectionTemplateStructureOutcomeRuleDeleteEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<DataCollectionTemplateStructureOutcomeRuleDeleteEvent>
overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection<DataCollectionTemplateStructureOutcomeRuleDeleteEvent>
overit.geocallapp.wfm.mobileforms.bl.outcomerule.task.BTDataCollectionTemplateStructureOutcomeRuleDelete
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(DataCollectionTemplateStructureOutcomeRuleDeleteEvent.class)
public class BTDataCollectionTemplateStructureOutcomeRuleDelete
extends BTDataCollection<DataCollectionTemplateStructureOutcomeRuleDeleteEvent>
Business task in order to delete a
When the
BODataCollectionTemplateStructureOutcomeRule. When the
DataCollectionTemplateStructureOutcomeRuleDeleteEvent is launched the BT notices the call and deletes the
BODataCollectionTemplateStructureOutcomeRule basing on the event's input. Required fields:
- data collection template structure outcome rule id
- Since:
- 22.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(DataCollectionTemplateStructureOutcomeRuleDeleteEvent event, PoolKit poolKit) Deletes theBODataCollectionTemplateStructureOutcomeRule.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
-
BTDataCollectionTemplateStructureOutcomeRuleDelete
public BTDataCollectionTemplateStructureOutcomeRuleDelete()
-
-
Method Details
-
execute
protected void execute(DataCollectionTemplateStructureOutcomeRuleDeleteEvent event, PoolKit poolKit) throws DAException, DAValidateException Deletes theBODataCollectionTemplateStructureOutcomeRule.- Specified by:
executein classValidExecutionBusinessTask<DataCollectionTemplateStructureOutcomeRuleDeleteEvent>- Parameters:
event- theDataCollectionTemplateStructureOutcomeRuleDeleteEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-