Class BTCalculateAgendaAffinity
java.lang.Object
overit.geocall.bl.BusinessTask<ScheduleCalculateAgendaAffinityEvent>
overit.geocallapp.wfm.ai.bl.processing.task.BTCalculateAgendaAffinity
- All Implemented Interfaces:
Serializable,Tool
@Event(ScheduleCalculateAgendaAffinityEvent.class)
public class BTCalculateAgendaAffinity
extends BusinessTask<ScheduleCalculateAgendaAffinityEvent>
This task is a listener of CalculateAgendaAffinityEvent of core module, and
launch the Agenda Affinity prediction task
- Since:
- 9.2
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(ScheduleCalculateAgendaAffinityEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected BOConfigurationParamsgetConfigurationParameters(Long operationCenter, PoolKit pk) Get the available prediction configuration for agenda affinity prediction task.Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTCalculateAgendaAffinity
public BTCalculateAgendaAffinity()
-
-
Method Details
-
body
protected void body(ScheduleCalculateAgendaAffinityEvent 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<ScheduleCalculateAgendaAffinityEvent>- 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
-
getConfigurationParameters
protected BOConfigurationParams getConfigurationParameters(Long operationCenter, PoolKit pk) throws DAValidateException, DAException Get the available prediction configuration for agenda affinity prediction task.- Parameters:
operationCenter- the Operation Center Idpk- the PoolKit- Returns:
- Throws:
DAValidateExceptionDAException
-