Class CommoditiesTradeBlotterAdapter
java.lang.Object
com.caplin.motif.commodities.trading.CommoditiesTradeBlotterAdapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterCommoditiesDealsSearchBlotterListener(SearchBlotterListener searchBlotterListener) Provides a blotter for all commodities deals searches visible to a single user.voidregisterCommoditiesInvoicesBlotterListener(BlotterListener blotterListener) Provides a blotter for all commodities invoices visible to a single user.voidregisterCommoditiesSearchBlotterListener(SearchBlotterListener searchBlotterListener, String id) Provides a blotter for all searches visible to a single user.voidregisterUnsettledCommoditiesTradesBlotterListener(BlotterListener blotterListener) Provides a blotter for all commodities trades visible to a single user.voidregisterUnsettledCommoditiesTradesBlotterMetaInfoListener(CachedObjectProvider<BlotterMetaInfoDetails, BlotterMetaSubjectInfo> provider) Registers a provider that is capable of responding to meta info requests.
-
Constructor Details
-
CommoditiesTradeBlotterAdapter
public CommoditiesTradeBlotterAdapter(com.caplin.datasource.DataSource dataSource)
-
-
Method Details
-
registerUnsettledCommoditiesTradesBlotterListener
Provides a blotter for all commodities trades visible to a single user.Provide this with blotter items created from the following:
BlotterTypesDef.CommoditiesTradeBlotterRecord -
registerCommoditiesInvoicesBlotterListener
Provides a blotter for all commodities invoices visible to a single user.Provide this with blotter items created from the following:
BlotterTypesDef.CommoditiesInvoiceBlotterRecord -
registerCommoditiesDealsSearchBlotterListener
public void registerCommoditiesDealsSearchBlotterListener(SearchBlotterListener searchBlotterListener) Provides a blotter for all commodities deals searches visible to a single user.Provide this with blotter items created from the following:
BlotterTypesDef.CommoditiesTradeBlotterRecord -
registerCommoditiesSearchBlotterListener
public void registerCommoditiesSearchBlotterListener(SearchBlotterListener searchBlotterListener, String id) Provides a blotter for all searches visible to a single user.Provide this with blotter items created from the following:
BlotterTypesDef.CommoditiesTradeBlotterRecord -
registerUnsettledCommoditiesTradesBlotterMetaInfoListener
public void registerUnsettledCommoditiesTradesBlotterMetaInfoListener(CachedObjectProvider<BlotterMetaInfoDetails, BlotterMetaSubjectInfo> provider) Registers a provider that is capable of responding to meta info requests.- Parameters:
provider- the CachedObjectProvider that will receive the meta info requests
-