Class BTRemoveSlots
java.lang.Object
overit.geocall.bl.BusinessTask<RemoveSlotsEvent>
overit.geocallapp.wfm.project.bl.management.planning.task.BTRemoveSlots
- All Implemented Interfaces:
Serializable,Tool
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(RemoveSlotsEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected PooledConnectionprotected voidprotected HashGetterloadAppointment(Long saasId, PooledConnection conn) protected DBViewloadLinkedAgenda(Long saasId, PooledConnection conn) protected List<HashGetter> loadSlotLinkedData(Long primaryAaageId, PooledConnection conn) protected voidprotected voidprotected voidprotected voidremoveSlots(PoolKit pk) protected voidunplanAgenda(Long saasId, Long aageId, PooledConnection conn) protected voidupdateAppointmentStatus(Long saasId, PooledConnection conn) protected voidupdateOperationStatus(Long aodrId, PooledConnection conn) protected voidupdateWorkorderStatus(Long workorderId, PooledConnection conn) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
operationPlannings
-
-
Constructor Details
-
BTRemoveSlots
public BTRemoveSlots()
-
-
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<RemoveSlotsEvent>- Parameters:
event- the object upon which the task will works onpk- 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
-
removeSlots
- Throws:
DAExceptionDAValidateException
-
getPooledConnection
- Throws:
DAException
-
removePlanningSlots
- Throws:
DAValidateExceptionDAException
-
loadSlotLinkedData
protected List<HashGetter> loadSlotLinkedData(Long primaryAaageId, PooledConnection conn) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
unplanAgenda
protected void unplanAgenda(Long saasId, Long aageId, PooledConnection conn) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
loadAppointment
protected HashGetter loadAppointment(Long saasId, PooledConnection conn) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
removeSchedulingSlots
- Throws:
DAValidateExceptionDAException
-
recalculateStatus
- Throws:
DAValidateExceptionDAException
-
updateAppointmentStatus
protected void updateAppointmentStatus(Long saasId, PooledConnection conn) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
loadLinkedAgenda
protected DBView loadLinkedAgenda(Long saasId, PooledConnection conn) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
updateOperationStatus
protected void updateOperationStatus(Long aodrId, PooledConnection conn) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
updateWorkorderStatus
protected void updateWorkorderStatus(Long workorderId, PooledConnection conn) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
launchSavedEvent
- Throws:
DAExceptionDAValidateException
-