Class BTAlignFsmAgendaAffinity
java.lang.Object
overit.geocall.bl.BusinessTask<AlignFsmAgendaAffinityEvent>
overit.geocallapp.wfm.ai.bl.agendaaffinity.task.BTAlignFsmAgendaAffinity
- All Implemented Interfaces:
Serializable,Tool
@Event(AlignFsmAgendaAffinityEvent.class)
public class BTAlignFsmAgendaAffinity
extends BusinessTask<AlignFsmAgendaAffinityEvent>
- Since:
- 9.3
- See Also:
- GCApi:
- task
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(AlignFsmAgendaAffinityEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected voiddeleteOldPredictions(Long schedulingModel, Set<Long> workshifts, PoolKit pk) protected voidprotected voidupdateFsmAgendaffinity(List<BOResourceShiftAgendaAffinity> affinities, PoolKit pk) Update FSM agenda affinity table with the predicted resultsMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
daoAgendaAffinity
-
-
Constructor Details
-
BTAlignFsmAgendaAffinity
public BTAlignFsmAgendaAffinity()
-
-
Method Details
-
body
protected void body(AlignFsmAgendaAffinityEvent 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<AlignFsmAgendaAffinityEvent>- 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
-
deleteOldPredictions
protected void deleteOldPredictions(Long schedulingModel, Set<Long> workshifts, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
updateFsmAgendaffinity
protected void updateFsmAgendaffinity(List<BOResourceShiftAgendaAffinity> affinities, PoolKit pk) throws DAValidateException, DAException Update FSM agenda affinity table with the predicted results- Parameters:
affinities- the list of affinities for workshiftspk- the PoolKit- Throws:
DAValidateExceptionDAException
-
updateElaboratedAffinity
- Throws:
DAExceptionDAValidateException
-