Class BTForecastActivityDetailInsertManagement<I>
java.lang.Object
overit.geocall.bl.BusinessTask<I>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<I>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<I>
overit.geocallapp.wfm.forecastcapacity.bl.forecast.activity.detail.task.BTForecastActivityDetailInsertManagement<I>
- Type Parameters:
I- the generic type
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
- Direct Known Subclasses:
BTForecastActivityDetailInsert,BTForecastActivityDetailInsertFromWo,BTForecastActivityMultipleTimeframesBuild
public abstract class BTForecastActivityDetailInsertManagement<I>
extends ValidPermissionBusinessTask<I>
Generic business task for entering Forecast Activity Details
Before executing its purpose, the task checks whether the Forecast Management module is active and if the current user has the required permissions
Before executing its purpose, the task checks whether the Forecast Management module is active and if the current user has the required permissions
- 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
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, execute, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTForecastActivityDetailInsertManagement
public BTForecastActivityDetailInsertManagement()
-
-
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
-
validateAndCompleteInput
protected void validateAndCompleteInput(Long activityId, Date startDate, Date endDate, Long expectedDuration, PoolKit poolKit) throws DAException, DAValidateException Validates the data before the insertion.- Parameters:
activityId- the activity id to insertstartDate- the start date of the timeframeendDate- the end date of the timeframeexpectedDuration- the expected duration of the activity in the timeframepoolKit- thePoolKit- Throws:
DAValidateException- the DA validate exceptionDAException
-