Class
caplin.grid.filter

QueryStringHelper

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

Constructor Summary

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

Method Summary

Attributes Name and Description
<static> String getStandardQueryString( oQuery)

Returns a query string representation of a caplin a {@link caplin.grid.filter.LogicalFilterExpression caplin.grid.filter.LogicalFilterExpression} in a standard name/value pair format e.g.

Constructor Detail

caplin.grid.filter.QueryStringHelper()

Method Detail

<static> String getStandardQueryString( oQuery)

Returns a query string representation of a caplin a {@link caplin.grid.filter.LogicalFilterExpression caplin.grid.filter.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 caplin.grid.filter.LogicalFilterExpressions within the query use the caplin.grid.filter.LogicalFilterExpression.Operator.AND logical operator and all caplin.grid.filter.FieldFilterExpressions within the query use the caplin.grid.filter.FieldFilterExpression.Operator.EQUAL operator. For this reason, it is best used with a caplin.grid.filter.QueryFilterExpression which will enforce these rules for you.

Parameters
oQuery
Returns
Querystring in a standard name/value pair format