Namespace: Consultingwerk.BusinessEntityDesigner.KendoUiBuilder
Class 
DataProviderGenerator Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:DataProviderGenerator
Purpose:Generator for Kendo UI Builder for OpenEdge Data Provider
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Sep 30 09:15:25 CEST 2016



Top Method Summary
Options Name Purpose
+ CHARACTER BuildFileName (character, character) Returns the file name the generator is writing to
+ LOGICAL FileAlreadyExists (character, character) Returns if the file to generate already exists
+ CHARACTER GenerateDataProvider (character, character, character, character, character, character, character, table, dataset) Generates a Kendo UI Data Source

Top Constructor Summary
Options Name Purpose
+ DataProviderGenerator () Constructor for the DataSourceGenerator class


Method Detail
Top

PUBLIC CHARACTER BuildFileName (character, character)

Purpose: Returns the file name the generator is writing to
Notes:

Parameters:
pcName CHARACTER
The name of the Data Provider to generate
pcAppLocation CHARACTER
The folder of the Kendo UI Builder builder project
Returns CHARACTER
The file name
Top

PUBLIC LOGICAL FileAlreadyExists (character, character)

Purpose: Returns if the file to generate already exists
Notes:

Parameters:
pcName CHARACTER
The name of the Data Provider to generate
pcAppLocation CHARACTER
The folder of the Kendo UI Builder builder project
Returns LOGICAL
Logical value indicating if the file already exists
Top

PUBLIC CHARACTER GenerateDataProvider (character, character, character, character, character, character, character, table, dataset)

Purpose: Generates a Kendo UI Data Source
Notes:

Parameters:
pcName CHARACTER
The name of the Data Provider to generate
pcServiceURI CHARACTER
The Service URI
pcCatalogURI CHARACTER
The Catalog URI
pcCatalogUriEntityName CHARACTER
The Entity Name for the Catalog URI
pcAuthenticationModel CHARACTER
The Authentication Model
pcAppLocation CHARACTER
The folder of the Kendo UI Builder builder project
pcKendoUiBuilderUri CHARACTER
The URI of the Kendo UI Builder development environment
ttDataSources TEMP-TABLE ttDataSources
The temp-table with the data source definitions
dsBusinessEntity DATASET dsBusinessEntity
The dataset with the Business Entity definition
Returns CHARACTER
The file name of the generated JSON file


Constructor Detail
Top

PUBLIC DataProviderGenerator ()

Purpose: Constructor for the DataSourceGenerator class
Notes:



ProDataset Detail

ProDataset dsBusinessEntity

Member tables: eBusinessEntity, eDataRelation, eDataRelationProperties, eTable, eField, eFieldProperties, eIndex, eIndexProperties, eTableProperties, eBusinessEntityProperties


Temp-Table Detail

Temp-Table eBusinessEntity

Defined in:

Temp-Table eBusinessEntityProperties

Defined in:

Temp-Table eDataRelation

Defined in:

Temp-Table eDataRelationProperties

Defined in:

Temp-Table eField

Defined in:

Temp-Table eFieldProperties

Defined in:

Temp-Table eIndex

Defined in:

Temp-Table eIndexProperties

Defined in:

Temp-Table eTable

Defined in:

Temp-Table eTableProperties

Defined in:

Temp-Table ttDataSources

Defined in:


©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:21:52