Class BTForecastShiftModelDetailUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<ForecastShiftModelDetailUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<ForecastShiftModelDetailUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<ForecastShiftModelDetailUpdateEvent>
overit.geocallapp.wfm.forecastcapacity.bl.forecast.resource.shiftmodel.detail.task.BTForecastShiftModelDetailUpdate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(ForecastShiftModelDetailUpdateEvent.class)
public class BTForecastShiftModelDetailUpdate
extends ValidPermissionBusinessTask<ForecastShiftModelDetailUpdateEvent>
Business task in order to update a
When the
BOForecastShiftModelDetail. When the
ForecastShiftModelDetailUpdateEvent is launched the BT notices the
call and updates the BOForecastShiftModelDetail basing on the event's input. Required fields:
Permission:
Error Code:
- Since:
- 15.0
- See Also:
- GCApi:
- task
-
Field Summary
Fields inherited from class overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(ForecastShiftModelDetailUpdateEvent event, PoolKit poolKit) Updates theBOForecastShiftModelDetailwith all its needed components.booleanDetermines whether the current state is valid for execution.voidvalidateInput(BOForecastShiftModelDetail forecastShiftModelDetail) 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
-
BTForecastShiftModelDetailUpdate
public BTForecastShiftModelDetailUpdate()
-
-
Method Details
-
execute
protected void execute(ForecastShiftModelDetailUpdateEvent event, PoolKit poolKit) throws DAException, DAValidateException Updates theBOForecastShiftModelDetailwith all its needed components.- Specified by:
executein classValidExecutionBusinessTask<ForecastShiftModelDetailUpdateEvent>- Parameters:
event- theForecastShiftModelDetailUpdateEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
validateInput
public void validateInput(BOForecastShiftModelDetail forecastShiftModelDetail) throws DAValidateException - Throws:
DAValidateException
-
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
-