Class BlotterIdCache
java.lang.Object
com.caplin.motif.fx.ret.orders.blotter.sources.BlotterIdCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBlotterId
(String requestId, String orderIdOrRequestId) Returns the same Blotter ID every time for the given Request ID or Order/Request ID
-
Constructor Details
-
BlotterIdCache
public BlotterIdCache()
-
-
Method Details
-
getBlotterId
@Nullable public String getBlotterId(@Nullable String requestId, @Nullable 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.
-