Class ImmediateSchedulingWorkOrderExclusionOutput
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.scheduling.bl.immediatescheduling.woexclusion.event.ImmediateSchedulingWorkOrderExclusionOutput
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Output for the immediate scheduling work order exclusion event.
Contains:
- List of valid work order operation IDs remaining
- Map of exclusion reasons by work order operation ID
- Since:
- 22.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 TypeMethodDescriptionGets the map of exclusion reasons by work order operation ID.Gets the list of valid work order operation IDs remaining after exclusion.voidsetExclusionReasons(Map<Long, String> exclusionReasons) Sets the map of exclusion reasons by work order operation ID.voidsetValidWorkOrders(List<Long> validWorkOrders) Sets the list of valid work order operation IDs remaining after exclusion.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
-
ImmediateSchedulingWorkOrderExclusionOutput
public ImmediateSchedulingWorkOrderExclusionOutput()
-
-
Method Details
-
getValidWorkOrders
Gets the list of valid work order operation IDs remaining after exclusion.- Returns:
- the list of valid work order operation IDs (AWOOID)
-
setValidWorkOrders
Sets the list of valid work order operation IDs remaining after exclusion.- Parameters:
validWorkOrders- the list of valid work order operation IDs (AWOOID)
-
getExclusionReasons
Gets the map of exclusion reasons by work order operation ID.For each excluded work order operation ID (AWOOID), contains the reason why it was excluded.
- Returns:
- the map of work order operation ID → exclusion reason
-
setExclusionReasons
Sets the map of exclusion reasons by work order operation ID.- Parameters:
exclusionReasons- the map of work order operation ID → exclusion reason
-