Class DTOWorkOrderOperationStatusUpdatedSpout
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.workorders.spout.operation.DTOWorkOrderOperationStatusUpdatedSpout
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
@EntityRef(WorkOrderOperationEntity.class)
public class DTOWorkOrderOperationStatusUpdatedSpout
extends DynO
Object that represent the spout payload for
BOWorkOrderOperation status change actions.- Since:
- 19.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 LonggetId()Gets the id of theBOWorkOrderOperation.Returns the user who last updated theBOWorkOrderOperation.Returns the current status of theBOWorkOrderOperation.Returns the work order id of theBOWorkOrderHeader.final voidSets the id of theBOWorkOrderOperation.final voidsetLastUpdateUser(Optional<Long> lastUpdateUser) Sets the user who last updated theBOWorkOrderOperation.final voidSets the current status of theBOWorkOrderOperation.final voidsetWorkOrder(Optional<Long> workOrder) Sets the work order id of theBOWorkOrderHeader.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
-
DTOWorkOrderOperationStatusUpdatedSpout
public DTOWorkOrderOperationStatusUpdatedSpout()
-
-
Method Details
-
getId
Gets the id of theBOWorkOrderOperation.- Returns:
- the id of the
BOWorkOrderOperation
-
setId
Sets the id of theBOWorkOrderOperation.- Parameters:
id- the id of theBOWorkOrderOperation
-
getStatus
Returns the current status of theBOWorkOrderOperation.If the status of the
BOWorkOrderOperationhas not changed, this method returns an empty optional.- Returns:
- the current status of the
BOWorkOrderOperation, if changed
-
setStatus
Sets the current status of theBOWorkOrderOperation.If the status of the
BOWorkOrderOperationhas not changed, this method sets an empty optional.- Parameters:
status- the current status of theBOWorkOrderOperation, if changed
-
getWorkOrder
Returns the work order id of theBOWorkOrderHeader.If the work order id of the
BOWorkOrderHeader- Returns:
- the work order id of the
BOWorkOrderHeader
-
setWorkOrder
Sets the work order id of theBOWorkOrderHeader.If the work order id of the
BOWorkOrderHeader- Parameters:
workOrder- the work order id of theBOWorkOrderHeader
-
getLastUpdateUser
Returns the user who last updated theBOWorkOrderOperation.If the
BOWorkOrderOperationhas not been updated, this method returns an empty optional.- Returns:
- the user who last updated the
BOWorkOrderOperation, if updated
-
setLastUpdateUser
Sets the user who last updated theBOWorkOrderOperation.If the
BOWorkOrderOperationhas not been updated, this method sets an empty optional.- Parameters:
lastUpdateUser- the user who last updated theBOWorkOrderOperation, if updated
-