Namespace: OpenEdge.BusinessLogic.Filter
Class
FilterParser
Parent classes:
Inherits: Progress.Lang.Object

Copyright (c) 2019 by Progress Software Corporation. All rights reserved.
File:FilterParser
Purpose:A parent/abstract filter parse class for creating
objects data requests for a CCS Business Entity's getData()
and getResultCount() operations
Author(s):pjudge
Created:2016-12-07
/* An ordered set of table names used to create this filter.
Typically just one, but potentially more




Method Summary
Options Name Purpose
Ccs.BusinessLogic.IGetDataRequest Parse (Object) /* Reads and processes (parses) a complete data 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 P.L.Object The SORT-BY data @return IQuerySortEntry[] An array of sort phrases. An indeterminate array is returned if the input phrase is empty */
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 data @return IQueryEntry The query entry.We return one of an IQueryPredicate (single clause) or an IQueryGroup (many clauses) */

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

Property Summary
Options Name Purpose
CHARACTER FilterTable


Method Detail
Top

Ccs.BusinessLogic.IGetDataRequest Parse (Object)

/* Reads and processes (parses) a complete data 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.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)


Constructor Detail
Top

FilterParser ()

/* Default constructor.
Top

FilterParser (character)

/* Constructor.
Parameters:
pTable CHARACTER
Top

FilterParser (character[])

/* Constructor.
Parameters:
pTable CHARACTER


Property Detail
Top

CHARACTER FilterTable

Returns CHARACTER


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15