Class InjectableFieldUtility
java.lang.Object
com.caplin.motif.fx.ret.common.utility.field.InjectableFieldUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAllowedActions
(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 stategetAllowedActions
(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 stategetAllowedActionsAsList
(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) getCommaSeparatedAllowedAction
(List<AllowedAction> actions) getCommaSeparatedNotificationMethod
(List<com.caplin.ret.trapi.fx.order.NotificationMethod> notificationMethods) getCommaSeparatedString
(List<?> list) getFormattedRemarks
(List<String> dealRemarksLines) getLastActionDateTime
(com.caplin.ret.trapi.fx.order.OrderEventHistory latestEventHistory) getOrderEventHistoryInJsonFormat
(List<com.caplin.ret.trapi.fx.order.OrderEventHistory> eventHistory) getTemperature
(com.caplin.ret.trapi.fx.FXOrder order) removeNullValues
(Map<String, String> fields, org.slf4j.Logger logger) replaceNullValuesWithEmptyString
(Map<String, String> fields, org.slf4j.Logger logger) void
-
Constructor Details
-
InjectableFieldUtility
public InjectableFieldUtility()
-
-
Method Details
-
getOrderEventHistoryInJsonFormat
-
getLastActionDateTime
public String getLastActionDateTime(com.caplin.ret.trapi.fx.order.OrderEventHistory latestEventHistory) -
getFormattedRemarks
-
getCommaSeparatedString
-
getCommaSeparatedAllowedAction
-
getCommaSeparatedNotificationMethod
-
getAllowedActions
public 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- Returns:
- a comma separated String representing the allowed actions
-
getAllowedActions
public 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- Returns:
- a comma separated String representing the allowed actions
-
getAllowedActionsAsList
public 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) -
getTemperature
-
storeValueInMap
-
removeNullValues
-
replaceNullValuesWithEmptyString
-