Class InterventionSearchFilter

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.execution.bl.intervention.event.InterventionSearchFilter
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class InterventionSearchFilter extends DynO
Business object representing a search filter for the BOIntervention.
Since:
18.0
See Also:
GCApi:
bo
  • Constructor Details

    • InterventionSearchFilter

      public InterventionSearchFilter()
  • Method Details

    • getId

      public Collection<Long> getId()
      Returns the collection of ids that was set as filter.
      Returns:
      a collection of ids
    • setId

      public void setId(Collection<Long> id)
      Sets the collection of ids as filter.
      Parameters:
      id - the collection of ids
    • getStatus

      public Collection<Long> getStatus()
      Returns the collection of status ids that was set as filter.
      Returns:
      a collection of status ids
    • setStatus

      public void setStatus(Collection<Long> status)
      Sets the collection of status ids as filter.
      Parameters:
      status - the status ids
    • getStartDate

      public DateTimeRange getStartDate()
      Returns the intervention start date that was set as filter.
      Returns:
      the intervention start date
    • setStartDate

      public void setStartDate(DateTimeRange startDate)
      Sets the intervention start date as filter.
      Parameters:
      startDate - the intervention start date
    • getEndDate

      public DateTimeRange getEndDate()
      Returns the intervention end date that was set as filter.
      Returns:
      the intervention end date
    • setEndDate

      public void setEndDate(DateTimeRange endDate)
      Sets the intervention end date as filter.
      Parameters:
      endDate - the intervention end date
    • getWorkOrderOperation

      public Collection<Long> getWorkOrderOperation()
      Returns the collection of work order operation ids that was set as filter.
      Returns:
      a collection of work order operation ids
    • setWorkOrderOperation

      public void setWorkOrderOperation(Collection<Long> workOrderOperation)
      Sets the collection of work order operation ids as filter.
      Parameters:
      workOrderOperation - the work order operation ids
    • getDefaultDuration

      public Long getDefaultDuration()
      Returns the intervention default duration that was set as filter.
      Returns:
      the intervention default duration
    • setDefaultDuration

      public void setDefaultDuration(Long defaultDuration)
      Sets the intervention default duration as filter.
      Parameters:
      defaultDuration - the intervention default duration
    • getForeman

      public Collection<Long> getForeman()
      Retrieves the foreman id associated with the intervention.
      Returns:
      the foreman id
    • setForeman

      public void setForeman(Collection<Long> foreman)
      Sets the foreman id for the intervention.
      Parameters:
      foreman - the foreman id to set
    • getResourceInterventionsSearch

      public Boolean getResourceInterventionsSearch()
      Retrieves the value of the resourceInterventionsSearch flag.
      Returns:
      the value of the resourceInterventionsSearch flag
    • setResourceInterventionsSearch

      public void setResourceInterventionsSearch(Boolean resourceInterventionsSearch)
      Sets the resourceInterventionsSearch.
      Parameters:
      resourceInterventionsSearch - the value to set
    • getParent

      public Collection<Long> getParent()
      Returns the collection of parent ids that was set as filter.
      Returns:
      a collection of parent ids
    • setParent

      public void setParent(Collection<Long> parent)
      Parameters:
      parent - the collection of parent ids