Namespace: Consultingwerk.OERA.LegacyAdapter
Class 
LegacyServiceAdapter Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:LegacyServiceAdapter
Purpose:A single class - with no dependencies to any SmartComponent Library
class (except some useful error types)
In the first version we will support:
FetchData (Business Entity Name, Tables, Query String), returning all records (no batching)
SaveChanges
Author(s):Marko Rueterbories / Consultingwerk Ltd.
Created:Fri Dec 02 08:21:37 CET 2016



Top Method Summary
Options Name Purpose
InitContextDataset () Initializes the Context Dataset with local settings
RetrieveData (character, character, character, dataset-handle) Reads data from the Backend
SubmitData (character, dataset-handle) Saves modified (Create, Update, Delete) data to a Business Entity

Top Constructor Summary
Options Name Purpose
LegacyServiceAdapter (handle) Constructor for the LegacyServiceAdapter class

Top Property Summary
Options Name Purpose
HANDLE ContextDatasetHandle
CHARACTER ServiceInterfacePath


Method Detail
Top

InitContextDataset ()

Purpose: Initializes the Context Dataset with local settings
Notes:

Top

RetrieveData (character, character, character, dataset-handle)

Purpose: Reads data from the Backend
Notes:

Parameters:
pcEntityName CHARACTER
The name of the business entity
pcTables CHARACTER
Comma delimited list of tables to be populated ("" or "*" request all tables)
pcQueryString CHARACTER
Query statements for each requested table (CHR (1) separated)
phDataset DATASET-HANDLE
OUTPUT DATASET-HANDLE The resulting dataset
Top

SubmitData (character, dataset-handle)

Purpose: Saves modified (Create, Update, Delete) data to a Business Entity
Notes:

Parameters:
pcEntityName CHARACTER
The name of the business entity
hChangesDataset DATASET-HANDLE
INPUT-OUTPUT DATASET-HANDLE The dataset with the modifications to the submitted


Constructor Detail
Top

LegacyServiceAdapter (handle)

Purpose: Constructor for the LegacyServiceAdapter class
Notes:

Parameters:
phAppServerConnection HANDLE
Handle to a connected AppServer


Property Detail
Top

HANDLE ContextDatasetHandle


Returns HANDLE
Top

CHARACTER ServiceInterfacePath


Returns CHARACTER


Temp-Table Detail


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       30.03.2026 11:05:16