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
Represents an input object for
ResourceInterventionSearchEvent.
It contains the filters for returning the activities assigned to resource.- Since:
- 18.0
- See Also:
-
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 end date.Returns the end date of the outcome.Returns the start date of the outcome.Returns the collection of resource ids.Returns the start date.Returns the collection of status ids that was set as filter.Returns the collection of work order ids that was set as filter.Returns the collection of work order operation ids that was set as filter.Checks if the resource is a team leader.voidsetEndDate(Date endDate) Sets the end date.voidsetOutcomeEndDate(Date outcomeEndDate) Sets the end date of the outcome.voidsetOutcomeStartDate(Date outcomeStartDate) Sets the start date of the outcome.voidsetResource(Collection<Long> resource) Sets the collection of resource ids.voidsetStartDate(Date startDate) Sets the start date.voidsetStatus(Collection<Long> status) Sets the collection of status ids as filter.voidsetTeamLeader(Boolean teamLeader) Sets the flag indicating whether the resource is a team leader.voidsetWorkOrder(Collection<Long> workOrder) Sets the collection of work order 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
-
ResourceInterventionSearchFilter
public ResourceInterventionSearchFilter()
-
-
Method Details
-
getResource
Returns the collection of resource ids.- Returns:
- a collection of resource ids
-
setResource
Sets the collection of resource ids.- Parameters:
resource- a collection of resource ids
-
isTeamLeader
Checks if the resource is a team leader.- Returns:
- true if the resource is a team leader, false otherwise
-
setTeamLeader
Sets the flag indicating whether the resource is a team leader.- Parameters:
teamLeader- true if the resource is a team leader, false otherwise
-
getStartDate
Returns the start date.- Returns:
- the start date
-
setStartDate
Sets the start date.- Parameters:
startDate- the start date to be set
-
getEndDate
Returns the end date.- Returns:
- the end date
-
setEndDate
Sets the end date.- Parameters:
endDate- the end date to be set
-
getOutcomeStartDate
Returns the start date of the outcome.- Returns:
- the start date of the outcome
-
setOutcomeStartDate
Sets the start date of the outcome.- Parameters:
outcomeStartDate- the start date of the outcome to be set
-
getOutcomeEndDate
Returns the end date of the outcome.- Returns:
- the end date of the outcome
-
setOutcomeEndDate
Sets the end date of the outcome.- Parameters:
outcomeEndDate- the end date of the outcome to be set
-
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
-
getWorkOrder
Returns the collection of work order ids that was set as filter.- Returns:
- a collection of work order ids
-
setWorkOrder
Sets the collection of work order ids as filter.- Parameters:
workOrder- the work order ids
-
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
-