Class BTRoughPlanningConfigurationResourcesSave
java.lang.Object
overit.geocall.bl.BusinessTask<RoughPlanningConfigurationResourcesSaveEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<RoughPlanningConfigurationResourcesSaveEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<RoughPlanningConfigurationResourcesSaveEvent>
overit.geocallapp.wfm.roughplanning.bl.configuration.task.BTRoughPlanningConfigurationResourcesSave
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(RoughPlanningConfigurationResourcesSaveEvent.class)
public class BTRoughPlanningConfigurationResourcesSave
extends ValidPermissionBusinessTask<RoughPlanningConfigurationResourcesSaveEvent>
Business task in order to save the rough planning configuration of resources.
When the
When the
RoughPlanningConfigurationResourcesSaveEvent is launched
the task deletes the earlier resources that were not confirmed
and inserts eventual new resources from the 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 resources.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
-
BTRoughPlanningConfigurationResourcesSave
public BTRoughPlanningConfigurationResourcesSave()
-
-
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(RoughPlanningConfigurationResourcesSaveEvent event, PoolKit pk) throws DAException, DAValidateException Saves the rough planning configuration of resources.- Specified by:
executein classValidExecutionBusinessTask<RoughPlanningConfigurationResourcesSaveEvent>- Parameters:
event- theRoughPlanningConfigurationResourcesSaveEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-