Class BTRoughPlanningLoad
java.lang.Object
overit.geocall.bl.BusinessTask<RoughPlanningLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<RoughPlanningLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<RoughPlanningLoadEvent>
overit.geocallapp.wfm.roughplanning.bl.task.BTRoughPlanningLoad
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(RoughPlanningLoadEvent.class)
public class BTRoughPlanningLoad
extends ValidPermissionBusinessTask<RoughPlanningLoadEvent>
Business task to load
When the
BORoughPlanning. When the
RoughPlanningLoadEvent is launched
the BT notices the call and searches the BORoughPlanning basing on the id 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 voidexecute(RoughPlanningLoadEvent event, PoolKit poolKit) Starting from the given id, it loads the correspondingBORoughPlanningand writes it 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
-
BTRoughPlanningLoad
public BTRoughPlanningLoad()
-
-
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(RoughPlanningLoadEvent event, PoolKit poolKit) throws DAException, DAValidateException Starting from the given id, it loads the correspondingBORoughPlanningand writes it into the event journal.- Specified by:
executein classValidExecutionBusinessTask<RoughPlanningLoadEvent>- Parameters:
event- theRoughPlanningLoadEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-