Class BTVCAppointmentsActivation
java.lang.Object
overit.geocall.bl.BusinessTask<VCAppointmentsActivationEvent>
overit.geocallapp.wfm.core.bl.common.validexecution.ValidExecutionBusinessTask<VCAppointmentsActivationEvent>
overit.geocallapp.wfm.core.bl.common.validexecution.ValidPermissionBusinessTask<VCAppointmentsActivationEvent>
overit.geocallapp.wfm.cee.bl.task.BTCeeManagement<VCAppointmentsActivationEvent>
overit.geocallapp.wfm.cee.bl.intervention.task.BTVCAppointmentsActivation
- All Implemented Interfaces:
Serializable,Tool,ValidExecution
@Event(VCAppointmentsActivationEvent.class)
public class BTVCAppointmentsActivation
extends BTCeeManagement<VCAppointmentsActivationEvent>
Scheduled task for VC appointments activation
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DAOVCAppointmentprotected static final LogChannelprotected TimeSlot -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivateVCAppoointment(HashGetter vcAppointment, PoolKit poolKit) protected voidexecute(VCAppointmentsActivationEvent event, PoolKit poolKit) protected voidprotected intprotected Stringprotected voidprotected DBViewprotected intupdateVCAppointment(HashGetter vcAppointment, 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
-
timeSlot
-
daoVCAppointments
-
-
Constructor Details
-
BTVCAppointmentsActivation
public BTVCAppointmentsActivation()
-
-
Method Details
-
execute
protected void execute(VCAppointmentsActivationEvent event, PoolKit poolKit) throws DAException, DAValidateException - Specified by:
executein classValidExecutionBusinessTask<VCAppointmentsActivationEvent>- Throws:
DAExceptionDAValidateException
-
activateVCAppoointment
protected void activateVCAppoointment(HashGetter vcAppointment, PoolKit poolKit) throws SQLException, DAException - Throws:
SQLExceptionDAException
-
loadVCAppointmentsToActivate
- Throws:
DAValidateExceptionDAException
-
prepareFilter
-
getTimeSlotName
-
getTimeSlotDuration
protected int getTimeSlotDuration() -
initTimeSlot
- Throws:
DAExceptionDAValidateException
-
freeTimeSlot
protected void freeTimeSlot() -
updateVCAppointment
protected int updateVCAppointment(HashGetter vcAppointment, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-