Class BlotterIdCache
- java.lang.Object
-
- com.caplin.motif.fx.ret.orders.blotter.sources.BlotterIdCache
-
public class BlotterIdCache extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BlotterIdCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBlotterId(java.lang.String requestId, java.lang.String orderIdOrRequestId)
Returns the same Blotter ID every time for the given Request ID or Order/Request ID
-
-
-
Method Detail
-
getBlotterId
@Nullable public java.lang.String getBlotterId(@Nullable java.lang.String requestId, @Nullable java.lang.String orderIdOrRequestId)
Returns the same Blotter ID every time for the given Request ID or Order/Request IDThe reason for this is just so that we can maintain a constant ID for the blotter record and its updates.
- Parameters:
orderIdOrRequestId
- Order/Request ID is either the Order ID or Request ID - is always present - and may change between the two, however if it is the Request ID then it will match therequestId
param.requestId
- Request ID may not be present if the order was entered via the RET applet.
-
-