Class BTTimesheetClockingNotification
java.lang.Object
overit.geocall.bl.BusinessTask<ClockingNotificationEvent>
overit.geocallapp.wfm.core.bl.timesheet.task.BTTimesheet<ClockingNotificationEvent>
overit.geocallapp.wfm.core.bl.timesheet.notification.task.BTTimesheetClockingNotification
- All Implemented Interfaces:
Serializable,Tool
@Event(ClockingNotificationEvent.class)
public class BTTimesheetClockingNotification
extends BTTimesheet<ClockingNotificationEvent>
Business task that reacts to the notification about a clocking.
- Since:
- 9.2
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcancelAutomaticTimesheetTask(BOClocking clocking, PoolKit poolKit) protected voidexecute(ClockingNotificationEvent event, PoolKit poolKit) protected LonggetEventType(BOClocking clocking, PoolKit poolKit) protected BOClockingloadClocking(Long clockingId, PoolKit poolKit) protected BOClockingTypeloadClockingType(Long clockingType, PoolKit poolKit) protected booleanprotected voidupsertAutomaticTimesheetTask(BOClocking clocking, 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
-
BTTimesheetClockingNotification
public BTTimesheetClockingNotification()
-
-
Method Details
-
throwInactiveTimesheetException
protected boolean throwInactiveTimesheetException()- Overrides:
throwInactiveTimesheetExceptionin classBTTimesheet<ClockingNotificationEvent>
-
execute
protected void execute(ClockingNotificationEvent event, PoolKit poolKit) throws DAException, DAValidateException - Specified by:
executein classBTTimesheet<ClockingNotificationEvent>- Throws:
DAExceptionDAValidateException
-
loadClocking
protected BOClocking loadClocking(Long clockingId, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
upsertAutomaticTimesheetTask
protected void upsertAutomaticTimesheetTask(BOClocking clocking, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
getEventType
protected Long getEventType(BOClocking clocking, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
loadClockingType
protected BOClockingType loadClockingType(Long clockingType, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
cancelAutomaticTimesheetTask
protected void cancelAutomaticTimesheetTask(BOClocking clocking, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-