Class DTOResourceIntervention
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.execution.rs1.resourceintervention.DTOResourceIntervention
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
DTO for intervention assigned 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 ZonedDateTimeRangeRetrieves the date range.final InterventionRangeTypeRetrieves the Intervention Range Type of the DTO Resource Intervention.Retrieves the resource ids associated.final Collection<Long> Gets the status.final Collection<Long> Gets the status id.final BooleanDetermines if the person is a team leader.final Collection<Long> Gets the work order.final Collection<Long> Gets the work order id.final Collection<Long> Gets the work order operation.final Collection<Long> Gets the work order operation id.final voidsetDateRange(ZonedDateTimeRange dateRange) Sets the date range.final voidsetInterventionRangeType(InterventionRangeType interventionRangeType) Sets the Intervention Range Type of the DTO Resource Intervention.final voidsetResourceId(Collection<Long> resourceId) Sets the resource ids.final voidsetStatusId(Collection<Long> statusId) Sets the status id.final voidsetTeamLeader(Boolean teamLeader) Sets whether the person is a team leader or not.final voidsetWorkOrderId(Collection<Long> workOrderId) Sets the work order id.final voidsetWorkOrderOperationId(Collection<Long> workOrderOperationId) Sets the work order operation id.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
-
DTOResourceIntervention
public DTOResourceIntervention()
-
-
Method Details
-
getResourceId
Retrieves the resource ids associated.- Returns:
- The resource ids.
-
setResourceId
Sets the resource ids.- Parameters:
resourceId- The resource ids to be set.
-
getTeamLeader
Determines if the person is a team leader.- Returns:
- true if the person is a team leader, false otherwise.
-
setTeamLeader
Sets whether the person is a team leader or not.- Parameters:
teamLeader- true if the person is a team leader, false otherwise
-
getInterventionRangeType
Retrieves the Intervention Range Type of the DTO Resource Intervention.- Returns:
- The InterventionRangeType of the DTO Resource Intervention.
-
setInterventionRangeType
Sets the Intervention Range Type of the DTO Resource Intervention.- Parameters:
interventionRangeType- The InterventionRangeType to be set.
-
getDateRange
Retrieves the date range.- Returns:
- The date range.
-
setDateRange
Sets the date range.- Parameters:
dateRange- the date range to be set
-
getStatusId
Gets the status id.- Returns:
- the status id
-
getStatus
Gets the status.- Returns:
- the status
-
setStatusId
Sets the status id.- Parameters:
statusId- the new status id
-
getWorkOrderId
Gets the work order id.- Returns:
- the work order id
-
getWorkOrder
Gets the work order.- Returns:
- the work order
-
setWorkOrderId
Sets the work order id.- Parameters:
workOrderId- the new work order id
-
getWorkOrderOperationId
Gets the work order operation id.- Returns:
- the work order operation id
-
getWorkOrderOperation
Gets the work order operation.- Returns:
- the work order operation
-
setWorkOrderOperationId
Sets the work order operation id.- Parameters:
workOrderOperationId- the new work order operation id
-