Caplin Trader 4.7.1

Interface: module:caplin/grid/filter/FilterExpression

module:caplin/grid/filter/FilterExpression

The interface that must be implemented by any class that wants to define a particular filtering rule that can be applied to a set of record data.
Implementations:

Methods

getRttpState() → {String}

Gets a serialized representation of this FilterExpression to send via RTTP to the Liberator which will apply it. This format must be understood by the DataSource, such as the Container Filtering Module used by the Transformer, that will apply the filter.
Implementations:
Returns:
A serialized representation of this expression that can be sent over RTTP.
Type
String

getSerializedState()

Implementations:
See:

toMap() → {Map}

Combine nested filters into a map representation.
Implementations:
Returns:
A map representation of the filters contained
Type
Map