public class FieldUtility
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EMPTY_STRING |
Constructor and Description |
---|
FieldUtility() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getAllowedActions(com.caplin.ret.trapi.fx.FXOrder order,
com.caplin.ret.trapi.fx.FXOrder parentOrder,
com.m_systems.trapi.lib.record.LOMSOrderState state,
boolean isPartiallyFilled,
org.slf4j.Logger logger)
Returns the list of allowed actions for a given order and a given state
|
static java.lang.String |
getAllowedActions(com.caplin.ret.trapi.fx.FXOrder order,
com.caplin.ret.trapi.fx.order.OrderMonitorService orderMonitorService,
com.m_systems.trapi.lib.record.LOMSOrderState state,
boolean isPartiallyFilled,
org.slf4j.Logger logger)
Returns the list of allowed actions for a given order and a given state
|
static java.util.List<AllowedAction> |
getAllowedActionsAsList(com.caplin.ret.trapi.fx.FXOrder order,
com.caplin.ret.trapi.fx.FXOrder parentOrder,
com.caplin.ret.trapi.fx.order.OrderMonitorService orderMonitorService,
com.m_systems.trapi.lib.record.LOMSOrderState state,
boolean isPartiallyFilled,
org.slf4j.Logger logger) |
static java.lang.String |
getCommaSeparatedAllowedAction(java.util.List<AllowedAction> actions) |
static java.lang.String |
getCommaSeparatedNotificationMethod(java.util.List<com.caplin.ret.trapi.fx.order.NotificationMethod> notificationMethods) |
static java.lang.String |
getCommaSeparatedString(java.util.List<?> list) |
static java.lang.String |
getFormattedRemarks(java.util.List<java.lang.String> dealRemarksLines) |
static java.lang.String |
getLastActionDateTime(com.caplin.ret.trapi.fx.order.OrderEventHistory latestEventHistory) |
static java.lang.String |
getOrderEventHistoryInJsonFormat(java.util.List<com.caplin.ret.trapi.fx.order.OrderEventHistory> eventHistory) |
static java.lang.String |
getTemperature(com.caplin.ret.trapi.fx.FXOrder order) |
static java.util.Map<java.lang.String,java.lang.String> |
removeNullValues(java.util.Map<java.lang.String,java.lang.String> fields,
org.slf4j.Logger logger) |
static java.util.Map<java.lang.String,java.lang.String> |
replaceNullValuesWithEmptyString(java.util.Map<java.lang.String,java.lang.String> fields,
org.slf4j.Logger logger) |
static void |
storeValueInMap(java.util.Map<java.lang.String,java.lang.String> fields,
java.lang.String fieldName,
java.lang.String value) |
public static final java.lang.String EMPTY_STRING
public static java.lang.String getOrderEventHistoryInJsonFormat(java.util.List<com.caplin.ret.trapi.fx.order.OrderEventHistory> eventHistory)
public static java.lang.String getLastActionDateTime(com.caplin.ret.trapi.fx.order.OrderEventHistory latestEventHistory)
public static java.lang.String getFormattedRemarks(java.util.List<java.lang.String> dealRemarksLines)
public static java.lang.String getCommaSeparatedString(java.util.List<?> list)
public static java.lang.String getCommaSeparatedAllowedAction(java.util.List<AllowedAction> actions)
public static java.lang.String getCommaSeparatedNotificationMethod(java.util.List<com.caplin.ret.trapi.fx.order.NotificationMethod> notificationMethods)
public static java.lang.String getAllowedActions(com.caplin.ret.trapi.fx.FXOrder order, com.caplin.ret.trapi.fx.order.OrderMonitorService orderMonitorService, com.m_systems.trapi.lib.record.LOMSOrderState state, boolean isPartiallyFilled, org.slf4j.Logger logger)
public static java.lang.String getAllowedActions(com.caplin.ret.trapi.fx.FXOrder order, com.caplin.ret.trapi.fx.FXOrder parentOrder, com.m_systems.trapi.lib.record.LOMSOrderState state, boolean isPartiallyFilled, org.slf4j.Logger logger)
public static java.util.List<AllowedAction> getAllowedActionsAsList(com.caplin.ret.trapi.fx.FXOrder order, com.caplin.ret.trapi.fx.FXOrder parentOrder, com.caplin.ret.trapi.fx.order.OrderMonitorService orderMonitorService, com.m_systems.trapi.lib.record.LOMSOrderState state, boolean isPartiallyFilled, org.slf4j.Logger logger)
public static java.lang.String getTemperature(com.caplin.ret.trapi.fx.FXOrder order)
public static void storeValueInMap(java.util.Map<java.lang.String,java.lang.String> fields, java.lang.String fieldName, java.lang.String value)
public static java.util.Map<java.lang.String,java.lang.String> removeNullValues(java.util.Map<java.lang.String,java.lang.String> fields, org.slf4j.Logger logger)
public static java.util.Map<java.lang.String,java.lang.String> replaceNullValuesWithEmptyString(java.util.Map<java.lang.String,java.lang.String> fields, org.slf4j.Logger logger)
Copyright © 2019 Caplin Systems.