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 the OrderCustomFieldsFactory 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.
See Also:
  • Method Details

    • initialise

      void initialise(OrderFieldsGenerator.Context context)
      Deprecated.
    • showTemperature

      boolean showTemperature(String status)
      Deprecated.
      Determines whether the temperature should be displayed for the given status.
    • showOrderOnActivityBlotter

      boolean showOrderOnActivityBlotter(String status)
      Deprecated.
      Determines whether the order should be displayed for the given status.
    • getTemperature

      String getTemperature(String orderStatus, com.caplin.ret.trapi.fx.FXOrder order)
      Deprecated.
      Gets the temperature from either the orderStatus or order.
    • getOrderAssetClass

      String getOrderAssetClass(com.caplin.ret.trapi.fx.FXOrder order)
      Deprecated.
    • getAllowableActionsForOrder

      List<AllowedAction> getAllowableActionsForOrder(com.caplin.ret.trapi.fx.FXOrder order)
      Deprecated.
    • getOrderStatus

      String getOrderStatus(com.caplin.ret.trapi.fx.FXOrder order)
      Deprecated.
      Returns the order status from the order.
    • getOrderActionFailStatus

      String getOrderActionFailStatus(AllowedAction allowedAction)
      Deprecated.
    • getFieldsForCreation

      Map<String,String> getFieldsForCreation(MotifOrderStrategy strategy, Order order, DerivedData derivedData, String orderRequestId)
      Deprecated.
    • getFieldsForFill

      Map<String,String> getFieldsForFill(com.caplin.ret.trapi.fx.order.OrderFillEvent event, String ssoUser, Map<String,String> fieldsForFill)
      Deprecated.
    • getFieldsFromOrder

      Map<String,String> getFieldsFromOrder(com.caplin.ret.trapi.fx.FXOrder trapiFXOrder)
      Deprecated.
      Returns a map of fields to values retrieved from the given FXOrder.
    • getFieldsForDelete

      Map<String,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.