Interface BlotterFieldsExtender


  • public interface BlotterFieldsExtender
    To provide an implementation of this class please see BarracudaOverridesModule Implementations of this class are called when new blotter items are created. This class may provide additional fields, any fields provided by this class that overwrite fields already provided by the motif, will be ignored.
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Map<java.lang.String,​java.lang.String> onExtraFieldsRequest​(com.bcdfx.model.Deal deal, java.util.Map<java.lang.String,​java.lang.String> currentBlotterItemFields)  
      java.util.Map<java.lang.String,​java.lang.String> onExtraFieldsRequest​(com.bcdfx.model.event.lifecycle.fx.OrderData orderData, java.util.Map<java.lang.String,​java.lang.String> currentBlotterItemFields)
      Called when requesting additional fields, given the starting set of fields should return a map of additional fields.
    • Method Detail

      • onExtraFieldsRequest

        java.util.Map<java.lang.String,​java.lang.String> onExtraFieldsRequest​(com.bcdfx.model.event.lifecycle.fx.OrderData orderData,
                                                                                    java.util.Map<java.lang.String,​java.lang.String> currentBlotterItemFields)
        Called when requesting additional fields, given the starting set of fields should return a map of additional fields. Any key's in the the returned map that are already in the current blotter item field's map, will be ignored.
        Parameters:
        currentBlotterItemFields - The current fields
        Returns:
        a map of extra fields
      • onExtraFieldsRequest

        default java.util.Map<java.lang.String,​java.lang.String> onExtraFieldsRequest​(com.bcdfx.model.Deal deal,
                                                                                            java.util.Map<java.lang.String,​java.lang.String> currentBlotterItemFields)