@Deprecated public class TakerNameBlotterCriteria extends java.lang.Object implements BlotterCriteria
Constructor and Description |
---|
TakerNameBlotterCriteria(CriterionFactory criterionFactory,
ContainerSubject subject,
java.lang.String startDate,
java.util.Set<java.lang.String> clients,
boolean displayOnlyCompletedDeals)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
filter(com.m_systems.lbn.spi.record.CDealRecord dealRecord)
Deprecated.
This should return
true if the deal record should be processed and shown in the blotter and false
otherwise. |
com.google.common.collect.ImmutableList<com.caplin.ret.trapi.lbn.Criterion> |
getQueryCriteria()
Deprecated.
You should use this method to return an ordered list of
Criteria
which will be used to create the initial query to LBN for the records to display in the blotter. |
public TakerNameBlotterCriteria(CriterionFactory criterionFactory, ContainerSubject subject, java.lang.String startDate, java.util.Set<java.lang.String> clients, boolean displayOnlyCompletedDeals)
public com.google.common.collect.ImmutableList<com.caplin.ret.trapi.lbn.Criterion> getQueryCriteria()
BlotterCriteria
Criteria
which will be used to create the initial query to LBN for the records to display in the blotter.
All returned records will be passed through the BlotterCriteria.filter(CDealRecord)
method and displayed on the
blotter only if they pass.
The main intention of the returned criteria is to reduce the amount of records that need returning by LBN and processing by the Adapter.
getQueryCriteria
in interface BlotterCriteria
public boolean filter(com.m_systems.lbn.spi.record.CDealRecord dealRecord)
BlotterCriteria
true
if the deal record should be processed and shown in the blotter and false
otherwise.
All deals, from the initial query submitted and updates from LBN, will be passed through this filter.filter
in interface BlotterCriteria
Copyright © 2019 Caplin Systems.