Class BTForecastResourceDetailBuild
java.lang.Object
overit.geocall.bl.BusinessTask<ForecastResourceDetailBuildEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<ForecastResourceDetailBuildEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<ForecastResourceDetailBuildEvent>
overit.geocallapp.wfm.forecastcapacity.bl.forecast.resource.detail.task.BTForecastResourceDetailManagement<ForecastResourceDetailBuildEvent>
overit.geocallapp.wfm.forecastcapacity.bl.forecast.resource.detail.task.BTForecastResourceDetailBuild
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(ForecastResourceDetailBuildEvent.class)
public class BTForecastResourceDetailBuild
extends BTForecastResourceDetailManagement<ForecastResourceDetailBuildEvent>
Business task in order to calculate all the resources timeframes
ForecastResourceDetailBuildPreview.
When the ForecastResourceDetailBuildEvent is launched
the BT notices the call and calculates all the resources timeframes ForecastResourceDetailBuildPreview basing on the event's input.- 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(ForecastResourceDetailBuildEvent event, PoolKit poolKit) Build multipleForecastResourceDetailBuildPreviewand writes the newly generated BO into the event journal.Methods inherited from class overit.geocallapp.wfm.forecastcapacity.bl.forecast.resource.detail.task.BTForecastResourceDetailManagement
checkResourceWorktimeValidity, checkResourceWorktimeValidity, getForecastHeader, getNewValue, getResourceBuildPreview, isValidExecution, searchWorkshift, validateDates, validateInput, zeroOrNegativeToNullMethods 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
-
BTForecastResourceDetailBuild
public BTForecastResourceDetailBuild()
-
-
Method Details
-
execute
protected void execute(ForecastResourceDetailBuildEvent event, PoolKit poolKit) throws DAException, DAValidateException Build multipleForecastResourceDetailBuildPreviewand writes the newly generated BO into the event journal.- Specified by:
executein classValidExecutionBusinessTask<ForecastResourceDetailBuildEvent>- Parameters:
event- theForecastResourceDetailBuildEventpoolKit- thePoolKit- Throws:
DAExceptionDAValidateException
-