Class BTRoughPlanningBucketUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<RoughPlanningBucketUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<RoughPlanningBucketUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<RoughPlanningBucketUpdateEvent>
overit.geocallapp.wfm.roughplanning.bl.bucket.task.BTRoughPlanningBucketUpdate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(RoughPlanningBucketUpdateEvent.class)
public class BTRoughPlanningBucketUpdate
extends ValidPermissionBusinessTask<RoughPlanningBucketUpdateEvent>
Business task in order to update a
When the
BORoughPlanningBucket. When the
RoughPlanningBucketUpdateEvent is launched the BT notices the
call and updates the BORoughPlanningBucket basing on the event's input. Required fields:
- Id
Permission:
Error Code:
- Since:
- 18.0
- See Also:
-
Field Summary
Fields inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(RoughPlanningBucketUpdateEvent event, PoolKit pk) Updates the givenBORoughPlanningBucketand writes the newly generated id into the event journal.booleanDetermines whether the current state is valid for execution.Methods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
checkValidExecution, getException, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask
body, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTRoughPlanningBucketUpdate
public BTRoughPlanningBucketUpdate()
-
-
Method Details
-
execute
protected void execute(RoughPlanningBucketUpdateEvent event, PoolKit pk) throws DAException, DAValidateException Updates the givenBORoughPlanningBucketand writes the newly generated id into the event journal.- Specified by:
executein classValidExecutionBusinessTask<RoughPlanningBucketUpdateEvent>- Parameters:
event- theRoughPlanningBucketUpdateEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
isValidExecution
public boolean isValidExecution()Description copied from interface:ValidExecutionDetermines whether the current state is valid for execution.- Returns:
- true if execution is valid, false otherwise
-