Interface OrderFieldsGenerator
-
- All Known Implementing Classes:
FxMotifOrderFieldsGenerator
@Deprecated public interface OrderFieldsGenerator
Deprecated.This has been deprecated as you should not modify or remove fields from the Toolkit's default field set. The preferred solution to update or remove fields would be using Transformer, and to add additional fields via theOrderCustomFieldsFactory
extension point. This method may be removed in a future version of the Toolkit.Retrieve data from given strategy and order with taking common fields for both of them from strategy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
OrderFieldsGenerator.Context
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.List<AllowedAction>
getAllowableActionsForOrder(com.caplin.ret.trapi.fx.FXOrder order)
Deprecated.java.util.Map<java.lang.String,java.lang.String>
getFieldsForCreation(com.caplin.motif.fx.trading.orders.submission.strategy.MotifOrderStrategy strategy, com.caplin.motif.fx.trading.orders.submission.Order order, DerivedData derivedData, java.lang.String orderRequestId)
Deprecated.java.util.Map<java.lang.String,java.lang.String>
getFieldsForDelete(com.caplin.ret.trapi.fx.order.OrderEvent event)
Deprecated.Returns a map of field names to values retrieved from the given OrderFillEvent / user when an order is deleted.java.util.Map<java.lang.String,java.lang.String>
getFieldsForFill(com.caplin.ret.trapi.fx.order.OrderFillEvent event, java.lang.String ssoUser, java.util.Map<java.lang.String,java.lang.String> fieldsForFill)
Deprecated.java.util.Map<java.lang.String,java.lang.String>
getFieldsFromOrder(com.caplin.ret.trapi.fx.FXOrder trapiFXOrder)
Deprecated.Returns a map of fields to values retrieved from the given FXOrder.java.lang.String
getOrderActionFailStatus(AllowedAction allowedAction)
Deprecated.java.lang.String
getOrderAssetClass(com.caplin.ret.trapi.fx.FXOrder order)
Deprecated.java.lang.String
getOrderStatus(com.caplin.ret.trapi.fx.FXOrder order)
Deprecated.Returns the order status from the order.java.lang.String
getTemperature(java.lang.String orderStatus, com.caplin.ret.trapi.fx.FXOrder order)
Deprecated.Gets the temperature from either the orderStatus or order.void
initialise(OrderFieldsGenerator.Context context)
Deprecated.boolean
showOrderOnActivityBlotter(java.lang.String status)
Deprecated.Determines whether the order should be displayed for the given status.boolean
showTemperature(java.lang.String status)
Deprecated.Determines whether the temperature should be displayed for the given status.
-
-
-
Method Detail
-
initialise
void initialise(OrderFieldsGenerator.Context context)
Deprecated.
-
showTemperature
boolean showTemperature(java.lang.String status)
Deprecated.Determines whether the temperature should be displayed for the given status.
-
showOrderOnActivityBlotter
boolean showOrderOnActivityBlotter(java.lang.String status)
Deprecated.Determines whether the order should be displayed for the given status.
-
getTemperature
java.lang.String getTemperature(java.lang.String orderStatus, com.caplin.ret.trapi.fx.FXOrder order)
Deprecated.Gets the temperature from either the orderStatus or order.
-
getOrderAssetClass
java.lang.String getOrderAssetClass(com.caplin.ret.trapi.fx.FXOrder order)
Deprecated.
-
getAllowableActionsForOrder
java.util.List<AllowedAction> getAllowableActionsForOrder(com.caplin.ret.trapi.fx.FXOrder order)
Deprecated.
-
getOrderStatus
java.lang.String getOrderStatus(com.caplin.ret.trapi.fx.FXOrder order)
Deprecated.Returns the order status from the order.
-
getOrderActionFailStatus
java.lang.String getOrderActionFailStatus(AllowedAction allowedAction)
Deprecated.
-
getFieldsForCreation
java.util.Map<java.lang.String,java.lang.String> getFieldsForCreation(com.caplin.motif.fx.trading.orders.submission.strategy.MotifOrderStrategy strategy, com.caplin.motif.fx.trading.orders.submission.Order order, DerivedData derivedData, java.lang.String orderRequestId)
Deprecated.
-
getFieldsForFill
java.util.Map<java.lang.String,java.lang.String> getFieldsForFill(com.caplin.ret.trapi.fx.order.OrderFillEvent event, java.lang.String ssoUser, java.util.Map<java.lang.String,java.lang.String> fieldsForFill)
Deprecated.
-
getFieldsFromOrder
java.util.Map<java.lang.String,java.lang.String> getFieldsFromOrder(com.caplin.ret.trapi.fx.FXOrder trapiFXOrder)
Deprecated.Returns a map of fields to values retrieved from the given FXOrder.
-
getFieldsForDelete
java.util.Map<java.lang.String,java.lang.String> getFieldsForDelete(com.caplin.ret.trapi.fx.order.OrderEvent event)
Deprecated.Returns a map of field names to values retrieved from the given OrderFillEvent / user when an order is deleted.
-
-