Top Method Summary
Options Name Purpose
LONGCHAR CacheDataWhenAvailable (longchar) Returns the value of the CacheData field when a record is available
CHARACTER CacheGuidWhenAvailable (character) Returns the value of the CacheGuid field when a record is available
CHARACTER CacheKeyWhenAvailable (character) Returns the value of the CacheKey field when a record is available
CHARACTER CacheScopeKeyWhenAvailable (character) Returns the value of the CacheScopeKey field when a record is available
Consultingwerk.SmartFramework.System.SmartCache.CacheScopeEnum CacheScopeWhenAvailable (CacheScopeEnum) Returns the value of the CacheScope field when a record is available
Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel CreateCurrentRecordView () Creates a new instance of the SmartCacheTableModel as a view model for the current record
Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel CreateView () Creates a new instance of the SmartCacheTableModel as a view model
DATETIME-TZ ExpiresAtWhenAvailable (datetime-tz) Returns the value of the ExpiresAt field when a record is available
Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel Fill (IFetchDataByKeyTableParameter) Fills the DatasetModel based on the given IFetchDataByKeyTableParameter
Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel Fill (SmartCacheQuery) Fills the TableModel or filters the View TableModel based on the given TableQuery
Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel Fill (SmartCacheQuery, OnNotAvailableEnum) Fills the TableModel or filters the View TableModel based on the given TableQuery
Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModelFilter ResetFilter () Resets the TableModel Filter
Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel SetBatching (logical) Sets the Batching property

Top Constructor Summary
Options Name Purpose
SmartCacheTableModel_Generated () Constructor for the SmartCacheTableModel_Generated class
SmartCacheTableModel_Generated (DatasetModel, handle) Constructor for the SmartCacheTableModel_Generated class
SmartCacheTableModel_Generated (handle) Constructor for the SmartCacheTableModel class
SmartCacheTableModel_Generated (handle, BufferModelGcModeEnum) Constructor for the SmartCacheTableModel class
SmartCacheTableModel_Generated (SmartCacheTableModel, handle) Constructor for the SmartCacheTableModel_Generated class

Top Property Summary
Options Name Purpose
LONGCHAR CacheData
CHARACTER CacheGuid
CHARACTER CacheKey
Consultingwerk.SmartFramework.System.SmartCache.CacheScopeEnum CacheScope
CHARACTER CacheScopeKey
DATETIME-TZ ExpiresAt
Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModelFilter Filter
Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModelSort SortBy


Method Detail
Top

LONGCHAR CacheDataWhenAvailable (longchar)

Purpose: Returns the value of the CacheData field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue LONGCHAR
The default value to return when no record is available
Returns LONGCHAR
The field value or the default value when no record is available
Top

CHARACTER CacheGuidWhenAvailable (character)

Purpose: Returns the value of the CacheGuid field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

CHARACTER CacheKeyWhenAvailable (character)

Purpose: Returns the value of the CacheKey field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

CHARACTER CacheScopeKeyWhenAvailable (character)

Purpose: Returns the value of the CacheScopeKey field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue CHARACTER
The default value to return when no record is available
Returns CHARACTER
The field value or the default value when no record is available
Top

Consultingwerk.SmartFramework.System.SmartCache.CacheScopeEnum CacheScopeWhenAvailable (CacheScopeEnum)

Purpose: Returns the value of the CacheScope field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue Consultingwerk.SmartFramework.System.SmartCache.CacheScopeEnum
The default value to return when no record is available
Returns Consultingwerk.SmartFramework.System.SmartCache.CacheScopeEnum
The field value or the default value when no record is available
Top

Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel CreateCurrentRecordView ()

Purpose: Creates a new instance of the SmartCacheTableModel as a view model for the current record
Notes:

Returns Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel
The SmartCacheTableModel as the view model
Top

Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel CreateView ()

Purpose: Creates a new instance of the SmartCacheTableModel as a view model
Notes:

Returns Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel
The SmartCacheTableModel as the view model
Top

DATETIME-TZ ExpiresAtWhenAvailable (datetime-tz)

Purpose: Returns the value of the ExpiresAt field when a record is available
Notes: Returns the default value, when no record

Parameters:
pDefaultValue DATETIME-TZ
The default value to return when no record is available
Returns DATETIME-TZ
The field value or the default value when no record is available
Top

Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel Fill (IFetchDataByKeyTableParameter)

Purpose: Fills the DatasetModel based on the given IFetchDataByKeyTableParameter
Notes: The Tables property of the IFetchDataByKeyTableParameter should match the
FillChildTables property of the TableModel instance

Parameters:
poFetchDataByKeyTableParameter Consultingwerk.OERA.IFetchDataByKeyTableParameter
The IFetchDataByKeyTableParameter to populate the DatasetModel with
Returns Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel
The reference to this TableModel instance
Top

Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel Fill (SmartCacheQuery)

Purpose: Fills the TableModel or filters the View TableModel based on the given
TableQuery
Notes:

Parameters:
poQuery Consultingwerk.SmartFramework.System.SmartCache.SmartCacheQuery
The reference to the SmartCacheTableModelQuery
Returns Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel
The reference to this TableModel instance
Top

Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel Fill (SmartCacheQuery, OnNotAvailableEnum)

Purpose: Fills the TableModel or filters the View TableModel based on the given
TableQuery
Notes:

Parameters:
poQuery Consultingwerk.SmartFramework.System.SmartCache.SmartCacheQuery
The reference to the SmartCacheTableModelQuery
poOnNotAvailable Consultingwerk.OERA.OnNotAvailableEnum
OnNotAvailableEnum member describing if the TableModel should throw an error on not available
Returns Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel
The reference to this TableModel instance
Top

Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModelFilter ResetFilter ()

Purpose: Resets the TableModel Filter
Notes: Strong-typed variant of the TableModelFilter:Reset() method

Returns Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModelFilter
The SmartCacheTableModelFilter instance
Top

Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel SetBatching (logical)

Purpose: Sets the Batching property
Notes: Fluent interface

Parameters:
plBatching LOGICAL
Logical value indicating if Batching should be used
Returns Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel
The reference to the &1 instance itself


Constructor Detail
Top

SmartCacheTableModel_Generated ()

Purpose: Constructor for the SmartCacheTableModel_Generated class
Notes: Creates a buffer model based on a dynamic internal temp-table in the model class

Top

SmartCacheTableModel_Generated (DatasetModel, handle)

Purpose: Constructor for the SmartCacheTableModel_Generated class
Notes:

Parameters:
poDatasetModel Consultingwerk.OERA.DatasetModel
The reference to the owning DatasetModel
phBufferHandle HANDLE
The handle of the ProDataset member buffer this TableModel represents
Top

SmartCacheTableModel_Generated (handle)

Purpose: Constructor for the SmartCacheTableModel class
Notes: Creates a buffer model

Parameters:
phBufferHandle HANDLE
The handle of the ProDataset member buffer this TableModel represents
Top

SmartCacheTableModel_Generated (handle, BufferModelGcModeEnum)

Purpose: Constructor for the SmartCacheTableModel class
Notes: Creates a buffer model

Parameters:
phBufferHandle HANDLE
The handle of the ProDataset member buffer this TableModel represents
poGcMode Consultingwerk.OERA.BufferModelGcModeEnum
The BufferModelGcModeEnum describing if the buffer or table handle should be deleted with the BufferModel instance
Top

SmartCacheTableModel_Generated (SmartCacheTableModel, handle)

Purpose: Constructor for the SmartCacheTableModel_Generated class
Notes: Creates a view model

Parameters:
poTableModel Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModel
The reference to SmartCacheTableModel on which this SmartCacheTableModel servers as a ViewModel
phBufferHandle HANDLE
The handle of the ProDataset member buffer this TableModel represents


Property Detail
Top

LONGCHAR CacheData


Returns LONGCHAR
Top

CHARACTER CacheGuid


Returns CHARACTER
Top

CHARACTER CacheKey


Returns CHARACTER
Top

Consultingwerk.SmartFramework.System.SmartCache.CacheScopeEnum CacheScope


Returns Consultingwerk.SmartFramework.System.SmartCache.CacheScopeEnum
Top

CHARACTER CacheScopeKey


Returns CHARACTER
Top

DATETIME-TZ ExpiresAt


Returns DATETIME-TZ
Top

Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModelFilter Filter


Returns Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModelFilter
Top

Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModelSort SortBy


Returns Consultingwerk.SmartFramework.System.SmartCache.SmartCacheTableModelSort


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:28:13