Class BTBundleOperationUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<BundleOperationUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<BundleOperationUpdateEvent>
overit.geocallapp.wfm.bundler.bl.task.BTBundler<BundleOperationUpdateEvent>
overit.geocallapp.wfm.bundler.bl.operation.task.BTBundleOperationUpdate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(BundleOperationUpdateEvent.class)
public class BTBundleOperationUpdate
extends BTBundler<BundleOperationUpdateEvent>
Business task in order to update a
When the
BOBundleOperation. When the
BundleOperationUpdateEvent is launched the BT notices the
call and updates the BOBundleOperation basing on the event's input.
- Since:
- 10.1
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(BundleOperationUpdateEvent event, PoolKit pk) Updates theBOBundleOperationwith all its needed components.protected Collection<String> Defines the collection of fields that cannot be updated in this task.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
-
BTBundleOperationUpdate
public BTBundleOperationUpdate()
-
-
Method Details
-
execute
protected void execute(BundleOperationUpdateEvent event, PoolKit pk) throws DAException, DAValidateException Updates theBOBundleOperationwith all its needed components. The state cannot be updated by this process, therefore it is removed.- Specified by:
executein classValidExecutionBusinessTask<BundleOperationUpdateEvent>- Parameters:
event- theBundleOperationUpdateEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
getNotUpdatableFields
Defines the collection of fields that cannot be updated in this task.- Returns:
- a collection of names of not editable fields
-