Class BTWorkShiftExceptionManagementLoad
java.lang.Object
overit.geocall.bl.BusinessTask<WorkShiftExceptionManagementLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidExecutionBusinessTask<WorkShiftExceptionManagementLoadEvent>
overit.geocallapp.utilities.core.bl.common.validexecution.ValidPermissionBusinessTask<WorkShiftExceptionManagementLoadEvent>
overit.geocallapp.wfm.calendars.bl.workshift.exception.management.task.BTWorkShiftExceptionManagementLoad
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(WorkShiftExceptionManagementLoadEvent.class)
public class BTWorkShiftExceptionManagementLoad
extends ValidPermissionBusinessTask<WorkShiftExceptionManagementLoadEvent>
Business task in order to load a
When the
BOWorkShiftExceptionManagement. When the
WorkShiftExceptionManagementLoadEvent is launched the BT notices the call
and loads the BOWorkShiftExceptionManagement basing on the event's input. Required fields:
- Work Shift Exception Management ID
- Since:
- 17.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(WorkShiftExceptionManagementLoadEvent event, PoolKit poolKit) Writes the loadedBOWorkShiftExceptionManagementinto the event journal.booleanDetermines whether the current state is valid for execution.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, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTWorkShiftExceptionManagementLoad
public BTWorkShiftExceptionManagementLoad()
-
-
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
-
execute
protected void execute(WorkShiftExceptionManagementLoadEvent event, PoolKit poolKit) throws DAException, DAValidateException Writes the loadedBOWorkShiftExceptionManagementinto the event journal.- Specified by:
executein classValidExecutionBusinessTask<WorkShiftExceptionManagementLoadEvent>- Parameters:
event- theWorkShiftExceptionManagementLoadEventpoolKit- thePoolKit- Throws:
DAValidateException- if there is a data validation exceptionDAException- if a genericExceptionis thrown
-