Class WorkOrderOperationUpdateEvent
java.lang.Object
overit.geocall.bl.GenericEvent<Void>
overit.geocall.bl.BusinessEvent<Void>
overit.geocall.bl.SimpleBusinessEvent<BOWorkOrderOperation,Void>
overit.geocall.bl.UpdateEvent<BOWorkOrderOperation>
overit.geocallapp.wfm.workorders.bl.operation.event.WorkOrderOperationUpdateEvent
Event to update a
The launcher must provide a valid
The listener updates all the
BOWorkOrderOperation. The launcher must provide a valid
BOWorkOrderOperation in order to successfully call this event. The listener updates all the
BOWorkOrderOperation components starting from the event input,
i.e. the given BOWorkOrderOperation in which all needed components were previously updated. - Since:
- 16.0
- GCApi:
- event
- No Reactors
- No Spouts
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.bl.GenericEvent
GenericEvent.Step<O> -
Field Summary
FieldsFields inherited from class overit.geocall.bl.SimpleBusinessEvent
inputFields inherited from class overit.geocall.bl.GenericEvent
executorService, journal, streamJournal -
Constructor Summary
ConstructorsConstructorDescriptionWorkOrderOperationUpdateEvent(BOWorkOrderOperation workOrderOperation) Instantiates a new work order operation update event. -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if the update process must also call the history one.voidsetHistory(boolean history) Sets the history process.Methods inherited from class overit.geocall.bl.UpdateEvent
getEventOptionsMethods inherited from class overit.geocall.bl.SimpleBusinessEvent
getInputMethods inherited from class overit.geocall.bl.BusinessEvent
doLaunchMethods inherited from class overit.geocall.bl.GenericEvent
clearEvents, defineInterruptor, defineResult, getJournal, getResult, getSpouts, getStreamJournal, isInternal, launch, launch, launchAsync, launchAsync, register, registerSpouts
-
Field Details
-
history
protected boolean history
-
-
Constructor Details
-
WorkOrderOperationUpdateEvent
Instantiates a new work order operation update event.- Parameters:
workOrderOperation- theBOWorkOrderOperationto update
-
-
Method Details
-
isHistory
public boolean isHistory()Checks if the update process must also call the history one.- Returns:
- true if the history process is called, false otherwise
-
setHistory
public void setHistory(boolean history) Sets the history process.- Parameters:
history- true if the history process must be called, false otherwise
-