Namespace: OpenEdge.BusinessLogic.Filter
Class
AblFilterParser
Parent classes:
Inherits: OpenEdge.BusinessLogic.Filter.FilterParser

Copyright (c) 2018 by Progress Software Corporation. All rights reserved.
File:AblFilterParser
Author(s):pjudge
Created:Wed Dec 07 14:11:10 EST 2016
Notes:* String with "WHERE"...
/* Default constructor




Method Summary
Options Name Purpose
Ccs.BusinessLogic.IGetDataRequest Parse (Object) /* Reads and processes (parses) the filter. @param P.L.Object The filter data @param IGetDataRequest A new filter object */
Ccs.BusinessLogic.IQuerySortEntry ParseSortBy (Object) /* Parses an SORT-BY phrase and returns an array of IQuerySortEntry objects. @param character The SORT-BY phrase @return IQuerySortEntry[] An array of sort phrases. An indeterminate array is returned if the input phrase is empty */
Ccs.BusinessLogic.IQuerySortEntry ParseSortString (longchar)
Ccs.BusinessLogic.IGetDataTableRequest ParseTableRequest (character, JsonObject) /* Reads a single table's request This method knows which properties in the input JSON are for the where clause, for the sort-by etc @param character The table name to which this filter applies @param JsonObject The input filter @return IGetDataTableRequest A single table Get Request */
Ccs.BusinessLogic.IQueryEntry ParseWhere (Object) /* Parses where/filter phrase and returns an IQueryEntry object for a single table @param P.L.Object The filter/where clause phrase @return IQueryEntry The query entry.We return one of an IQueryPredicate (single clause) or an IQueryGroup (many clauses) */
Ccs.BusinessLogic.IQueryEntry ParseWhereString (longchar)

Constructor Summary
Options Name Purpose
AblFilterParser () /* Default constructor */
AblFilterParser (character) /* Constructor. @param longchar (mandatory) A table name for which to construct the filter */
AblFilterParser (character[]) /* Constructor. @param longchar[] (mandatory) An array of table name for which to construct the filter */


Method Detail
Top

Ccs.BusinessLogic.IGetDataRequest Parse (Object)

/* Reads and processes (parses) the filter.
Parameters:
pData Progress.Lang.Object
Returns Ccs.BusinessLogic.IGetDataRequest
Top

Ccs.BusinessLogic.IQuerySortEntry ParseSortBy (Object)

/* Parses an SORT-BY phrase and returns an array of IQuerySortEntry objects.
Parameters:
pSortBy Progress.Lang.Object
Returns Ccs.BusinessLogic.IQuerySortEntry
IQuerySortEntry[] An array of sort phrases. An indeterminate array is returned if the input phrase is empty
Top

Ccs.BusinessLogic.IQuerySortEntry ParseSortString (longchar)

Parameters:
pSortBy LONGCHAR
Returns Ccs.BusinessLogic.IQuerySortEntry
Top

Ccs.BusinessLogic.IGetDataTableRequest ParseTableRequest (character, JsonObject)

/* Reads a single table's request
This method knows which properties in the input JSON are for the where clause, for the sort-by etc
Parameters:
pTable CHARACTER
pData Progress.Json.ObjectModel.JsonObject
Returns Ccs.BusinessLogic.IGetDataTableRequest
IGetDataTableRequest A single table Get Request
Top

Ccs.BusinessLogic.IQueryEntry ParseWhere (Object)

/* Parses where/filter phrase and returns an IQueryEntry object for a single table
or an IQueryGroup (many clauses)
Parameters:
pWhere Progress.Lang.Object
Returns Ccs.BusinessLogic.IQueryEntry
IQueryEntry The query entry.We return one of an IQueryPredicate (single clause)
Top

Ccs.BusinessLogic.IQueryEntry ParseWhereString (longchar)

Parameters:
pWhere LONGCHAR
Returns Ccs.BusinessLogic.IQueryEntry


Constructor Detail
Top

AblFilterParser ()

/* Default constructor
Top

AblFilterParser (character)

/* Constructor.
Parameters:
pTable CHARACTER
Top

AblFilterParser (character[])

/* Constructor.
Parameters:
pTable CHARACTER


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15