public class DefaultBlotterCriteriaFactory extends java.lang.Object implements BlotterCriteriaFactory
BlotterQuery
which matches records based on the taker-name, deal date, and depending on the
executed/historic_blotter_display_only_completed_deals configuration options, whether the deal is in the "Completed"
state.
Also provides the trade search query criteria. These (by default) are based upon the taker-name, and any extra
parameters that are passed in the search subject.BlotterCriteriaFactory.Context
Constructor and Description |
---|
DefaultBlotterCriteriaFactory(BlotterSubjectParser blotterSubjectParser,
DealRecordMatcher dealRecordMatcher) |
Modifier and Type | Method and Description |
---|---|
BlotterCriteria |
createBlotterCriteria(ContainerSubject subject)
You should use this method to create a BlotterCriteria implementation which will be used to query LBN and filter
LBN updates coming in.
|
void |
initialise(BlotterCriteriaFactory.Context context)
This notifies the
BlotterCriteriaFactory that it is about to be loaded. |
public DefaultBlotterCriteriaFactory(BlotterSubjectParser blotterSubjectParser, DealRecordMatcher dealRecordMatcher)
public void initialise(BlotterCriteriaFactory.Context context)
BlotterCriteriaFactory
This notifies the BlotterCriteriaFactory
that it is about to be loaded. This method will be called
by the system once.
You should use this method to perform any initialisation required before the BlotterCriteriaFactory
is loaded.
initialise
in interface BlotterCriteriaFactory
public BlotterCriteria createBlotterCriteria(ContainerSubject subject) throws BlotterCriteriaFactoryException
BlotterCriteriaFactory
createBlotterCriteria
in interface BlotterCriteriaFactory
BlotterCriteriaFactoryException
- if it was not possible to create a valid query.Copyright © 2016 Caplin Systems.