Class DTOInterventionResourceFilter
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.execution.rs1.interventionresource.DTOInterventionResourceFilter
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
DTO representing a search filter to search for intervention resources.
- Since:
- 18.0
- See Also:
- GCApi:
- dto
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ZonedDateTimeRangeReturns the arrival date of the intervention.final BooleanReturns whether the customer was absent during the intervention.final Collection<Long> Returns the collection of intervention IDs associated with this filter.final Collection<Long> Returns the collection of intervention IDs associated with this filter.final Collection<Long> Returns the collection of user IDs that have manually locked the intervention resource.final Collection<Long> Returns the collection of user IDs that have manually locked the intervention resource.final StringgetNote()Returns the note of the intervention.final ZonedDateTimeRangeReturns the outcome end date of the intervention.final ZonedDateTimeRangeReturns the outcome start date of the intervention.final Collection<Long> Returns the collection of resource IDs associated with this filter.final Collection<Long> Returns the collection of resource IDs associated with this filter.final DoubleReturns the amount of time spent on the intervention.final ZonedDateTimeRangeReturns the date and time range when the intervention was taken in charge.Returns the validation date range associated with this filter.final Collection<Long> Returns the collection of validation status IDs associated with this filter.Returns the collection of validation status IDs associated with this filter.final Collection<Long> Returns the collection of user IDs that have validated the intervention resource.Returns the collection of user IDs that have validated the intervention resource.final Collection<Long> Returns the collection of working hour type IDs associated with this filter.final Collection<Long> Returns the collection of working hour type IDs associated with this filter.final Collection<Long> Returns the collection of work order operation IDs associated with this filter.final Collection<Long> Returns the collection of work order operation IDs associated with this filter.final Collection<Long> Returns the collection of work shift IDs associated with this filter.final Collection<Long> Returns the collection of work shift IDs associated with this filter.final voidsetArrivalDate(ZonedDateTimeRange arrivalDate) Sets arrival date of the intervention.final voidsetCustomerAbsent(Boolean customerAbsent) Sets whether the customer was absent during the intervention.final voidsetInterventionId(Collection<Long> interventionId) Sets the collection of intervention IDs associated with this filter.final voidsetManualLockUserId(Collection<Long> manualLockUserId) Sets the collection of user IDs that have manually locked the intervention resource.final voidSets the note of the intervention.final voidsetOutcomeEndDate(ZonedDateTimeRange outcomeEndDate) Sets the outcome end date of the intervention.final voidsetOutcomeStartDate(ZonedDateTimeRange outcomeStartDate) Sets the outcome start date of the intervention.final voidsetResourceId(Collection<Long> resourceId) Sets the collection of resource IDs associated with this filter.final voidsetSpentTime(Double spentTime) Sets the amount of time spent on the intervention.final voidsetTakeInChargeDate(ZonedDateTimeRange takeInChargeDate) Sets the date and time range when the intervention was taken in charge.voidsetValidationDate(ZonedDateTimeRange validationDate) Sets the validation date range associated with this filter.voidsetValidationStatusId(Collection<Long> validationStatusId) Sets the collection of validation status IDs associated with this filter.voidsetValidationUserId(Collection<Long> validationUserId) Sets the collection of user IDs that have validated the intervention resource.final voidsetWorkingHourTypeId(Collection<Long> workingHourTypeId) Sets the collection of working hour type IDs associated with this filter.final voidsetWorkOrderOperationId(Collection<Long> workOrderOperationId) Sets the collection of work order operation IDs associated with this filter.final voidsetWorkShiftId(Collection<Long> workShiftId) Sets the collection of work shift IDs associated with this filter.Methods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
DTOInterventionResourceFilter
public DTOInterventionResourceFilter()
-
-
Method Details
-
getIntervention
Returns the collection of intervention IDs associated with this filter.- Returns:
- the collection of intervention IDs
-
getInterventionId
Returns the collection of intervention IDs associated with this filter.- Returns:
- the collection of intervention IDs
-
setInterventionId
Sets the collection of intervention IDs associated with this filter.- Parameters:
interventionId- the collection of intervention IDs to set
-
getResource
Returns the collection of resource IDs associated with this filter.- Returns:
- the collection of resource IDs
-
getResourceId
Returns the collection of resource IDs associated with this filter.- Returns:
- the collection of resource IDs
-
setResourceId
Sets the collection of resource IDs associated with this filter.- Parameters:
resourceId- the collection of resource IDs to set
-
getSpentTime
Returns the amount of time spent on the intervention.- Returns:
- the spent time
-
setSpentTime
Sets the amount of time spent on the intervention.- Parameters:
spentTime- the amount of time spent on the intervention
-
getWorkOrderOperation
Returns the collection of work order operation IDs associated with this filter.- Returns:
- the collection of work order operation IDs
-
getWorkOrderOperationId
Returns the collection of work order operation IDs associated with this filter.- Returns:
- the collection of work order operation IDs
-
setWorkOrderOperationId
Sets the collection of work order operation IDs associated with this filter.- Parameters:
workOrderOperationId- the collection of work order operation IDs to set
-
getWorkingHourType
Returns the collection of working hour type IDs associated with this filter.- Returns:
- the collection of working hour type IDs
-
getWorkingHourTypeId
Returns the collection of working hour type IDs associated with this filter.- Returns:
- the collection of working hour type IDs
-
setWorkingHourTypeId
Sets the collection of working hour type IDs associated with this filter.- Parameters:
workingHourTypeId- the collection of working hour type IDs to set
-
getTakeInChargeDate
Returns the date and time range when the intervention was taken in charge.- Returns:
- the date and time range when the intervention was taken in charge
-
setTakeInChargeDate
Sets the date and time range when the intervention was taken in charge.- Parameters:
takeInChargeDate- the date and time range when the intervention was taken in charge
-
getArrivalDate
Returns the arrival date of the intervention.- Returns:
- the arrival date of the intervention
-
setArrivalDate
Sets arrival date of the intervention.- Parameters:
arrivalDate- arrival date of the intervention
-
getOutcomeStartDate
Returns the outcome start date of the intervention.- Returns:
- the outcome start date of the intervention
-
setOutcomeStartDate
Sets the outcome start date of the intervention.- Parameters:
outcomeStartDate- the outcome start date of the intervention
-
getOutcomeEndDate
Returns the outcome end date of the intervention.- Returns:
- the outcome end date of the intervention
-
setOutcomeEndDate
Sets the outcome end date of the intervention.- Parameters:
outcomeEndDate- the outcome end date of the intervention
-
getCustomerAbsent
Returns whether the customer was absent during the intervention.- Returns:
- true if the customer was absent, false otherwise
-
setCustomerAbsent
Sets whether the customer was absent during the intervention.- Parameters:
customerAbsent- true if the customer was absent, false otherwise
-
getNote
Returns the note of the intervention.- Returns:
- the note of the intervention
-
setNote
Sets the note of the intervention.- Parameters:
note- the note of the intervention
-
getWorkShift
Returns the collection of work shift IDs associated with this filter.- Returns:
- the collection of work shift IDs
-
getWorkShiftId
Returns the collection of work shift IDs associated with this filter.- Returns:
- the collection of work shift IDs
-
setWorkShiftId
Sets the collection of work shift IDs associated with this filter.- Parameters:
workShiftId- the collection of work shift IDs
-
getManualLockUser
Returns the collection of user IDs that have manually locked the intervention resource.- Returns:
- the collection of user IDs that have manually locked the intervention resource
-
getManualLockUserId
Returns the collection of user IDs that have manually locked the intervention resource.- Returns:
- the collection of user IDs that have manually locked the intervention resource
-
setManualLockUserId
Sets the collection of user IDs that have manually locked the intervention resource.- Parameters:
manualLockUserId- the collection of user IDs that have manually locked the intervention resource
-
getValidationStatus
Returns the collection of validation status IDs associated with this filter.- Returns:
- the collection of validation status IDs
-
getValidationStatusId
Returns the collection of validation status IDs associated with this filter.- Returns:
- the collection of validation status IDs
-
setValidationStatusId
Sets the collection of validation status IDs associated with this filter.- Parameters:
validationStatusId- the collection of validation status IDs
-
getValidationUser
Returns the collection of user IDs that have validated the intervention resource.- Returns:
- the collection of user IDs that have validated the intervention resource
-
getValidationUserId
Returns the collection of user IDs that have validated the intervention resource.- Returns:
- the collection of user IDs that have validated the intervention resource
-
setValidationUserId
Sets the collection of user IDs that have validated the intervention resource.- Parameters:
validationUserId- the collection of user IDs that have validated the intervention resource
-
getValidationDate
Returns the validation date range associated with this filter.- Returns:
- the validation date range
-
setValidationDate
Sets the validation date range associated with this filter.- Parameters:
validationDate- the validation date range to set
-