Class BTTimesheetResourceShiftExceptionNotification
java.lang.Object
overit.geocall.bl.BusinessTask<WorkShiftExceptionNotificationEvent>
overit.geocallapp.wfm.core.bl.timesheet.task.BTTimesheet<WorkShiftExceptionNotificationEvent>
overit.geocallapp.wfm.core.bl.timesheet.notification.task.BTTimesheetResourceShiftExceptionNotification
- All Implemented Interfaces:
Serializable,Tool
@Event(WorkShiftExceptionNotificationEvent.class)
public class BTTimesheetResourceShiftExceptionNotification
extends BTTimesheet<WorkShiftExceptionNotificationEvent>
Business task that reacts to the notification about a
BOWorkShiftException. - Since:
- 9.2
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(WorkShiftExceptionNotificationEvent event, PoolKit poolKit) protected booleanisAbsenceResourceShiftException(BOWorkShiftException receipt, PoolKit poolKit) protected BOReceiptTypeloadReceiptType(Long receiptType, PoolKit poolKit) protected BOShiftExceptionClassloadShiftExceptionClass(Long shiftExceptionClass, PoolKit poolKit) protected booleanprotected voidupsertAutomaticTimesheetTask(BOWorkShiftException receipt, 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
-
BTTimesheetResourceShiftExceptionNotification
public BTTimesheetResourceShiftExceptionNotification()
-
-
Method Details
-
throwInactiveTimesheetException
protected boolean throwInactiveTimesheetException()- Overrides:
throwInactiveTimesheetExceptionin classBTTimesheet<WorkShiftExceptionNotificationEvent>
-
execute
protected void execute(WorkShiftExceptionNotificationEvent event, PoolKit poolKit) throws DAException, DAValidateException - Specified by:
executein classBTTimesheet<WorkShiftExceptionNotificationEvent>- Throws:
DAExceptionDAValidateException
-
isAbsenceResourceShiftException
protected boolean isAbsenceResourceShiftException(BOWorkShiftException receipt, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
loadReceiptType
protected BOReceiptType loadReceiptType(Long receiptType, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
loadShiftExceptionClass
protected BOShiftExceptionClass loadShiftExceptionClass(Long shiftExceptionClass, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
upsertAutomaticTimesheetTask
protected void upsertAutomaticTimesheetTask(BOWorkShiftException receipt, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-