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