Class BTSchedulableBundleUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<SchedulableBundleUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<SchedulableBundleUpdateEvent>
overit.geocallapp.wfm.bundler.bl.task.BTBundler<SchedulableBundleUpdateEvent>
overit.geocallapp.wfm.bundler.bl.task.BTSchedulableBundleUpdate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(SchedulableBundleUpdateEvent.class)
public class BTSchedulableBundleUpdate
extends BTBundler<SchedulableBundleUpdateEvent>
Business task to update a
Bundle only if the Bundle is in state BOBundleStatus.Values.SCHEDULABLE. Permission:
Error Code:
- Since:
- 20.1
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidChecks whether the current user has the permission to edit theBundle.protected voidexecute(SchedulableBundleUpdateEvent event, PoolKit poolKit) Update givenBundleby calling theBundleHeaderUpdateEvent, only if theBundleis in stateBOBundleStatus.Values.SCHEDULABLE..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
-
BTSchedulableBundleUpdate
public BTSchedulableBundleUpdate()
-
-
Method Details
-
execute
protected void execute(SchedulableBundleUpdateEvent event, PoolKit poolKit) throws DAException, DAValidateException Update givenBundleby calling theBundleHeaderUpdateEvent, only if theBundleis in stateBOBundleStatus.Values.SCHEDULABLE..- Specified by:
executein classValidExecutionBusinessTask<SchedulableBundleUpdateEvent>- Parameters:
event- theSchedulableBundleUpdateEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
checkUserPermission
Checks whether the current user has the permission to edit theBundle.- Throws:
DAValidateException- the DA validate exception
-