Class DefaultBlotterCriteriaFactory
java.lang.Object
com.caplin.motif.fx.ret.lbn.extension.query.DefaultBlotterCriteriaFactory
- All Implemented Interfaces:
BlotterCriteriaFactory
A
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.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.caplin.motif.fx.ret.lbn.query.BlotterCriteriaFactory
BlotterCriteriaFactory.Context -
Constructor Summary
ConstructorsConstructorDescriptionDefaultBlotterCriteriaFactory(BlotterSubjectParser blotterSubjectParser, DealRecordMatcher dealRecordMatcher, CriteriaFactory criteriaFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreateBlotterCriteria(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.voidinitialise(BlotterCriteriaFactory.Context context) This notifies theBlotterCriteriaFactorythat it is about to be loaded.
-
Constructor Details
-
DefaultBlotterCriteriaFactory
public DefaultBlotterCriteriaFactory(BlotterSubjectParser blotterSubjectParser, DealRecordMatcher dealRecordMatcher, CriteriaFactory criteriaFactory)
-
-
Method Details
-
initialise
Description copied from interface:BlotterCriteriaFactoryThis notifies the
BlotterCriteriaFactorythat 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
BlotterCriteriaFactoryis loaded.- Specified by:
initialisein interfaceBlotterCriteriaFactory
-
createBlotterCriteria
public BlotterCriteria createBlotterCriteria(ContainerSubject subject) throws BlotterCriteriaFactoryException Description copied from interface:BlotterCriteriaFactoryYou should use this method to create a BlotterCriteria implementation which will be used to query LBN and filter LBN updates coming in. Records that are returned by LBN query or received on an update will be passed through the filter. If they then pass the filter, the record will then be shown in the blotter.- Specified by:
createBlotterCriteriain interfaceBlotterCriteriaFactory- Throws:
BlotterCriteriaFactoryException- if it was not possible to create a valid query.
-