Top Method Summary
Options Name Purpose
+ CountResultRecords (dataset-handle, ICountRecordsRequest) Counts the number of results of the query
+ INT64 CountResultRecords (ICountRecordsRequest) Counts the number of results of the query
# A FetchData (IFetchDataRequest) Fetch data and/or definitions
+ F FetchData (IFetchDataRequest, dataset-handle) Fetch data and/or definitions
+ FetchDataset (dataset-handle) Creates and returns an empty dataset to the caller
# Consultingwerk.OERA.IBusinessEntity GetBusinessEntity () Return the reference to the Business Entity
+ Consultingwerk.OERA.BusinessEntityDescriptor.IBusinessEntityDescriptor GetBusinessEntityDescriptor () Returns the Business Entity Descriptor for this Business Entity
+ F GetBusinessEntityDescriptor (dataset-handle, GetBusinessEntityDescriptorParameter) Returns the Business Entity Descriptor for this Business Entity
+ GetInitialValues (dataset-handle, GetInitialValuesParameter) Returns a dataset with one record containing the initial values
+ ListRestMethod GetRestMethods () Returns the list of supported rest addresses for methods to the caller
Inherited from Consultingwerk.OERA.BusinessTask
+ CHARACTER GetTopNavBuffers () Returns the names of the dataset TOP-NAV-BUFFER's
+ ResetState () Resets the state of the Business Entity by emptying temp-tables
+ F SaveChanges (dataset-handle) Saves changes
+ F SaveChanges (dataset-handle, Object) Saves changes
# A SaveChanges (Object) Saves changes

Top Constructor Summary
Options Name Purpose
# BusinessEntityBusinessTask (handle, character) Constructor for the BusinessEntityBusinessTask class

Top Property Summary
Options Name Purpose
+ HANDLE DatasetHandle
# LOGICAL DelegateGetInitialValues
# CHARACTER ENTITY_NAME


Method Detail
Top

PUBLIC CountResultRecords (dataset-handle, ICountRecordsRequest)

Purpose: Counts the number of results of the query
Notes: Used by the Generic JSDO Service to support the Count feature
Supports STOP-AFTER: When STOP-AFTER occurs, the StopAfterNumResults
value of the parameter object is returns as the Results
https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094448/Generic+Service+Interface+for+JSDO+with+Kendo+UI+dialect#GenericServiceInterfaceforJSDOwithKendoUIdialect-ResourceCount //consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094448/Generic+Service+Interface+for+JSDO+with+Kendo+UI+dialect#GenericServiceInterfaceforJSDOwithKendoUIdialect-ResourceCount

Parameters:
phDataset DATASET-HANDLE
The dataset handle (not used)
poParameter Consultingwerk.OERA.ICountRecordsRequest
The CharacterHolder to receive the list of TOP-NAV-BUFFERS
Top

PUBLIC INT64 CountResultRecords (ICountRecordsRequest)

Purpose: Counts the number of results of the query
Notes: Used by the Generic JSDO Service to support the Count feature
Supports STOP-AFTER: When STOP-AFTER occurs, the StopAfterNumResults
value of the parameter object is returns as the Results
https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094448/Generic+Service+Interface+for+JSDO+with+Kendo+UI+dialect#GenericServiceInterfaceforJSDOwithKendoUIdialect-ResourceCount //consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094448/Generic+Service+Interface+for+JSDO+with+Kendo+UI+dialect#GenericServiceInterfaceforJSDOwithKendoUIdialect-ResourceCount

Parameters:
poParameter Consultingwerk.OERA.ICountRecordsRequest
The CharacterHolder to receive the list of TOP-NAV-BUFFERS
Returns INT64
The number of records returned by the query
Top

PROTECTED FetchData (IFetchDataRequest)

Purpose: Fetch data and/or definitions
Notes:

Parameters:
poFetchDataRequest Consultingwerk.OERA.IFetchDataRequest
The IFetchDataRequest object with the parameter for this call
Top

PUBLIC FetchData (IFetchDataRequest, dataset-handle)

Purpose: Fetch data and/or definitions
Notes:

Parameters:
poFetchDataRequest Consultingwerk.OERA.IFetchDataRequest
The IFetchDataRequest object with the parameter for this call
phDataset DATASET-HANDLE
OUTPUT Dataset with the resulting data
Top

PUBLIC FetchDataset (dataset-handle)

Purpose: Creates and returns an empty dataset to the caller
Notes: Useful for dynamic callers that need access to the dataset schema prior to calling FetchData

Parameters:
phDataset DATASET-HANDLE
OUTPUT Dataset with the resulting data
Top

PROTECTED Consultingwerk.OERA.IBusinessEntity GetBusinessEntity ()

Purpose: Return the reference to the Business Entity
Notes:

Returns Consultingwerk.OERA.IBusinessEntity
The reference to the IBusinessEntity
Top

PUBLIC Consultingwerk.OERA.BusinessEntityDescriptor.IBusinessEntityDescriptor GetBusinessEntityDescriptor ()

Purpose: Returns the Business Entity Descriptor for this Business Entity
Notes: https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094518/Business+Entity+Descriptor

Returns Consultingwerk.OERA.BusinessEntityDescriptor.IBusinessEntityDescriptor
The IBusinessEntityDescriptor of the Business Entity
Top

PUBLIC GetBusinessEntityDescriptor (dataset-handle, GetBusinessEntityDescriptorParameter)

Purpose: Returns the Business Entity Descriptor for this Business Entity
Notes: Invokable Method
https://consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094518/Business+Entity+Descriptor //consultingwerk.atlassian.net/wiki/spaces/SCL/pages/8094518/Business+Entity+Descriptor

Parameters:
phDataset DATASET-HANDLE
The dataset of the Business Entity
poParameter Consultingwerk.OERA.BusinessEntityDescriptor.GetBusinessEntityDescriptorParameter
The GetBusinessEntityDescriptorParameter with the data for this call
Top

PUBLIC GetInitialValues (dataset-handle, GetInitialValuesParameter)

Purpose: Returns a dataset with one record containing the initial values
Notes: Can be overridden in Business Entity implementations to provide
dynamic initial values. The base class implementation will return
the buffer fields initial values. The parameter object's TableNames
is a comma-delimited list. The parameter object's ForeignKeyFields
property is a character array (one element per table) of comma delimited
lists of the provided foreign field names. The ForeignKeyValues property is a
character array (one element per table) of CHR(1) delimited field
values

Parameters:
phDataset DATASET-HANDLE
Used to return the dataset
poParameter Consultingwerk.OERA.GetInitialValuesParameter
The GetInitialValuesParameter instance with the parameters for this call
Top

PUBLIC ListRestMethod GetRestMethods ()

Inherited from Consultingwerk.OERA.BusinessTask
Purpose: Returns the list of supported rest addresses for methods
to the caller
Notes:

Returns ListRestMethod
The list of supported rest methods to the caller
Top

PUBLIC CHARACTER GetTopNavBuffers ()

Purpose: Returns the names of the dataset TOP-NAV-BUFFER's
Notes:

Returns CHARACTER
The list of TOP-NAV-BUFFERS
Top

PUBLIC ResetState ()

Purpose: Resets the state of the Business Entity by emptying temp-tables
Notes: If the dataset or any temp-tables have been passed BY-REFERENCE and
a reference. This method is typically called from an AppServer's
deactivate procedure via the ServiceInterface's RequestEnded event

Top

PUBLIC SaveChanges (dataset-handle)

Purpose: Saves changes
Notes: This method is called from consumers of the Business Task and
receives the dataset.
This method is called by the ServiceInterface when no parameter object
has been passed in

Parameters:
phDataset DATASET-HANDLE
INPUT-OUTPUT Dataset with changes
Top

PUBLIC SaveChanges (dataset-handle, Object)

Purpose: Saves changes
Notes: This method is called from consumers of the Business Task and
receives the dataset.
This method is called by the ServiceInterface when a parameter object
has been passed in. The parameter object will be accessible from within
the business entity using the protected property SaveChangesParameter

Parameters:
phDataset DATASET-HANDLE
INPUT-OUTPUT Dataset with changes
poParameter Progress.Lang.Object
Optional Parameter object for the SaveChanges method
Top

PROTECTED SaveChanges (Object)

Purpose: Saves changes
Notes: This method is called from consumers of the Business Task and
receives the dataset.

Parameters:
poParameter Progress.Lang.Object
Optional Parameter object for the SaveChanges method


Constructor Detail
Top

PROTECTED BusinessEntityBusinessTask (handle, character)

Purpose: Constructor for the BusinessEntityBusinessTask class
Notes:

Parameters:
phDataset HANDLE
The handle of the Dataset
pcEntityName CHARACTER
The name of the Business Entity


Property Detail
Top

PUBLIC HANDLE DatasetHandle


Returns HANDLE
Top

PROTECTED LOGICAL DelegateGetInitialValues


Returns LOGICAL
Top

PROTECTED CHARACTER ENTITY_NAME


Returns CHARACTER


©2006-2025 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       17.08.2025 17:53:19