Namespace: Consultingwerk.SmartFramework.Repository
Interface 
ISmartRepositoryCache Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.SmartFramework.Repository.SmartRepositoryCache

File:ISmartRepositoryCache
Purpose:Interface for services providing caching functionality
for the ISmartRepositoryService:FetchRepositoryObject
method
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Oct 03 00:31:36 CEST 2018



Top Method Summary
Options Name Purpose
+ ClearCache () Clears the Cache
+ HANDLE GetRepositoryData (FetchRepositoryObjectParameter) Retrieves repository data from the cache
+ StoreRepositoryData (FetchRepositoryObjectParameter, handle) Stores repository data in the cache


Method Detail
Top

PUBLIC ClearCache ()

Purpose: Clears the Cache
Notes:

Top

PUBLIC HANDLE GetRepositoryData (FetchRepositoryObjectParameter)

Purpose: Retrieves repository data from the cache
Notes: The caller is responsible for deleting the returned ProDataset

Parameters:
poFetchRepositoryObjectParameter Consultingwerk.SmartFramework.Repository.FetchRepositoryObjectParameter
The FetchRepositoryObjectParameter of the request
Returns HANDLE
The dataset with the repository data
Top

PUBLIC StoreRepositoryData (FetchRepositoryObjectParameter, handle)

Purpose: Stores repository data in the cache
Notes: Creates a copy of the passed in ProDataset

Parameters:
poFetchRepositoryObjectParameter Consultingwerk.SmartFramework.Repository.FetchRepositoryObjectParameter
The FetchRepositoryObjectParameter of the request
phDataset HANDLE
The dataset with the repository data


©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:44:55