Namespace: Consultingwerk.OERA.JsdoGenericService
Class 
CatalogCacheService Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.OERA.JsdoGenericService.ICatalogCacheService

File:CatalogCacheService
Purpose:Services providing cache for Business Entity
and Business Task Catalog's
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue Jan 17 09:27:05 CET 2017
Notes:This is an optional service. When loaded, the CatalogWebHandler
will query the cache first for a Catalog JSON object
The "JsonCatalogCacheMaxAge" setting in the .restapplicationsetting
configuration file controls the maximum age of the cache
in seconds
Supports the CatalogCacheService custom log entry type



Top Method Summary
Options Name Purpose
+ Progress.Json.ObjectModel.JsonObject GetCachedCatalog (character, character) Returns the Cached Catalog Data
+ StoreCatalogInCache (character, character, JsonObject) Stores the catalog data in the cache

Top Constructor Summary
Options Name Purpose
+ CatalogCacheService () Constructor for the CatalogCacheService class


Method Detail
Top

PUBLIC Progress.Json.ObjectModel.JsonObject GetCachedCatalog (character, character)

Purpose: Returns the Cached Catalog Data
Notes: Returns ? when no cached catalog is present

Parameters:
pcBusinessServiceName CHARACTER
The name of the cached business service
pcParameters CHARACTER
Additional parameters for the Catalog (e.g. count=invoke)
Returns Progress.Json.ObjectModel.JsonObject
The JsonObject with the cached catalog data
Top

PUBLIC StoreCatalogInCache (character, character, JsonObject)

Purpose: Stores the catalog data in the cache
Notes:

Parameters:
pcBusinessServiceName CHARACTER
The name of the cached business service
pcParameters CHARACTER
Additional parameters for the Catalog (e.g. count=invoke)
poJsonObject Progress.Json.ObjectModel.JsonObject
The JsonObject with the cached catalog data


Constructor Detail
Top

PUBLIC CatalogCacheService ()

Purpose: Constructor for the CatalogCacheService class
Notes:



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