Class BTForecastResourceInsert
java.lang.Object
overit.geocall.bl.BusinessTask<ForecastResourceInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<ForecastResourceInsertEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<ForecastResourceInsertEvent>
overit.geocallapp.wfm.forecastcapacity.bl.forecast.resource.forecastresource.task.BTForecastResourceManagement<ForecastResourceInsertEvent>
overit.geocallapp.wfm.forecastcapacity.bl.forecast.resource.forecastresource.task.BTForecastResourceInsert
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(ForecastResourceInsertEvent.class)
public class BTForecastResourceInsert
extends BTForecastResourceManagement<ForecastResourceInsertEvent>
- 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(ForecastResourceInsertEvent event, PoolKit poolKit) 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
-
BTForecastResourceInsert
public BTForecastResourceInsert()
-
-
Method Details
-
execute
protected void execute(ForecastResourceInsertEvent event, PoolKit poolKit) throws DAException, DAValidateException Inserts the givenBOForecastResourceand writes the newly generated id into the event journal.- Specified by:
executein classValidExecutionBusinessTask<ForecastResourceInsertEvent>- Parameters:
event- theForecastResourceInsertEventpoolKit- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-