Class BTLoadResourceData
java.lang.Object
overit.geocall.bl.BusinessTask<LoadResourceDataEvent>
overit.geocallapp.wfm.project.bl.management.planning.task.slotevaluation.resourcedata.BTLoadResourceData
- All Implemented Interfaces:
Serializable,Tool
@Event(LoadResourceDataEvent.class)
public class BTLoadResourceData
extends BusinessTask<LoadResourceDataEvent>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(LoadResourceDataEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected List<BOSchedulingSlot> loadInterventions(Long userId, overit.geocallapp.wfm.util.intervalli.DateTimeInterval range, PoolKit pk) loadReceipts(Long userId, overit.geocallapp.wfm.util.intervalli.DateTimeInterval range, PoolKit pk) protected List<BOWorkShift> loadWorkShifts(Long userId, overit.geocallapp.wfm.util.intervalli.DateTimeInterval range, PoolKit pk) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTLoadResourceData
public BTLoadResourceData()
-
-
Method Details
-
body
protected void body(LoadResourceDataEvent 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<LoadResourceDataEvent>- 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
-
loadInterventions
protected List<BOSchedulingSlot> loadInterventions(Long userId, overit.geocallapp.wfm.util.intervalli.DateTimeInterval range, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
loadReceipts
protected List<BOReceipt> loadReceipts(Long userId, overit.geocallapp.wfm.util.intervalli.DateTimeInterval range, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
loadWorkShifts
protected List<BOWorkShift> loadWorkShifts(Long userId, overit.geocallapp.wfm.util.intervalli.DateTimeInterval range, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-