Class BTBundleCriterionInsert
java.lang.Object
overit.geocall.bl.BusinessTask<BundleCriterionInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<BundleCriterionInsertEvent>
overit.geocallapp.wfm.bundler.bl.task.BTBundler<BundleCriterionInsertEvent>
overit.geocallapp.wfm.bundler.bl.criterion.task.BTBundleCriterionInsert
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(BundleCriterionInsertEvent.class)
public class BTBundleCriterionInsert
extends BTBundler<BundleCriterionInsertEvent>
Business task in order to insert a
When the
BOBundleCriterion. When the
BundleCriterionInsertEvent is launched
the BT notices the call and inserts the BOBundleCriterion basing on the event's input. - Since:
- 10.1
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(BundleCriterionInsertEvent event, PoolKit poolKit) Inserts the givenBOBundleCriterionand writes the newly generated id into the event journal.Methods inherited from class overit.geocallapp.wfm.bundler.bl.task.BTBundler
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
-
BTBundleCriterionInsert
public BTBundleCriterionInsert()
-
-
Method Details
-
execute
protected void execute(BundleCriterionInsertEvent event, PoolKit poolKit) throws DAException, DAValidateException Inserts the givenBOBundleCriterionand writes the newly generated id into the event journal.- Specified by:
executein classValidExecutionBusinessTask<BundleCriterionInsertEvent>- Parameters:
event- theBundleCriterionInsertEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-