Class BTPrepareWOForTimePrediction
java.lang.Object
overit.geocall.bl.BusinessTask<WorkOrderValidationEvent>
overit.geocallapp.wfm.ai.bl.duration.prediction.task.BTPrepareWOForTimePrediction
- All Implemented Interfaces:
Serializable,Tool
@Event(WorkOrderValidationEvent.class)
public class BTPrepareWOForTimePrediction
extends BusinessTask<WorkOrderValidationEvent>
Business task for prepare DTOWOOperation needed for populate AWOTIMEPREDICTION table
- Since:
- 9.2
- See Also:
- GCApi:
- task
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BTInsertWOTimePredictionprotected static final LogChannel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(WorkOrderValidationEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected voidcallTimePredictionInsert(BOWorkOrderOperation operation, Long operationCenter, PoolKit pk) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
LOG
-
insertionTask
-
-
Constructor Details
-
BTPrepareWOForTimePrediction
public BTPrepareWOForTimePrediction()
-
-
Method Details
-
body
protected void body(WorkOrderValidationEvent 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<WorkOrderValidationEvent>- 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
-
callTimePredictionInsert
protected void callTimePredictionInsert(BOWorkOrderOperation operation, Long operationCenter, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-