Class DTOBundleFilter

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.bundler.rs1.bundle.DTOBundleFilter
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class DTOBundleFilter extends DynO
DTO representing a search filter to search for bundles.
Since:
21.0
See Also:
GCApi:
dto
  • Constructor Details

    • DTOBundleFilter

      public DTOBundleFilter()
  • Method Details

    • getInsertUserId

      public final Collection<Long> getInsertUserId()
      Returns the bundle creation user that was set as filter.
      Returns:
      the creation user id
    • getInsertUser

      public final Collection<Long> getInsertUser()
      Returns the bundle creation user that was set as filter. (for M2Mapper compatibility with BundleHeaderSearchFilter).
      Returns:
      the creation user id
    • setInsertUserId

      public final void setInsertUserId(Collection<Long> insertUserId)
      Sets the bundle creation user as filter.
      Parameters:
      insertUserId - the creation user id
    • getInsertDate

      public final ZonedDateTimeRange getInsertDate()
      Returns the bundle creation date.
      Returns:
      the creation date
    • setInsertDate

      public final void setInsertDate(ZonedDateTimeRange creationDate)
      Sets the bundle creation date.
      Parameters:
      creationDate - the creation date
    • getLocked

      public final Boolean getLocked()
      Checks if the Bundle is locked.
      Returns:
      true if the bundle is locked, false otherwise
    • setLocked

      public final void setLocked(Boolean locked)
      Sets if the Bundle must be locked as filter.
      Parameters:
      locked - true if the bundle must be locked, false otherwise
    • getOperationCenterId

      public final Collection<Long> getOperationCenterId()
      Returns the bundle operation center that was set as filter.
      Returns:
      the operation center id
    • getOperationCenter

      public final Collection<Long> getOperationCenter()
      Returns the bundle operation center that was set as filter. (for M2Mapper compatibility with BundleHeaderSearchFilter).
      Returns:
      the operation center id
    • setOperationCenterId

      public final void setOperationCenterId(Collection<Long> operationCenterId)
      Sets the bundle operation center as filter.
      Parameters:
      operationCenterId - the operation center id
    • getStatusId

      public final Collection<Long> getStatusId()
      Returns the set of bundle status that was set as filter.
      Returns:
      the status of bundle operation status
    • getStatus

      public final Collection<Long> getStatus()
      Returns the set of bundle status that was set as filter. (for M2Mapper compatibility with BundleHeaderSearchFilter).
      Returns:
      the status of bundle operation status
    • setStatusId

      public final void setStatusId(Collection<Long> statusId)
      Sets the set of bundle status as filter.
      Parameters:
      statusId - the status of bundle operation status
    • getCriterionId

      public final Collection<Long> getCriterionId()
      Returns the criterion that was set as filter.
      Returns:
      the criterion id
    • getCriterion

      public final Collection<Long> getCriterion()
      Returns the criterion that was set as filter. (for M2Mapper compatibility with BundleHeaderSearchFilter).
      Returns:
      the criterion id
    • setCriterionId

      public final void setCriterionId(Collection<Long> criterionId)
      Sets the criterion as filter.
      Parameters:
      criterionId - the criterion id
    • getId

      public final Collection<Long> getId()
      Returns the bundle header id.
      Returns:
      the the bundle header id
    • setId

      public final void setId(Collection<Long> id)
      Sets the bundle header id.
      Parameters:
      id - the bundle header id
    • getCardinality

      public final Long getCardinality()
      Returns the bundle cardinality.
      Returns:
      the cardinality
    • setCardinality

      public final void setCardinality(Long cardinality)
      Sets the bundle cardinality.
      Parameters:
      cardinality - the cardinality
    • getyCoordinate

      public final Double getyCoordinate()
      Returns the bundle Y coordinate.
      Returns:
      the Y coordinate
    • setyCoordinate

      public final void setyCoordinate(Double yCoordinate)
      Sets the bundle Y coordinate.
      Parameters:
      yCoordinate - the Y coordinate
    • getxCoordinate

      public final Double getxCoordinate()
      Returns the bundle X coordinate.
      Returns:
      the X coordinate
    • setxCoordinate

      public final void setxCoordinate(Double xCoordinate)
      Sets the bundle X coordinate.
      Parameters:
      xCoordinate - the X coordinate
    • getMicrocluster

      public final String getMicrocluster()
      Returns the bundle microcluster.
      Returns:
      the microcluster
    • setMicrocluster

      public final void setMicrocluster(String microcluster)
      Sets the bundle microcluster.
      Parameters:
      microcluster - the microcluster
    • getStartDate

      public final ZonedDateTimeRange getStartDate()
      Returns the bundle start date.
      Returns:
      the start date
    • setStartDate

      public final void setStartDate(ZonedDateTimeRange startDate)
      Sets the bundle start date.
      Parameters:
      startDate - the start date
    • getEndDate

      public final ZonedDateTimeRange getEndDate()
      Returns the bundle end date.
      Returns:
      the end date
    • setEndDate

      public final void setEndDate(ZonedDateTimeRange endDate)
      Sets the bundle end date.
      Parameters:
      endDate - the end date
    • getAppointmentStartDate

      public final ZonedDateTimeRange getAppointmentStartDate()
      Returns the bundle appointment start date.
      Returns:
      the appointment start date
    • setAppointmentStartDate

      public final void setAppointmentStartDate(ZonedDateTimeRange appointmentStartDate)
      Sets the bundle appointment start date.
      Parameters:
      appointmentStartDate - the appointment start date
    • getAppointmentEndDate

      public final ZonedDateTimeRange getAppointmentEndDate()
      Returns the bundle appointment end date.
      Returns:
      the appointment end date
    • setAppointmentEndDate

      public final void setAppointmentEndDate(ZonedDateTimeRange appointmentEndDate)
      Sets the bundle appointment end date.
      Parameters:
      appointmentEndDate - the appointment end date
    • getIsBooking

      public final Boolean getIsBooking()
      Returns whether the bundle is a booking.
      Returns:
      true if the bundle is a booking, false otherwise
    • setIsBooking

      public final void setIsBooking(Boolean isBooking)
      Sets whether the bundle is a booking.
      Parameters:
      isBooking - true if the bundle is a booking, false otherwise
    • getDefaultDuration

      public final Long getDefaultDuration()
      Returns the bundle default duration.
      Returns:
      the default duration
    • setDefaultDuration

      public final void setDefaultDuration(Long defaultDuration)
      Sets the bundle default duration.
      Parameters:
      defaultDuration - the default duration
    • getMultiDay

      public final Boolean getMultiDay()
      Returns whether the bundle spans multiple days.
      Returns:
      true if the bundle spans multiple days, false otherwise
    • setMultiDay

      public final void setMultiDay(Boolean multiDay)
      Sets whether the bundle spans multiple days.
      Parameters:
      multiDay - true if the bundle spans multiple days, false otherwise
    • getOnDutyOnly

      public final Boolean getOnDutyOnly()
      Returns whether the bundle is for on-duty resources only.
      Returns:
      true if the bundle is for on-duty resources only, false otherwise
    • setOnDutyOnly

      public final void setOnDutyOnly(Boolean onDutyOnly)
      Sets whether the bundle is for on-duty resources only.
      Parameters:
      onDutyOnly - true if the bundle is for on-duty resources only, false otherwise
    • getOnCallExcluded

      public final Boolean getOnCallExcluded()
      Returns whether on-call resources are excluded from the bundle.
      Returns:
      true if on-call resources are excluded, false otherwise
    • setOnCallExcluded

      public final void setOnCallExcluded(Boolean onCallExcluded)
      Sets whether on-call resources are excluded from the bundle.
      Parameters:
      onCallExcluded - true if on-call resources are excluded, false otherwise
    • getMinimumTimeForDay

      public final Long getMinimumTimeForDay()
      Returns the bundle minimum time for day.
      Returns:
      the minimum time for day
    • setMinimumTimeForDay

      public final void setMinimumTimeForDay(Long minimumTimeForDay)
      Sets the bundle minimum time for day.
      Parameters:
      minimumTimeForDay - the minimum time for day
    • getMinimumTimeForSuspension

      public final Long getMinimumTimeForSuspension()
      Returns the bundle minimum time for suspension.
      Returns:
      the minimum time for suspension
    • setMinimumTimeForSuspension

      public final void setMinimumTimeForSuspension(Long minimumTimeForSuspension)
      Sets the bundle minimum time for suspension.
      Parameters:
      minimumTimeForSuspension - the minimum time for suspension
    • getMandatoryResources

      public final List<String> getMandatoryResources()
      Returns the list of bundle mandatory resources.
      Returns:
      the list of all mandatory resources
    • setMandatoryResources

      public final void setMandatoryResources(List<String> mandatoryResources)
      Sets the list of bundle mandatory resources.
      Parameters:
      mandatoryResources - the list of all mandatory resources
    • getPreferredResources

      public final List<String> getPreferredResources()
      Returns the list of bundle preferred resources.
      Returns:
      the list of all preferred resources
    • setPreferredResources

      public final void setPreferredResources(List<String> preferredResources)
      Sets the list of bundle preferred resources.
      Parameters:
      preferredResources - the list of all preferred resources
    • getMinCardinality

      public final Long getMinCardinality()
      Returns the bundle minimum cardinality.
      Returns:
      the minimum cardinality
    • setMinCardinality

      public final void setMinCardinality(Long minCardinality)
      Sets the bundle minimum cardinality.
      Parameters:
      minCardinality - the minimum cardinality
    • getMaxCardinality

      public final Long getMaxCardinality()
      Returns the bundle maximum cardinality.
      Returns:
      the maximum cardinality
    • setMaxCardinality

      public final void setMaxCardinality(Long maxCardinality)
      Sets the bundle maximum cardinality.
      Parameters:
      maxCardinality - the maximum cardinality
    • getName

      public final String getName()
      Returns the bundle name.
      Returns:
      the bundle name
    • setName

      public final void setName(String name)
      Sets the bundle name.
      Parameters:
      name - the bundle name
    • getStartingPointXCoordinate

      public final Double getStartingPointXCoordinate()
      Returns the bundle starting point X coordinate.
      Returns:
      the starting point X coordinate
    • setStartingPointXCoordinate

      public final void setStartingPointXCoordinate(Double startingPointXCoordinate)
      Sets the bundle starting point X coordinate.
      Parameters:
      startingPointXCoordinate - the starting point X coordinate
    • getStartingPointYCoordinate

      public final Double getStartingPointYCoordinate()
      Returns the bundle starting point Y coordinate.
      Returns:
      the starting point Y coordinate
    • setStartingPointYCoordinate

      public final void setStartingPointYCoordinate(Double startingPointYCoordinate)
      Sets the bundle starting point Y coordinate.
      Parameters:
      startingPointYCoordinate - the starting point Y coordinate