Class BTTimesheetWorkShiftNotification
java.lang.Object
overit.geocall.bl.BusinessTask<WorkShiftNotificationEvent>
overit.geocallapp.wfm.core.bl.timesheet.task.BTTimesheet<WorkShiftNotificationEvent>
overit.geocallapp.wfm.core.bl.timesheet.notification.task.BTTimesheetWorkShiftNotification
- All Implemented Interfaces:
Serializable,Tool
@Event(WorkShiftNotificationEvent.class)
public class BTTimesheetWorkShiftNotification
extends BTTimesheet<WorkShiftNotificationEvent>
Business task that reacts to the notification about a
BOWorkShift. - Since:
- 9.2
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcancelAutomaticTimesheetTask(BOWorkShift workShift, PoolKit poolKit) protected voidexecute(WorkShiftNotificationEvent event, PoolKit poolKit) protected booleanprotected voidupsertAutomaticTimesheetTask(BOWorkShift workShift, PoolKit poolKit) Methods inherited from class overit.geocallapp.wfm.core.bl.timesheet.task.BTTimesheet
body, checkTimesheetActivationMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTTimesheetWorkShiftNotification
public BTTimesheetWorkShiftNotification()
-
-
Method Details
-
throwInactiveTimesheetException
protected boolean throwInactiveTimesheetException()- Overrides:
throwInactiveTimesheetExceptionin classBTTimesheet<WorkShiftNotificationEvent>
-
execute
protected void execute(WorkShiftNotificationEvent event, PoolKit poolKit) throws DAException, DAValidateException - Specified by:
executein classBTTimesheet<WorkShiftNotificationEvent>- Throws:
DAExceptionDAValidateException
-
upsertAutomaticTimesheetTask
protected void upsertAutomaticTimesheetTask(BOWorkShift workShift, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
cancelAutomaticTimesheetTask
protected void cancelAutomaticTimesheetTask(BOWorkShift workShift, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-