Class SaveAndCompleteEvent


public class SaveAndCompleteEvent extends StrategyEvent<EditStrategyRequest>

An event to notify the client that the edit order request has been saved, and that the session is closed.

Typically this forces the client to open a new ticket to make further new edits.

See Also:
  • Field Details

    • SAVE_AND_COMPLETE_EVENT

      public static final String SAVE_AND_COMPLETE_EVENT
      The name of the transition representing this event
      See Also:
  • Constructor Details

    • SaveAndCompleteEvent

      public SaveAndCompleteEvent(Strategy strategy, String orderID)
      Constructs a SaveAndCompleteEvent with the event name "SaveAndComplete".
      Parameters:
      strategy - The strategy representing the current state of the order.
      orderID - The id of the entire strategy, usually the parent order