Namespace: Consultingwerk.Framework.Server
Class 
JsonContextDatasetStore Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Framework.Server.IContextDatasetStore

File:ContextDatasetStore
Purpose:Service that provides persistent storage of the Context
Dataset between REST requests.
Description:This implementation is part of the SmartFramework and
relies on the SmartDB database
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Feb 25 08:10:34 CET 2016
Notes:Supports the ContextDatasetStore custom log entry type
SCL-2840: We have added a new configuration setting
"RereadSmartContextStoreOnInitialization" which allows to
control the number of attempts to read the SmartContextStore
when the SessionID is already valid, but no data is stored
yet. We'll use a 1/10 of a second between re-read attempts
The "ThrowWhenStoredContextIsNotAvailable" setting (logical)
allows to control if we're throwing an exception when the
context record contains no valid context dataset



Top Method Summary
Options Name Purpose
+ LOGICAL RestoreSessionContext (handle) Restores the Session Context
+ StoreSessionContext (handle) Stores the Session Context

Top Constructor Summary
Options Name Purpose
+ JsonContextDatasetStore () Constructor of the ContextDatasetStore class


Method Detail
Top

PUBLIC LOGICAL RestoreSessionContext (handle)

Purpose: Restores the Session Context
Notes:

Parameters:
phPrincipal HANDLE
The CLIENT-PRINCIPAL valid for the current request
Returns LOGICAL
Logical value indicating if the session context was restored
Top

PUBLIC StoreSessionContext (handle)

Purpose: Stores the Session Context
Notes:

Parameters:
phPrincipal HANDLE
The CLIENT-PRINCIPAL valid for the current request


Constructor Detail
Top

PUBLIC JsonContextDatasetStore ()

Purpose: Constructor of the ContextDatasetStore class
Notes:



©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 12:59:12