Namespace: OpenEdge.Web.DataObject.Writer
Class
DataRequestValueWriter
Parent classes:
Inherits: OpenEdge.Web.DataObject.Writer.ObjectValueWriter

/* *************************************************************************************************************************
Copyright (c) 2019 by Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
File:DataRequestValueWriter
Purpose:Writes the contents of a IGetDataRequest object based on other inputs
Author(s):pjudge
Created:2016-12-17
Notes:* The ablRef message element determines the JSON property name we create. If we don't have that,
we assume the entire input is JSON and overrides the filter
"msgElem": [
{"type": "CONSTANT","name": "JFP", "ablRef": "mappingType"},
{"type": "QUERY", "name": "filter" }
]
"msgElem": [
{"type": "CONSTANT","name": "JFP", "ablRef": "mappingType"},
{"type": "QUERY", "name": "filter", "ablRef": "ablFilter"},
{"type": "QUERY", "name": "sort", "ablRef": "orderBy"},
{"type": "QUERY", "name": "top", "ablRef": "top"},
{"type": "QUERY", "name": "skip", "ablRef": "skip"}
]
"msgElem": [
{"type": "CONSTANT","name": "KENDO", "ablRef": "mappingType"},
{"type": "QUERY", "name": "filter", "ablRef": "filter"},
{"type": "QUERY", "name": "sort", "ablRef": "sort"},
{"type": "QUERY", "name": "top", "ablRef": "page"},
{"type": "QUERY", "name": "skip", "ablRef": "pageSize"}
]




Method Summary
Options Name Purpose
Close ()
Flush ()
Open ()
Progress.Lang.Object ParseFilter (JsonObject) /* Parses JSON to produce a IGetDataRequest object. This is a reflection-based method that we want to replace at some point with the strongly-typed one below @param JsonObject Filter data encoded as JSON @return Progress.Lang.Object A filter based on the JSON input */
Write (character)
Write (longchar)
Write (Object)

Constructor Summary
Options Name Purpose
DataRequestValueWriter ()
DataRequestValueWriter () /* Default constructor */

Property Summary
Options Name Purpose
Progress.Lang.Class FilterParserBuilderType
Progress.Lang.Class FilterParserType


Method Detail
Top

Close ()

Top

Flush ()

Top

Open ()

Top

Progress.Lang.Object ParseFilter (JsonObject)

/* Parses JSON to produce a IGetDataRequest object.
This is a reflection-based method that we want to replace at some point with the
strongly-typed one below
Parameters:
pValue Progress.Json.ObjectModel.JsonObject
Returns Progress.Lang.Object
Progress.Lang.Object A filter based on the JSON input
Top

Write (character)

Parameters:
pData CHARACTER
Top

Write (longchar)

Parameters:
pData LONGCHAR
Top

Write (Object)

Parameters:
pData Progress.Lang.Object


Constructor Detail
Top

STATIC DataRequestValueWriter ()

Top

DataRequestValueWriter ()

/* Default constructor


Property Detail
Top

Progress.Lang.Class FilterParserBuilderType

Returns Progress.Lang.Class
Top

Progress.Lang.Class FilterParserType

Returns Progress.Lang.Class


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15