Class ResourceInterventionSearchFilter

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

public class ResourceInterventionSearchFilter extends DynO
Represents an input object for ResourceInterventionSearchEvent. It contains the filters for returning the activities assigned to resource.
Since:
18.0
See Also:
  • Constructor Details

    • ResourceInterventionSearchFilter

      public ResourceInterventionSearchFilter()
  • Method Details

    • getResource

      public Collection<Long> getResource()
      Returns the collection of resource ids.
      Returns:
      a collection of resource ids
    • setResource

      public void setResource(Collection<Long> resource)
      Sets the collection of resource ids.
      Parameters:
      resource - a collection of resource ids
    • isTeamLeader

      public Boolean isTeamLeader()
      Checks if the resource is a team leader.
      Returns:
      true if the resource is a team leader, false otherwise
    • setTeamLeader

      public void setTeamLeader(Boolean teamLeader)
      Sets the flag indicating whether the resource is a team leader.
      Parameters:
      teamLeader - true if the resource is a team leader, false otherwise
    • getStartDate

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

      public void setStartDate(Date startDate)
      Sets the start date.
      Parameters:
      startDate - the start date to be set
    • getEndDate

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

      public void setEndDate(Date endDate)
      Sets the end date.
      Parameters:
      endDate - the end date to be set
    • getOutcomeStartDate

      public Date getOutcomeStartDate()
      Returns the start date of the outcome.
      Returns:
      the start date of the outcome
    • setOutcomeStartDate

      public void setOutcomeStartDate(Date outcomeStartDate)
      Sets the start date of the outcome.
      Parameters:
      outcomeStartDate - the start date of the outcome to be set
    • getOutcomeEndDate

      public Date getOutcomeEndDate()
      Returns the end date of the outcome.
      Returns:
      the end date of the outcome
    • setOutcomeEndDate

      public void setOutcomeEndDate(Date outcomeEndDate)
      Sets the end date of the outcome.
      Parameters:
      outcomeEndDate - the end date of the outcome to be set
    • 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
    • getWorkOrder

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

      public void setWorkOrder(Collection<Long> workOrder)
      Sets the collection of work order ids as filter.
      Parameters:
      workOrder - the work order ids
    • 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