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