Class BTPlannedActivityTooltipLoad
java.lang.Object
overit.geocall.bl.BusinessTask<PlannedActivityTooltipDataLoadEvent>
overit.geocallapp.wfm.core.ux.schedule.tooltip.task.BTActivityTooltipDataLoad<PlannedActivityTooltipDataLoadEvent>
overit.geocallapp.wfm.core.ux.schedule.tooltip.task.BTPlannedActivityTooltipLoad
- All Implemented Interfaces:
Serializable,Tool
@Event(value=PlannedActivityTooltipDataLoadEvent.class,
priority=-1)
public class BTPlannedActivityTooltipLoad
extends BTActivityTooltipDataLoad<PlannedActivityTooltipDataLoadEvent>
Build the activity tool-tip data for a planned activity
- Since:
- 9.2
- See Also:
- GCApi:
- task
-
Field Summary
Fields inherited from class overit.geocallapp.wfm.core.ux.schedule.tooltip.task.BTActivityTooltipDataLoad
CREW_SHELL_SEPARATOR, DATES_SEPARATOR, PLANNING_ID_FIELD, SIMULATION_MODEL_FIELD, SPACE, ssh, STRING_SEPARATOR, teacher -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidaddActivityAddressToDBView(DBView result) Adds activity address information to the provided DBView when double location mode is active.protected voidbody(PlannedActivityTooltipDataLoadEvent event, PoolKit poolKit) Implements this method to write the specific task logic to handle the input parameter.Methods inherited from class overit.geocallapp.wfm.core.ux.schedule.tooltip.task.BTActivityTooltipDataLoad
applicationPreferences, decodeCoworkerInfo, decodeLinkedActivities, decodeValidationState, decodeWorkOrderOperationState, decodeWorkOrderState, fillAccountingData, fillData, fillSchedulingData, fillTeamSuggestionData, fillValidationData, fillWorkOrderInfo, getActivityAddressDescription, getActivityDescription, getAddressDescription, getAdvanceOrDelayAllowed, getAppointmentInterval, getBlockInterval, getDistanceFromPreviousActivity, getInactivityTime, getResourceInfo, getScheduledInterval, getTeamForemanDescription, getTimePreviousActivity, getTranslatedString, getWorkInterval, getWorkOrderInfo, getWorkOrderTargetDescription, isAgendaMaterialValidationType, isManpowerValidationType, isTechnicalValidationType, isValidationTypeEnabled, movingEndMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
BTPlannedActivityTooltipLoad
public BTPlannedActivityTooltipLoad()
-
-
Method Details
-
body
protected void body(PlannedActivityTooltipDataLoadEvent event, PoolKit poolKit) 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<PlannedActivityTooltipDataLoadEvent>- Parameters:
event- the object upon which the task will works onpoolKit- 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
-
addActivityAddressToDBView
protected static void addActivityAddressToDBView(DBView result) throws DAException, DAValidateException Adds activity address information to the provided DBView when double location mode is active. This method delegates to ActivityAddressHelper to enrich the view with address data.- Parameters:
result- the DBView to be enriched with activity address information- Throws:
DAException- if database access fails during address retrievalDAValidateException- if validation fails during the operation
-