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
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
Modifier and TypeFieldDescriptionstatic final String
The name of the transition representing this eventFields inherited from class com.caplin.motif.fx.trading.ResponderEvent
fields
-
Constructor Summary
ConstructorDescriptionSaveAndCompleteEvent
(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 Details
-
SAVE_AND_COMPLETE_EVENT
The name of the transition representing this event- See Also:
-
-
Constructor Details
-
SaveAndCompleteEvent
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
-