Class BTRoughPlanningConfigurationBucketSave
java.lang.Object
overit.geocall.bl.BusinessTask<RoughPlanningConfigurationBucketSaveEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<RoughPlanningConfigurationBucketSaveEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<RoughPlanningConfigurationBucketSaveEvent>
overit.geocallapp.wfm.roughplanning.bl.configuration.task.BTRoughPlanningConfigurationBucketSave
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(RoughPlanningConfigurationBucketSaveEvent.class)
public class BTRoughPlanningConfigurationBucketSave
extends ValidPermissionBusinessTask<RoughPlanningConfigurationBucketSaveEvent>
Business task in order to save the rough planning configuration of buckets.
When the
When the
RoughPlanningConfigurationBucketSaveEvent is launched
the task creates the buckets starting from the info provided in input- 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 voidSaves the rough planning configuration of buckets.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
-
BTRoughPlanningConfigurationBucketSave
public BTRoughPlanningConfigurationBucketSave()
-
-
Method Details
-
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
-
execute
protected void execute(RoughPlanningConfigurationBucketSaveEvent event, PoolKit pk) throws DAException, DAValidateException Saves the rough planning configuration of buckets.- Specified by:
executein classValidExecutionBusinessTask<RoughPlanningConfigurationBucketSaveEvent>- Parameters:
event- theRoughPlanningConfigurationBucketSaveEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-