Class SchedulingTeam
java.lang.Object
overit.geocallapp.wfm.orchestrator.scheduling.bl.schedulingteam.SchedulingTeam
- All Implemented Interfaces:
Serializable
Object that contains all the required information about the team
- Since:
- 18.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAssistant(SchedulingTeamResource assistant) voidcalculateCurrentActivityPosition(Long activityId) Given an activity Id, calculates the position of the schedulings related to the input activityvoidCalculate the starting coordinate of the day of each team resource.voidCalculates the common arrival hour for each team membervoidCheck generic qualification on all the resources.voidevaluateTeamResourceAvailability(Date referenceDate) Check if all the resources of the team are active in an in put dayprotected SchedulingIntegrationServiceprotected DatevoidInitialize the previous scheduling position to the last activity position of the day.voidsetForeman(SchedulingTeamResource foreman) protected voidsetPoolKit(PoolKit poolKit) toString()
-
Constructor Details
-
SchedulingTeam
public SchedulingTeam()
-
-
Method Details
-
setPoolKit
- Parameters:
poolKit- the poolKit to set
-
getIntegrationService
- Throws:
DAValidateException
-
getForeman
-
setForeman
-
getAssistants
-
addAssistant
-
getAllTeamResources
-
initializePreviousSchedulingPosition
public void initializePreviousSchedulingPosition()Initialize the previous scheduling position to the last activity position of the day. -
calculateCurrentActivityPosition
Given an activity Id, calculates the position of the schedulings related to the input activity -
calculateResourcesCoordinates
Calculate the starting coordinate of the day of each team resource.- Throws:
DAExceptionDAValidateException
-
calculateTeamExpectedArrivalDate
Calculates the common arrival hour for each team member- Throws:
DAExceptionDAValidateException
-
getMaxExpectedArrivalHour
- Returns:
- the arrival date of the team (the later arrival hour of team members)
-
checkGenericQualifications
Check generic qualification on all the resources.- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
evaluateTeamResourceAvailability
Check if all the resources of the team are active in an in put day- Parameters:
referenceDate- theDateused for evaluate the resource validity- Throws:
DAValidateException- if there is at least one resource not active in the input day
-
toString
-