Class BTPositionCacheLoad
java.lang.Object
overit.geocall.bl.BusinessTask<PositionCacheLoadEvent>
overit.geocallapp.wfm.core.bl.schedule.cache.position.task.BTPositionCacheLoad
- All Implemented Interfaces:
Serializable,Tool
@Event(PositionCacheLoadEvent.class)
public class BTPositionCacheLoad
extends BusinessTask<PositionCacheLoadEvent>
Business task to load a
When the
PositionCacheLoadEvent object. When the
PositionCacheLoadEvent event is launched the BT notices the
call and load the BTPositionCacheLoad object basing on the event's input. - Since:
- 18.0
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(PositionCacheLoadEvent positionCacheLoadEvent, PoolKit poolKit) Implements this method to write the specific task logic to handle the input parameter.protected LonggetOperationCenter(Long workshift, PoolKit poolKit) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTPositionCacheLoad
public BTPositionCacheLoad()
-
-
Method Details
-
body
protected void body(PositionCacheLoadEvent positionCacheLoadEvent, PoolKit poolKit) 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<PositionCacheLoadEvent>- Parameters:
positionCacheLoadEvent- the object upon which the task will works onpoolKit- 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
-
getOperationCenter
protected Long getOperationCenter(Long workshift, PoolKit poolKit) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-