Class WorkOrderOperationUpdateEvent


public class WorkOrderOperationUpdateEvent extends UpdateEvent<BOWorkOrderOperation>
Event to update a 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
  • Field Details

    • history

      protected boolean history
  • Constructor Details

    • WorkOrderOperationUpdateEvent

      public WorkOrderOperationUpdateEvent(BOWorkOrderOperation workOrderOperation)
      Instantiates a new work order operation update event.
      Parameters:
      workOrderOperation - the BOWorkOrderOperation to 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