Caplin Trader 4.7.1

Class: module:caplin/grid/filter/QueryStringHelper

module:caplin/grid/filter/QueryStringHelper

Constructor

new module:caplin/grid/filter/QueryStringHelper()

This class can be used to return query string representations of module:caplin/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:caplin/grid/filter/LogicalFilterExpressions within the query use the module:caplin/grid/filter/LogicalFilterExpression.Operator.AND logical operator and all module:caplin/grid/filter/FieldFilterExpressions within the query use the module:caplin/grid/filter/FieldFilterExpression.Operator.EQUAL operator. For this reason, it is best used with a module:caplin/grid/filter/QueryFilterExpression which will enforce these rules for you.
Returns:
Querystring in a standard name/value pair format