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
Business object representing a search filter for the
BOIntervention. - Since:
- 18.0
- See Also:
- GCApi:
- bo
-
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 TypeMethodDescriptionReturns the intervention default duration that was set as filter.Returns the intervention end date that was set as filter.Retrieves the foreman id associated with the intervention.getId()Returns the collection of ids that was set as filter.Returns the collection of parent ids that was set as filter.Retrieves the value of the resourceInterventionsSearch flag.Returns the intervention start date that was set as filter.Returns the collection of status ids that was set as filter.Returns the collection of work order operation ids that was set as filter.voidsetDefaultDuration(Long defaultDuration) Sets the intervention default duration as filter.voidsetEndDate(DateTimeRange endDate) Sets the intervention end date as filter.voidsetForeman(Collection<Long> foreman) Sets the foreman id for the intervention.voidsetId(Collection<Long> id) Sets the collection of ids as filter.voidsetParent(Collection<Long> parent) voidsetResourceInterventionsSearch(Boolean resourceInterventionsSearch) Sets the resourceInterventionsSearch.voidsetStartDate(DateTimeRange startDate) Sets the intervention start date as filter.voidsetStatus(Collection<Long> status) Sets the collection of status ids as filter.voidsetWorkOrderOperation(Collection<Long> workOrderOperation) Sets the collection of work order operation ids as 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
-
InterventionSearchFilter
public InterventionSearchFilter()
-
-
Method Details
-
getId
Returns the collection of ids that was set as filter.- Returns:
- a collection of ids
-
setId
Sets the collection of ids as filter.- Parameters:
id- the collection of ids
-
getStatus
Returns the collection of status ids that was set as filter.- Returns:
- a collection of status ids
-
setStatus
Sets the collection of status ids as filter.- Parameters:
status- the status ids
-
getStartDate
Returns the intervention start date that was set as filter.- Returns:
- the intervention start date
-
setStartDate
Sets the intervention start date as filter.- Parameters:
startDate- the intervention start date
-
getEndDate
Returns the intervention end date that was set as filter.- Returns:
- the intervention end date
-
setEndDate
Sets the intervention end date as filter.- Parameters:
endDate- the intervention end date
-
getWorkOrderOperation
Returns the collection of work order operation ids that was set as filter.- Returns:
- a collection of work order operation ids
-
setWorkOrderOperation
Sets the collection of work order operation ids as filter.- Parameters:
workOrderOperation- the work order operation ids
-
getDefaultDuration
Returns the intervention default duration that was set as filter.- Returns:
- the intervention default duration
-
setDefaultDuration
Sets the intervention default duration as filter.- Parameters:
defaultDuration- the intervention default duration
-
getForeman
Retrieves the foreman id associated with the intervention.- Returns:
- the foreman id
-
setForeman
Sets the foreman id for the intervention.- Parameters:
foreman- the foreman id to set
-
getResourceInterventionsSearch
Retrieves the value of the resourceInterventionsSearch flag.- Returns:
- the value of the resourceInterventionsSearch flag
-
setResourceInterventionsSearch
Sets the resourceInterventionsSearch.- Parameters:
resourceInterventionsSearch- the value to set
-
getParent
Returns the collection of parent ids that was set as filter.- Returns:
- a collection of parent ids
-
setParent
- Parameters:
parent- the collection of parent ids
-