Namespace: Consultingwerk.Web2.Services.Rendering.FormComponents
Class 
DataSourceWebRendering Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Web2.Services.Rendering.FormComponents.IFormWebRenderingComponent

File:DataSourceWebRendering
Purpose:Rendering of a data source component
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Feb 15 11:40:24 CET 2018



Top Method Summary
Options Name Purpose
# Progress.Json.ObjectModel.JsonObject GetSmartFilter (character) Returns the JSON for the SmartFilter
# CHARACTER ProcessForeignFieldsMethod (character, handle, handle, handle, handle) Renders the QueryString and QuerySort properties
+ Progress.Json.ObjectModel.JsonObject RenderComponentToJson (character, handle, handle) Renders a component to JSON
# RenderQueryStringSort (JsonObject, character, character) Renders the QueryString and QuerySort properties

Top Constructor Summary
Options Name Purpose
DataSourceWebRendering () Static constructor for the DataSourceWebRendering class


Method Detail
Top

PROTECTED Progress.Json.ObjectModel.JsonObject GetSmartFilter (character)

Purpose: Returns the JSON for the SmartFilter
Notes:

Parameters:
pcSmartFilter CHARACTER
The SmartFilter character value (fieldName,operator,value)
Returns Progress.Json.ObjectModel.JsonObject
The JsonObject describing the SmartFilter
Top

PROTECTED CHARACTER ProcessForeignFieldsMethod (character, handle, handle, handle, handle)

Purpose: Renders the QueryString and QuerySort properties
Notes:

Parameters:
pcForeignFields CHARACTER
The foreign fields
phAttributesBuffer HANDLE
The record buffer with the object attributes
phRepositoryData HANDLE
The repository data to render (ProDataset)
phLinkSource HANDLE
The handle of the Buffer with the Link source
phLinkBuffer HANDLE
The handle of the Buffer with the Link
Returns CHARACTER
The updated foreign fields list
Top

PUBLIC Progress.Json.ObjectModel.JsonObject RenderComponentToJson (character, handle, handle)

Purpose: Renders a component to JSON
Notes:

Parameters:
pcObjectInstanceGuid CHARACTER
The GUID of the current object instance
phAttributesBuffer HANDLE
The record buffer with the object attributes
phRepositoryData HANDLE
The repository data to render (ProDataset)
Returns Progress.Json.ObjectModel.JsonObject
The JSON object describing the component
Top

PROTECTED RenderQueryStringSort (JsonObject, character, character)

Purpose: Renders the QueryString and QuerySort properties
Notes:

Parameters:
poDataSource Progress.Json.ObjectModel.JsonObject
The reference to the data source JSON object
pcQueryString CHARACTER
The query string
pcQuerySort CHARACTER
The query sort string


Constructor Detail
Top

STATIC DataSourceWebRendering ()

Purpose: Static constructor for the DataSourceWebRendering class
Notes:



©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:17:33