Class BTWorkOrderStatusChange
java.lang.Object
overit.geocall.bl.BusinessTask<WorkOrderStatusChangeEvent>
overit.geocallapp.wfm.project.bl.status.task.BTWorkOrderStatusChange
- All Implemented Interfaces:
Serializable,Tool
@Event(WorkOrderStatusChangeEvent.class)
public class BTWorkOrderStatusChange
extends BusinessTask<WorkOrderStatusChangeEvent>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidalignActivityStatus(Long activityId, PoolKit pk) protected voidbody(WorkOrderStatusChangeEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected LongSetprotected DBViewloadOperations(Long workOrderId, PoolKit pk) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTWorkOrderStatusChange
public BTWorkOrderStatusChange()
-
-
Method Details
-
body
protected void body(WorkOrderStatusChangeEvent event, PoolKit pk) 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<WorkOrderStatusChangeEvent>- 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
-
loadOperations
protected DBView loadOperations(Long workOrderId, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
getStatusesToConsider
-
alignActivityStatus
protected void alignActivityStatus(Long activityId, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-