Class BTLoadActivityPlanData
java.lang.Object
overit.geocall.bl.BusinessTask<LoadActivityPlanDataEvent>
overit.geocallapp.wfm.project.bl.management.planning.task.BTLoadActivityPlanData
- All Implemented Interfaces:
Serializable,Tool
@Event(LoadActivityPlanDataEvent.class)
public class BTLoadActivityPlanData
extends BusinessTask<LoadActivityPlanDataEvent>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(LoadActivityPlanDataEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected PooledConnectionprotected voidinit(LoadActivityPlanDataEvent event, PoolKit pk) protected DBViewloadOperations(int maxrows, int skiprows, String order, PoolKit pk) protected DBViewloadPlanningSlots(DBView operations, PoolKit pk) protected DBViewloadSchedulingSlots(DBView planningSlots, PoolKit pk) protected List<OperationPlanning> preparePlannedOperations(DBView operations, DBView planningSlots, DBView schedulingSlots, PoolKit pk) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
searchFilter
-
-
Constructor Details
-
BTLoadActivityPlanData
public BTLoadActivityPlanData()
-
-
Method Details
-
body
protected void body(LoadActivityPlanDataEvent 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<LoadActivityPlanDataEvent>- 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
-
init
protected void init(LoadActivityPlanDataEvent event, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
loadOperations
protected DBView loadOperations(int maxrows, int skiprows, String order, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
loadPlanningSlots
protected DBView loadPlanningSlots(DBView operations, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
loadSchedulingSlots
protected DBView loadSchedulingSlots(DBView planningSlots, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
preparePlannedOperations
protected List<OperationPlanning> preparePlannedOperations(DBView operations, DBView planningSlots, DBView schedulingSlots, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
getPooledConnection
- Throws:
DAException
-