Class BTCrewShellWorkshiftCompleteModify
java.lang.Object
overit.geocall.bl.BusinessTask<WorkShiftNotificationEvent>
overit.geocallapp.wfm.core.bl.crewshell.workshift.task.BTCrewShellWorkshiftCompleteModify
- All Implemented Interfaces:
Serializable,Tool
@Event(WorkShiftNotificationEvent.class)
public class BTCrewShellWorkshiftCompleteModify
extends BusinessTask<WorkShiftNotificationEvent>
Business task to complete a crew shell
When the
BOWorkShift insert or update action. When the
WorkShiftNotificationEvent event is launched the BT notices the
call and complete the BOWorkShift update action basing on the event's input. - Since:
- 16.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(WorkShiftNotificationEvent event, PoolKit poolKit) Implements this method to write the specific task logic to handle the input parameter.protected voidvalidateCrewShellWorkshift(BOWorkShift workShift, BOCrewShell crewShell, PoolKit poolKit) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTCrewShellWorkshiftCompleteModify
public BTCrewShellWorkshiftCompleteModify()
-
-
Method Details
-
body
protected void body(WorkShiftNotificationEvent event, PoolKit poolKit) throws DAException, DAValidateException Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Specified by:
bodyin classBusinessTask<WorkShiftNotificationEvent>- 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
-
validateCrewShellWorkshift
protected void validateCrewShellWorkshift(BOWorkShift workShift, BOCrewShell crewShell, PoolKit poolKit) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-