Class SaveAndCompleteEvent
- java.lang.Object
-
- com.caplin.motif.fx.trading.ResponderEvent<T>
-
- com.caplin.motif.fx.trading.orders.edit.event.StrategyEvent<EditStrategyRequest>
-
- com.caplin.motif.fx.trading.orders.edit.event.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.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SAVE_AND_COMPLETE_EVENT
The name of the transition representing this event-
Fields inherited from class com.caplin.motif.fx.trading.ResponderEvent
fields
-
-
Constructor Summary
Constructors Constructor Description SaveAndCompleteEvent(Strategy strategy, String orderID)
Constructs a SaveAndCompleteEvent with the event name "SaveAndComplete".
-
Method Summary
-
Methods inherited from class com.caplin.motif.fx.trading.orders.edit.event.StrategyEvent
getStrategy, toString
-
Methods inherited from class com.caplin.motif.fx.trading.ResponderEvent
addField, addFields, equals, getEventName, getField, getFields, hashCode
-
-
-
-
Field Detail
-
SAVE_AND_COMPLETE_EVENT
public static final String SAVE_AND_COMPLETE_EVENT
The name of the transition representing this event- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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
-
-