Class BTVCAppointmentCreation
java.lang.Object
overit.geocall.bl.BusinessTask<VCAppointmentCreationEvent>
overit.geocallapp.wfm.core.bl.common.validexecution.ValidExecutionBusinessTask<VCAppointmentCreationEvent>
overit.geocallapp.wfm.core.bl.common.validexecution.ValidPermissionBusinessTask<VCAppointmentCreationEvent>
overit.geocallapp.wfm.cee.bl.task.BTCeeManagement<VCAppointmentCreationEvent>
overit.geocallapp.wfm.cee.bl.intervention.task.BTVCAppointmentCreation
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(VCAppointmentCreationEvent.class)
public class BTVCAppointmentCreation
extends BTCeeManagement<VCAppointmentCreationEvent>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CeeHelperprotected RestClientHelperprotected static final LogChannel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DTOVCAppointmentCreationRequestbuildRequestDTO(VCAppointment vcAppointment, BOUser user, List<DTOMessage> messages) protected voidexecute(VCAppointmentCreationEvent event, PoolKit poolKit) protected BOUserprotected Stringprotected voidprotected voidnotifyVCAppointmentCreation(VCAppointment vcAppointment, InterventionApi api, PoolKit pk) 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
-
BTVCAppointmentCreation
public BTVCAppointmentCreation()
-
-
Method Details
-
execute
protected void execute(VCAppointmentCreationEvent event, PoolKit poolKit) throws DAException, DAValidateException - Specified by:
executein classValidExecutionBusinessTask<VCAppointmentCreationEvent>- Throws:
DAExceptionDAValidateException
-
initialize
protected void initialize() -
notifyVCAppointmentCreation
protected void notifyVCAppointmentCreation(VCAppointment vcAppointment, InterventionApi api, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
getUser
- Throws:
DAValidateExceptionDAException
-
buildRequestDTO
protected DTOVCAppointmentCreationRequest buildRequestDTO(VCAppointment vcAppointment, BOUser user, List<DTOMessage> messages) -
getVCAppointmentTechnicianName
-