Class BTRoughPlanningApplyShifts
java.lang.Object
overit.geocall.bl.BusinessTask<RoughPlanningApplyShiftsEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<RoughPlanningApplyShiftsEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<RoughPlanningApplyShiftsEvent>
overit.geocallapp.wfm.roughplanning.bl.task.BTRoughPlanningManagement<RoughPlanningApplyShiftsEvent>
overit.geocallapp.wfm.roughplanning.bl.task.BTRoughPlanningApplyShifts
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(RoughPlanningApplyShiftsEvent.class)
public class BTRoughPlanningApplyShifts
extends BTRoughPlanningManagement<RoughPlanningApplyShiftsEvent>
Business task in order to apply shifts of a
When the
BORoughPlanning. When the
RoughPlanningApplyShiftsEvent is launched the BT notices the
call and applies shifts of the BORoughPlanning basing on the event's input. - Since:
- 20.0
- See Also:
-
Field Summary
FieldsFields inherited from class overit.geocallapp.wfm.roughplanning.bl.task.BTRoughPlanningManagement
CODE_LENGTH, DESCRIPTION_LENGTH, OVERSIZED_LIMIT, TIME_SIZE_LOWER_LIMIT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(RoughPlanningApplyShiftsEvent event, PoolKit pk) Executes the apply shifts of the data given in the input.Methods inherited from class overit.geocallapp.wfm.roughplanning.bl.task.BTRoughPlanningManagement
isValidExecution, searchRoughPlanningByCode, validateCodeDuplication, validateDateSpan, validateFieldsLength, validateOversizedLimit, validateTimeSize, validateTimeUnitMethods 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
-
Field Details
-
LOG
-
-
Constructor Details
-
BTRoughPlanningApplyShifts
public BTRoughPlanningApplyShifts()
-
-
Method Details
-
execute
protected void execute(RoughPlanningApplyShiftsEvent event, PoolKit pk) throws DAException, DAValidateException Executes the apply shifts of the data given in the input.- Specified by:
executein classValidExecutionBusinessTask<RoughPlanningApplyShiftsEvent>- Parameters:
event- theRoughPlanningApplyShiftsEventpk- thePoolKit- Throws:
DAException- the DA exceptionDAValidateException- the DA apply shifts exception
-