Class BTDataCollectionTemplateStructureOutcomeRuleInsert
java.lang.Object
overit.geocall.bl.BusinessTask<DataCollectionTemplateStructureOutcomeRuleInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<DataCollectionTemplateStructureOutcomeRuleInsertEvent>
overit.geocallapp.wfm.mobileforms.bl.task.BTDataCollection<DataCollectionTemplateStructureOutcomeRuleInsertEvent>
overit.geocallapp.wfm.mobileforms.bl.outcomerule.task.BTDataCollectionTemplateStructureOutcomeRuleInsert
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(DataCollectionTemplateStructureOutcomeRuleInsertEvent.class)
public class BTDataCollectionTemplateStructureOutcomeRuleInsert
extends BTDataCollection<DataCollectionTemplateStructureOutcomeRuleInsertEvent>
Business task in order to insert a
When the
BODataCollectionTemplateStructureOutcomeRule. When the
DataCollectionTemplateStructureOutcomeRuleInsertEvent is launched the BT notices the call and
inserts the BODataCollectionTemplateStructureOutcomeRule basing on the event's input. - Since:
- 12.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(DataCollectionTemplateStructureOutcomeRuleInsertEvent event, PoolKit poolKit) Inserts the new 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
-
BTDataCollectionTemplateStructureOutcomeRuleInsert
public BTDataCollectionTemplateStructureOutcomeRuleInsert()
-
-
Method Details
-
execute
protected void execute(DataCollectionTemplateStructureOutcomeRuleInsertEvent event, PoolKit poolKit) throws DAException, DAValidateException Inserts the new data collection template structure outcome rule.- Specified by:
executein classValidExecutionBusinessTask<DataCollectionTemplateStructureOutcomeRuleInsertEvent>- Parameters:
event- theDataCollectionTemplateStructureOutcomeRuleInsertEventpoolKit- 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
-