java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.schedule.intervention.agenda.BOAgenda
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class BOAgenda extends DynO
Business object representing a agenda
Since:
9.2
See Also:
GCApi:
bo
  • Constructor Details

    • BOAgenda

      public BOAgenda()
  • Method Details

    • getId

      public Long getId()
      Returns the agenda id.
      Returns:
      the agenda id
    • setId

      public void setId(Long id)
      Sets the agenda id.
      Parameters:
      id - the agenda id
    • getMainOperationAgenda

      public Long getMainOperationAgenda()
      Returns the main operation agenda id.
      Returns:
      the main operation agenda id
      See Also:
    • setMainOperationAgenda

      public void setMainOperationAgenda(Long mainOperationAgenda)
      Sets the main operation agenda id.
      Parameters:
      mainOperationAgenda - the main operation agenda id
      See Also:
    • isMainOperationAgenda

      public boolean isMainOperationAgenda()
      Checks if this is the main operation agenda.
      Returns:
      true, if this is the main operation agenda
    • getState

      public Long getState()
      Returns the agenda state id.
      Returns:
      the agenda state id
      See Also:
    • setState

      public void setState(Long state)
      Sets the agenda state id.
      Parameters:
      state - the agenda state id
      See Also:
    • getStartDate

      public Date getStartDate()
      Returns the agenda start date.
      Returns:
      the start date
    • setStartDate

      public void setStartDate(Date beginDate)
      Sets the agenda start date.
      Parameters:
      beginDate - the start date
    • getForemanScheduling

      public Long getForemanScheduling()
      Returns the agenda foreman scheduling id.
      Returns:
      the foreman scheduling id
      See Also:
    • setForemanScheduling

      public void setForemanScheduling(Long foremanScheduling)
      Sets the foreman scheduling id.
      Parameters:
      foremanScheduling - the foreman scheduling id
      See Also:
    • getForeman

      public Long getForeman()
      Returns the foreman id.
      Returns:
      the foreman id
      See Also:
    • setForeman

      public void setForeman(Long foreman)
      Sets the foreman id.
      Parameters:
      foreman - the foreman id
      See Also:
    • getTeamResources

      public LongSet getTeamResources()
      Returns the team resources.
      Returns:
      the team resources
    • setTeamResources

      public void setTeamResources(LongSet teamResources)
      Sets the team resources.
      Parameters:
      teamResources - the team resources
    • getTeamResourcesString

      public String getTeamResourcesString()
      Returns the team resources string.
      Returns:
      the team resources string
    • setTeamResources

      public void setTeamResources(String teamResources)
      Sets the team resources.
      Parameters:
      teamResources - the team resources
    • isClosed

      public boolean isClosed()
      Checks if the agenda is closed.
      Returns:
      true, if the agenda is closed
    • isScheduled

      public boolean isScheduled()
      Checks if the agenda is scheduled.
      Returns:
      true, if the agenda is scheduled
    • getEndDate

      public Date getEndDate()
      Returns the agenda end date.
      Returns:
      the end date
    • setEndDate

      public void setEndDate(Date endDate)
      Sets the agenda end date.
      Parameters:
      endDate - the end date
    • getLastSchedulingResource

      public Long getLastSchedulingResource()
      Returns the last scheduling resource.
      Returns:
      the last scheduling resource
    • setLastSchedulingResource

      public void setLastSchedulingResource(Long lastSchedulingResource)
      Sets the last scheduling resource.
      Parameters:
      lastSchedulingResource - the last scheduling resource
    • getCrewShellUser

      public Long getCrewShellUser()
      Returns the crew shell user.
      Returns:
      the crew shell user
    • setCrewShellUser

      public void setCrewShellUser(Long crewShellUser)
      Sets the crew shell user.
      Parameters:
      crewShellUser - the crew shell user