Class BulkOrderActionTrade
- java.lang.Object
-
- com.caplin.motif.UserTrade
-
- com.caplin.motif.fx.trading.orders.bulkaction.BulkOrderActionTrade
-
@Deprecated public class BulkOrderActionTrade extends UserTrade
Deprecated.An instance of this object represents a request from the client to perform an action on a number of orders.
-
-
Constructor Summary
Constructors Constructor Description BulkOrderActionTrade(com.caplin.trading.Trade trade, java.util.concurrent.ScheduledExecutorService executorService, BulkOrderAction bulkOrderAction, java.util.Set<java.lang.String> orderIDs)
Deprecated.Constructs the BulkOrderActionTrade with a trade object from the underlying trading com.caplin.motif.datasource that contains the fields and the state model representing the clients request to perform bulk action on a set of orders.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Deprecated.BulkOrderActionSentResponder
getBulkActionSentResponder()
Deprecated.Returns the responder that can trigger events from the BulkActionSent state.BulkOrderAction
getBulkOrderAction()
Deprecated.java.util.Set<java.lang.String>
getOrderIDs()
Deprecated.The ids of the orders on which this action should be performed on.BulkOrderActionProcessingResponder
getProcessingResponder()
Deprecated.Returns the responder that can trigger events from the Processing state.int
hashCode()
Deprecated.java.lang.String
toString()
Deprecated.-
Methods inherited from class com.caplin.motif.UserTrade
getBackingTrade, getExecutorService, getRequestID, getUsername
-
-
-
-
Constructor Detail
-
BulkOrderActionTrade
public BulkOrderActionTrade(com.caplin.trading.Trade trade, java.util.concurrent.ScheduledExecutorService executorService, BulkOrderAction bulkOrderAction, java.util.Set<java.lang.String> orderIDs)
Deprecated.Constructs the BulkOrderActionTrade with a trade object from the underlying trading com.caplin.motif.datasource that contains the fields and the state model representing the clients request to perform bulk action on a set of orders.
Note: As a user of the FXIntegrationAPI one is not expected to create this object, but to be passed these in listeners. See
BulkOrderActionTradeListener
- Parameters:
trade
- The underlying trade from the trading com.caplin.motif.datasource library.orderIDs
- A set of order ids on which the bulk order actionBulkOrderAction
will be performed.bulkOrderAction
- The bulk action to perform on these orders.
-
-
Method Detail
-
getBulkActionSentResponder
public BulkOrderActionSentResponder getBulkActionSentResponder()
Deprecated.Returns the responder that can trigger events from the BulkActionSent state.- Returns:
- the responder that can trigger events from the BulkActionSent state.
-
getProcessingResponder
public BulkOrderActionProcessingResponder getProcessingResponder()
Deprecated.Returns the responder that can trigger events from the Processing state.- Returns:
- the responder that can trigger events from the Processing state.
-
getBulkOrderAction
public BulkOrderAction getBulkOrderAction()
Deprecated.- Returns:
- the
BulkOrderAction
for this trade
-
getOrderIDs
public java.util.Set<java.lang.String> getOrderIDs()
Deprecated.The ids of the orders on which this action should be performed on.- Returns:
- the id of the orders that this action will be performed on.
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
-