Caplin Trader 5.1.0

Class: module:ct-grid/filter/QueryStringHelper

module:ct-grid/filter/QueryStringHelper()

new module:ct-grid/filter/QueryStringHelper()

This class can be used to return query string representations of module:ct-grid/filter/LogicalFilterExpressions.

Methods

(static) getStandardQueryString()

Returns a query string representation of a caplin a LogicalFilterExpression in a standard name/value pair format e.g. subject=/FI/123&start=12/10/2007

This method can only be used if all module:ct-grid/filter/LogicalFilterExpressions within the query use the module:ct-grid/filter/LogicalFilterExpression.Operator.AND logical operator and all module:ct-grid/filter/FieldFilterExpressions within the query use the module:ct-grid/filter/FieldFilterExpression.Operator.EQUAL operator. For this reason, it is best used with a module:ct-grid/filter/QueryFilterExpression which will enforce these rules for you.

Returns:

Querystring in a standard name/value pair format