Class BTTimesheet<I>
java.lang.Object
overit.geocall.bl.BusinessTask<I>
overit.geocallapp.wfm.core.bl.timesheet.task.BTTimesheet<I>
- Type Parameters:
I- the input event
- All Implemented Interfaces:
Serializable,Tool
- Direct Known Subclasses:
BTTimesheetActualDurationUpdate,BTTimesheetAgendaResourceNotification,BTTimesheetAutomaticTaskCancel,BTTimesheetAutomaticTaskDurationUpdate,BTTimesheetAutomaticTaskInsert,BTTimesheetAutomaticTaskUpdate,BTTimesheetAutomaticTaskUpsert,BTTimesheetClockingNotification,BTTimesheetClose,BTTimesheetClosureForce,BTTimesheetEntitiesAggregateLoad,BTTimesheetGapFill,BTTimesheetInsert,BTTimesheetLoad,BTTimesheetReopen,BTTimesheetResourceShiftExceptionCancelNotification,BTTimesheetResourceShiftExceptionNotification,BTTimesheetSearch,BTTimesheetShiftCalculation,BTTimesheetTaskCancel,BTTimesheetTaskInsert,BTTimesheetTaskUpdate,BTTimesheetValidate,BTTimesheetWarningsCalculate,BTTimesheetWorkShiftCancelNotification,BTTimesheetWorkShiftNotification
Generic business task for timesheet management.
Checks if the timesheet is activated and, if not, throws a
Checks if the timesheet is activated and, if not, throws a
DAValidateException.Error Code:
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidImplements this method to write the specific task logic to handle the input parameter.protected booleanprotected abstract voidprotected booleanMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTTimesheet
public BTTimesheet()
-
-
Method Details
-
body
Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Specified by:
bodyin classBusinessTask<I>- Parameters:
event- the object upon which the task will works onpoolKit- the poolkit containing the reference to the database connection that can be used- Throws:
DAException- in case of database errorDAValidateException- in case of database validation error
-
checkTimesheetActivation
- Throws:
DAValidateException
-
throwInactiveTimesheetException
protected boolean throwInactiveTimesheetException() -
execute
- Throws:
DAExceptionDAValidateException
-