Top Method Summary
Options Name Purpose
AddTempTable (handle) Adds a temp-table to the context dataset
AssignFromSessionManager () Assigns the eSessionContext temp-table from the SessionManager
HANDLE ContextWrapperBuffer (character, character) Get's a buffer record from the eContextProperties table
CHARACTER GetCharacterContextProperty (character) Get's a Character property from the eContextProperties table
DATE GetDateContextProperty (character) Get's a Date property from the eContextProperties table
DATETIME GetDateTimeContextProperty (character) Get's a DateTime property from the eContextProperties table
DECIMAL GetDecimalContextProperty (character) Get's a Decimal property from the eContextProperties table
INT64 GetInt64ContextProperty (character) Get's an Int64 property from the eContextProperties table
INTEGER GetIntegerContextProperty (character) Get's an Integer property from the eContextProperties table
LOGICAL GetLogicalContextProperty (character) Get's a Logical property from the eContextProperties table
LONGCHAR GetLongcharContextProperty (character) Get's a Longchar property from the eContextProperties table
RAW GetRawContextProperty (character) Get's a Raw property from the eContextProperties table
HANDLE GetSessionContextField (character) Returns a handle to a field of the Session Context buffer
LOGICAL IsValidateSessionContext (character) Checks to see if we have a valid SessionContext
RemoveContextValues (character) Removes all values from the context properties table where the property name matches the given property name pattern (MATCHES)
RemoveTempTable (handle) Removes a temp-table from the context dataset
SetCharacterContextProperty (character, character) Set's a Character property value in the eContextProperties table
SetDateContextProperty (character, date) Set's a Date property value in the eContextProperties table
SetDateTimeContextProperty (character, datetime) Set's a DateTime property value in the eContextProperties table
SetDecimalContextProperty (character, decimal) Set's a Decimal property value in the eContextProperties table
SetInt64ContextProperty (character, int64) Set's an Int64 property value in the eContextProperties table
SetIntegerContextProperty (character, integer) Set's an Integer property value in the eContextProperties table
SetLogicalContextProperty (character, logical) Set's a Logical property value in the eContextProperties table
SetLongcharContextProperty (character, longchar) Set's a Longchar property value in the eContextProperties table
SetRawContextProperty (character, raw) Set's Raw property value in the eContextProperties table

Top Constructor Summary
Options Name Purpose
ContextWrapperImpl () /*- Purpose: Constructor for the ContextWrapper class Notes: */

Top Property Summary
Options Name Purpose
CHARACTER AppServerProVersion
CHARACTER AppServerType
RAW ClientPrincipal
CHARACTER ClientProVersion
CHARACTER ClientType
LOGICAL IsRestrictedTokensSet
CHARACTER LanguageDisplayName
CHARACTER LanguageIsoCode
CHARACTER LanguageKey
CHARACTER LoginCompanyKey
CHARACTER LoginCompanyName
CHARACTER LoginCompanyReferenceChar
DECIMAL LoginCompanyReferenceDecimal
INTEGER LoginCompanyReferenceInteger
CHARACTER LoginCompanyShortName
DATE ProcessingDate
LONGCHAR RestrictedTokens
CHARACTER ServerCustomLogEntries
LOGICAL ServerDebugMode
CHARACTER ServerLogEntryTypes
CHARACTER UserEmail
CHARACTER UserFullName
CHARACTER UserGroupKeys
CHARACTER UserGroupNames
CHARACTER UserKey
CHARACTER UserName


Method Detail
Top

AddTempTable (handle)

Purpose: Adds a temp-table to the context dataset
Notes: When the context-dataset is static, we will create a new dynamic
ProDataset and use that as the new context dataset. This new context
dataset will be built using new buffers on the temp-tables of the
previous (static) context dataset
When the temp-tables default-buffer-handle is already member of a
ProDataset we will create a new dynamic buffer for the table and
add that to the dataset

Parameters:
phTempTable HANDLE
The handle of the Temp-Table to add to the context dataset
Top

AssignFromSessionManager ()

Purpose: Assigns the eSessionContext temp-table from the
SessionManager
Notes:

Top

HANDLE ContextWrapperBuffer (character, character)

Purpose: Get's a buffer record from the eContextProperties table
Notes:

Parameters:
pcDataType CHARACTER
The data type of the property
pcPropertyName CHARACTER
The name of the property
Returns HANDLE
The buffer handle
Top

CHARACTER GetCharacterContextProperty (character)

Purpose: Get's a Character property from the eContextProperties table
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the property
Returns CHARACTER
The property value
Top

DATE GetDateContextProperty (character)

Purpose: Get's a Date property from the eContextProperties table
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the property
Returns DATE
The property value
Top

DATETIME GetDateTimeContextProperty (character)

Purpose: Get's a DateTime property from the eContextProperties table
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the property
Returns DATETIME
The property value
Top

DECIMAL GetDecimalContextProperty (character)

Purpose: Get's a Decimal property from the eContextProperties table
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the property
Returns DECIMAL
The property value
Top

INT64 GetInt64ContextProperty (character)

Purpose: Get's an Int64 property from the eContextProperties table
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the property
Returns INT64
The property value
Top

INTEGER GetIntegerContextProperty (character)

Purpose: Get's an Integer property from the eContextProperties table
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the property
Returns INTEGER
The property value
Top

LOGICAL GetLogicalContextProperty (character)

Purpose: Get's a Logical property from the eContextProperties table
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the property
Returns LOGICAL
The property value
Top

LONGCHAR GetLongcharContextProperty (character)

Purpose: Get's a Longchar property from the eContextProperties table
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the property
Returns LONGCHAR
The property value
Top

RAW GetRawContextProperty (character)

Purpose: Get's a Raw property from the eContextProperties table
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the property
Returns RAW
The property value
Top

HANDLE GetSessionContextField (character)

Purpose: Returns a handle to a field of the Session Context buffer
Notes:

Parameters:
pcFieldName CHARACTER
The name of the context buffer field
Returns HANDLE
The handle of the context buffer field
Top

LOGICAL IsValidateSessionContext (character)

Purpose: Checks to see if we have a valid SessionContext
Notes:

Parameters:
pcPropertyMode CHARACTER
Returns LOGICAL
The logical result of finding the SessionContext
Top

RemoveContextValues (character)

Purpose: Removes all values from the context properties table where the
property name matches the given property name pattern (MATCHES)
Notes:

Parameters:
pcProperties CHARACTER
The pattern (MATCHES) for the property names to delete
Top

RemoveTempTable (handle)

Purpose: Removes a temp-table from the context dataset
Notes: When the context-dataset is static, we will throw an error as we expect
that the "core" temp-tables of a static ProDataset should not be removed.
As dynamic ProDatasets do not support removing temp-tables we are creating
a new session dataset from new buffers for the temp-tables of the buffers
that are in the current context dataset.

Parameters:
phTempTable HANDLE
The handle of the Temp-Table to remove from the context dataset
Top

SetCharacterContextProperty (character, character)

Purpose: Set's a Character property value in the eContextProperties table
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the property
pcPropertyValue CHARACTER
The value of the property
Top

SetDateContextProperty (character, date)

Purpose: Set's a Date property value in the eContextProperties table
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the property
pdaPropertyValue DATE
The value of the property
Top

SetDateTimeContextProperty (character, datetime)

Purpose: Set's a DateTime property value in the eContextProperties table
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the property
pdtPropertyValue DATETIME
The value of the property
Top

SetDecimalContextProperty (character, decimal)

Purpose: Set's a Decimal property value in the eContextProperties table
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the property
pdePropertyValue DECIMAL
The value of the property
Top

SetInt64ContextProperty (character, int64)

Purpose: Set's an Int64 property value in the eContextProperties table
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the property
piPropertyValue INT64
The value of the property
Top

SetIntegerContextProperty (character, integer)

Purpose: Set's an Integer property value in the eContextProperties table
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the property
piPropertyValue INTEGER
The value of the property
Top

SetLogicalContextProperty (character, logical)

Purpose: Set's a Logical property value in the eContextProperties table
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the property
plPropertyValue LOGICAL
The value of the property
Top

SetLongcharContextProperty (character, longchar)

Purpose: Set's a Longchar property value in the eContextProperties table
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the property
plcPropertyValue LONGCHAR
The value of the property
Top

SetRawContextProperty (character, raw)

Purpose: Set's Raw property value in the eContextProperties table
Notes:

Parameters:
pcPropertyName CHARACTER
The name of the property
praPropertyValue RAW
The value of the property


Constructor Detail
Top

ContextWrapperImpl ()

Purpose: Constructor for the ContextWrapper class
Notes:



Property Detail
Top

CHARACTER AppServerProVersion


Returns CHARACTER
Top

CHARACTER AppServerType


Returns CHARACTER
Top

RAW ClientPrincipal


Returns RAW
Top

CHARACTER ClientProVersion


Returns CHARACTER
Top

CHARACTER ClientType


Returns CHARACTER
Top

LOGICAL IsRestrictedTokensSet


Returns LOGICAL
Top

CHARACTER LanguageDisplayName


Returns CHARACTER
Top

CHARACTER LanguageIsoCode


Returns CHARACTER
Top

CHARACTER LanguageKey


Returns CHARACTER
Top

CHARACTER LoginCompanyKey


Returns CHARACTER
Top

CHARACTER LoginCompanyName


Returns CHARACTER
Top

CHARACTER LoginCompanyReferenceChar


Returns CHARACTER
Top

DECIMAL LoginCompanyReferenceDecimal


Returns DECIMAL
Top

INTEGER LoginCompanyReferenceInteger


Returns INTEGER
Top

CHARACTER LoginCompanyShortName


Returns CHARACTER
Top

DATE ProcessingDate


Returns DATE
Top

LONGCHAR RestrictedTokens


Returns LONGCHAR
Top

CHARACTER ServerCustomLogEntries


Returns CHARACTER
Top

LOGICAL ServerDebugMode


Returns LOGICAL
Top

CHARACTER ServerLogEntryTypes


Returns CHARACTER
Top

CHARACTER UserEmail


Returns CHARACTER
Top

CHARACTER UserFullName


Returns CHARACTER
Top

CHARACTER UserGroupKeys


Returns CHARACTER
Top

CHARACTER UserGroupNames


Returns CHARACTER
Top

CHARACTER UserKey


Returns CHARACTER
Top

CHARACTER UserName


Returns CHARACTER


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