Caplin Trader 4.5.2

Class: module:caplin/grid/filter/QueryStringHelper



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

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


(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.
Querystring in a standard name/value pair format