Class BTBuildInterventionTimeLine
java.lang.Object
overit.geocall.bl.BusinessTask<Void>
overit.geocallapp.wfm.ai.bl.duration.prediction.support.task.BTBuildInterventionTimeLine
- All Implemented Interfaces:
Serializable,Tool
Business task for calculate some duration values useful for time prediction dashboard and monitor
- Since:
- 9.2
- See Also:
- GCApi:
- task
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final overit.geocallapp.wfm.util.timeline.TimeLineItemTypestatic final overit.geocallapp.wfm.util.timeline.TimeLineItemTypestatic final overit.geocallapp.wfm.util.timeline.TimeLineItemTypestatic final overit.geocallapp.wfm.util.timeline.TimeLineItemTypestatic final overit.geocallapp.wfm.util.timeline.TimeLineItemType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddClockings(DBView clockings) protected voidprotected voidaddReceipts(DBView recepits) protected voidaddWorkshiftBreaks(DBView userWorkshift) protected voidImplements this method to write the specific task logic to handle the input parameter.protected DBViewgetClockings(LongSet workshiftsId, PoolKit pk) Date[]protected DBViewgetReceipts(PoolKit pk) overit.geocallapp.wfm.util.timeline.TimeLineprotected DBViewgetWorkshifts(PoolKit pk) voidsetInterval(Date[] interval) voidsetInterventions(DBView interventions) voidsetTimeLine(overit.geocallapp.wfm.util.timeline.TimeLine timeLine) voidMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
ACTIVITY
public static final overit.geocallapp.wfm.util.timeline.TimeLineItemType ACTIVITY -
ABSENCE
public static final overit.geocallapp.wfm.util.timeline.TimeLineItemType ABSENCE -
ACTUAL_ABSENCE
public static final overit.geocallapp.wfm.util.timeline.TimeLineItemType ACTUAL_ABSENCE -
EXPECTED_BREAK
public static final overit.geocallapp.wfm.util.timeline.TimeLineItemType EXPECTED_BREAK -
ACTUAL_BREAK
public static final overit.geocallapp.wfm.util.timeline.TimeLineItemType ACTUAL_BREAK
-
-
Constructor Details
-
BTBuildInterventionTimeLine
public BTBuildInterventionTimeLine()
-
-
Method Details
-
body
Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Specified by:
bodyin classBusinessTask<Void>- 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
-
addInterventions
protected void addInterventions() -
getWorkshifts
- Throws:
DAExceptionDAValidateException
-
addWorkshiftBreaks
-
getClockings
protected DBView getClockings(LongSet workshiftsId, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
addClockings
-
getReceipts
- Throws:
DAExceptionDAValidateException
-
addReceipts
-
getTimeLine
public overit.geocallapp.wfm.util.timeline.TimeLine getTimeLine() -
setTimeLine
public void setTimeLine(overit.geocallapp.wfm.util.timeline.TimeLine timeLine) -
getUserId
-
setUserId
-
getInterval
-
setInterval
-
getInterventions
-
setInterventions
-