Class BTBookingActionNotification
java.lang.Object
overit.geocall.bl.BusinessTask<BookingActionNotificationEvent>
overit.geocallapp.wfm.core.bl.common.validexecution.ValidExecutionBusinessTask<BookingActionNotificationEvent>
overit.geocallapp.wfm.core.bl.common.validexecution.ValidPermissionBusinessTask<BookingActionNotificationEvent>
overit.geocallapp.wfm.cee.bl.task.BTCeeManagement<BookingActionNotificationEvent>
overit.geocallapp.wfm.cee.bl.task.BTBookingActionNotification
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(BookingActionNotificationEvent.class)
public class BTBookingActionNotification
extends BTCeeManagement<BookingActionNotificationEvent>
Business task for booking action notification to Cee application
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CeeHelperprotected RestClientHelperprotected static final LogChannel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateAppointment(Long interventionId, DTOPlanningRequest planningRequest) protected voidexecute(BookingActionNotificationEvent event, PoolKit poolKit) protected DTOPlanningRequestgetPlanningRequest(Long appointmentId, List<DTOMessage> messages, PoolKit pk) protected voidnotifyInsert(BOAppointment appointment, PoolKit poolKit) Methods inherited from class overit.geocallapp.wfm.cee.bl.task.BTCeeManagement
checkValidExecution, isValidExecution, throwExceptionIfInvalidMethods inherited from class overit.geocallapp.wfm.core.bl.common.validexecution.ValidPermissionBusinessTask
getExceptionMethods inherited from class overit.geocallapp.wfm.core.bl.common.validexecution.ValidExecutionBusinessTask
body, getEventMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
LOG
-
ceeHelper
-
helper
-
-
Constructor Details
-
BTBookingActionNotification
public BTBookingActionNotification()
-
-
Method Details
-
execute
protected void execute(BookingActionNotificationEvent event, PoolKit poolKit) throws DAException, DAValidateException - Specified by:
executein classValidExecutionBusinessTask<BookingActionNotificationEvent>- Throws:
DAExceptionDAValidateException
-
notifyInsert
protected void notifyInsert(BOAppointment appointment, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
getPlanningRequest
protected DTOPlanningRequest getPlanningRequest(Long appointmentId, List<DTOMessage> messages, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
createAppointment
protected void createAppointment(Long interventionId, DTOPlanningRequest planningRequest) throws DAValidateException - Throws:
DAValidateException
-