Class DTOWorkOrderHeaderStatusUpdatedSpout
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.workorders.spout.header.DTOWorkOrderHeaderStatusUpdatedSpout
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
@EntityRef(WorkOrderHeaderEntity.class)
public class DTOWorkOrderHeaderStatusUpdatedSpout
extends DynO
Object that represent the spout payload for
BOWorkOrderHeader 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 theBOWorkOrderHeader.Returns the user who last updated theBOWorkOrderHeader.getState()Returns the current status of theBOWorkOrderHeader.final voidSets the id of theBOWorkOrderHeader.final voidsetLastUpdateUser(Optional<Long> lastUpdateUser) Sets the user who last updated theBOWorkOrderHeader.final voidSets the current status 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
-
DTOWorkOrderHeaderStatusUpdatedSpout
public DTOWorkOrderHeaderStatusUpdatedSpout()
-
-
Method Details
-
getId
Gets the id of theBOWorkOrderHeader.- Returns:
- the id of the
BOWorkOrderHeader
-
setId
Sets the id of theBOWorkOrderHeader.- Parameters:
id- the id of theBOWorkOrderHeader
-
getState
Returns the current status of theBOWorkOrderHeader.If the status of the
BOWorkOrderHeaderhas not changed, this method returns an empty optional.- Returns:
- the current status of the
BOWorkOrderHeader, if changed
-
setState
Sets the current status of theBOWorkOrderHeader.If the status of the
BOWorkOrderHeaderhas not changed, this method sets an empty optional.- Parameters:
state- the current status of theBOWorkOrderHeader, if changed
-
getLastUpdateUser
Returns the user who last updated theBOWorkOrderHeader.If the
BOWorkOrderHeaderhas not been updated, this method returns an empty optional.- Returns:
- the user who last updated the
BOWorkOrderHeader, if updated
-
setLastUpdateUser
Sets the user who last updated theBOWorkOrderHeader.If the
BOWorkOrderHeaderhas not been updated, this method sets an empty optional.- Parameters:
lastUpdateUser- the user who last updated theBOWorkOrderHeader, if updated
-