Class BTEvaluateOperationPlanSchedulingSlot
java.lang.Object
overit.geocall.bl.BusinessTask<EvaluateOperationPlanSchedulingSlotsEvent>
overit.geocallapp.wfm.project.bl.management.planning.task.slotevaluation.BTEvaluateOperationPlanSchedulingSlot
- All Implemented Interfaces:
Serializable,Tool
@Event(EvaluateOperationPlanSchedulingSlotsEvent.class)
public class BTEvaluateOperationPlanSchedulingSlot
extends BusinessTask<EvaluateOperationPlanSchedulingSlotsEvent>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(EvaluateOperationPlanSchedulingSlotsEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.List<overit.geocallapp.wfm.util.intervalli.DateTimeInterval> defineRequiredTimeranges(List<OperationPlanning> operationPlannings) protected Map<Long, ResourceData> loadResourceData(List<overit.geocallapp.wfm.util.intervalli.DateTimeInterval> requiredRanges, OperationPlanSlotSchedulingParameters schedulingParams, PoolKit pk) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTEvaluateOperationPlanSchedulingSlot
public BTEvaluateOperationPlanSchedulingSlot()
-
-
Method Details
-
body
protected void body(EvaluateOperationPlanSchedulingSlotsEvent 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<EvaluateOperationPlanSchedulingSlotsEvent>- 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
-
defineRequiredTimeranges
public List<overit.geocallapp.wfm.util.intervalli.DateTimeInterval> defineRequiredTimeranges(List<OperationPlanning> operationPlannings) -
loadResourceData
protected Map<Long,ResourceData> loadResourceData(List<overit.geocallapp.wfm.util.intervalli.DateTimeInterval> requiredRanges, OperationPlanSlotSchedulingParameters schedulingParams, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-