Namespace: OpenEdge.BusinessLogic.Filter
Type: Class JfpFilterParser
Parent Classes:
Inherits: OpenEdge.BusinessLogic.Filter.AblFilterParser


Copyright (c) 2016, 2021 by Progress Software Corporation. All rights reserved.
File:JfpFilterParser
Purpose:Parse for JSON data in the JSON Filter Pattern
Author(s):pjudge
Created:Wed Dec 07 14:11:10 EST 2016
Notes:* https://documentation.progress.com/output/ua/OpenEdge_latest/index.html#page/dvwsv/updating-business-entities-for-access-by-telerik.html
OpenEdge BusinessEntity query that returns the result set, as in the following examples:
Saved into TableRequest[n]:QueryDefinition:QuerySelection
Saved into TableRequest[n]:QueryDefinition:QuerySort
Saved into TableRequest[n]:QueryDefinition:NumRecords
Saved into TableRequest[n]:QueryDefinition:Skip
Saved into TableRequest[n]:QueryDefinition:PagingContext
/* Default constructor



Method Summary
  Options Name Purpose
  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 */

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

Method Detail
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


Constructor Detail
Top

JfpFilterParser ()

/* Default constructor
Top

JfpFilterParser (character)

/* Constructor.
Parameters:
pTable CHARACTER
 
Top

JfpFilterParser (character[])

/* Constructor.
Parameters:
pTable CHARACTER