Class BTNearestWorkShiftLoad
java.lang.Object
overit.geocall.bl.BusinessTask<NearestWorkShiftLoadEvent>
overit.geocallapp.wfm.core.bl.workshift.task.BTNearestWorkShiftLoad
- All Implemented Interfaces:
Serializable,Tool
@Event(NearestWorkShiftLoadEvent.class)
public class BTNearestWorkShiftLoad
extends BusinessTask<NearestWorkShiftLoadEvent>
Business task in order to load the work shift of the resource nearest to the given date.
When the
When the
NearestWorkShiftLoadEvent is launched
the BT notices the call and loads the work shift basing on the event's input. - Since:
- 9.2
- See Also:
- GCApi:
- task
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(NearestWorkShiftLoadEvent event, PoolKit poolKit) Writes the id of the resource work shift nearest to the given date.Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTNearestWorkShiftLoad
public BTNearestWorkShiftLoad()
-
-
Method Details
-
body
protected void body(NearestWorkShiftLoadEvent event, PoolKit poolKit) throws DAException, DAValidateException Writes the id of the resource work shift nearest to the given date.- Specified by:
bodyin classBusinessTask<NearestWorkShiftLoadEvent>- Parameters:
event- the eventpoolKit- the pool kit- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-