Attributes | Name and Description |
---|---|
|
caplin.trading.restoration.TradeRestoreEvent(caplin.trading.trademodel.Trade oTrade, String sPreviousState, String sRestoreState, Map mPreviousFieldData, Map mRestoredFieldData)
|
Attributes | Name and Description |
---|---|
|
Map
getPreviousFieldData()
Returns the data of the trade prior to being restored. |
|
String
getPreviousState()
Returns the previous state that the trade was in. |
|
Map
getRestoredFieldData()
Returns the data that the trade will be restored with. |
|
String
getRestoreState()
Returns the state that the trade is restoring into. |
|
caplin.trading.trademodel.Trade
getTrade()
Returns the trade that is being restored. |
►
caplin.trading.restoration.TradeRestoreEvent(caplin.trading.trademodel.Trade oTrade, String sPreviousState, String sRestoreState, Map mPreviousFieldData, Map mRestoredFieldData)
caplin.trading.trademodel.Trade | oTrade | The trade that was restored. |
String | sPreviousState | The state that the trade was in before restoring. |
String | sRestoreState | The state that the trade is restoring to. |
Map | mPreviousFieldData | The data of the trade before the trade was restored. |
Map | mRestoredFieldData | The data of the trade after the trade was restored. |
►
Map
getPreviousFieldData()
Returns the data of the trade prior to being restored. This includes previous leg data (prefixed with 'L<legId>_' eg 'L1_').
►
String
getPreviousState()
Returns the previous state that the trade was in.
►
Map
getRestoredFieldData()
Returns the data that the trade will be restored with.
►
String
getRestoreState()
Returns the state that the trade is restoring into.
►
caplin.trading.trademodel.Trade
getTrade()
Returns the trade that is being restored. This may be null if this is a caplin.trading.restoration.TradeRestoredListener#beforeTradeRestored event and the trade currently does not exist on the client.