Class BTForecastResourceUpdate
java.lang.Object
overit.geocall.bl.BusinessTask<ForecastResourceUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<ForecastResourceUpdateEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<ForecastResourceUpdateEvent>
overit.geocallapp.wfm.forecastcapacity.bl.forecast.resource.forecastresource.task.BTForecastResourceManagement<ForecastResourceUpdateEvent>
overit.geocallapp.wfm.forecastcapacity.bl.forecast.resource.forecastresource.task.BTForecastResourceUpdate
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(ForecastResourceUpdateEvent.class)
public class BTForecastResourceUpdate
extends BTForecastResourceManagement<ForecastResourceUpdateEvent>
Business task in order to insert a
When the
BOForecastResource. When the
ForecastResourceUpdateEvent is launched the BT notices the
call and inserts the BOForecastResource basing on the event's input. Required fields:
- Code
- Description
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(ForecastResourceUpdateEvent event, PoolKit pk) Inserts the givenBOForecastResourceand writes the newly generated id into the event journal.Methods inherited from class overit.geocallapp.wfm.forecastcapacity.bl.forecast.resource.forecastresource.task.BTForecastResourceManagement
isValidExecution, validateCode, validateForecastHeaderStatus, validateInput, validateMandatoryFields, validateNameMethods 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
-
BTForecastResourceUpdate
public BTForecastResourceUpdate()
-
-
Method Details
-
execute
protected void execute(ForecastResourceUpdateEvent event, PoolKit pk) throws DAException, DAValidateException Inserts the givenBOForecastResourceand writes the newly generated id into the event journal.- Specified by:
executein classValidExecutionBusinessTask<ForecastResourceUpdateEvent>- Parameters:
event- theForecastResourceUpdateEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-