Interface
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.

Constructor Summary

Attributes Name and Description
caplin.grid.filter.FilterExpression()

Method Summary

Attributes Name and Description
String getRttpState()

Gets a serialized representation of this FilterExpression to send via RTTP to the Liberator which will apply it.

String getSerializedState(String sIndent)

Gets an XML representation of this FilterExpression that will be used to save its state within a serialized component and/or layout.

Map toMap()

Combine nested filters into a map representation.

Constructor Detail

caplin.grid.filter.FilterExpression()

Method Detail

String getRttpState()

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.

Returns
A serialized representation of this expression that can be sent over RTTP.

String getSerializedState(String sIndent)

Gets an XML representation of this FilterExpression that will be used to save its state within a serialized component and/or layout.

Parameters
String sIndent The number of characters the caller would like the expression to indent the XML it returns to make it easily human readable.
Returns
An XML representation of this expression.

Map toMap()

Combine nested filters into a map representation.

Returns
A map representation of the filters contained