Namespace: Consultingwerk.Windows.Framework
Interface 
IMenuStructureProvider Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.Windows.Framework.Menu.MenuStructureProvider

File:IMenuStructureProvide
Purpose:Interface for Service Provider Classes that can return
a menu structure
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Dec 07 17:34:44 CET 2012



Top Method Summary
Options Name Purpose
GetMenuItems (character[], table) Returns the Menu Items referenced by the givens keys
GetMenuStructure (IGetMenuStructureParameter, table) Returns the Menu Structure for a given root key
PreloadMenuStructures (IGetMenuStructureParameter[]) Preloads the Menu Structure for multiple root keys into the internal cache using a single AppServer request


Method Detail
Top

GetMenuItems (character[], table)

Purpose: Returns the Menu Items referenced by the givens keys
Notes: Used by the Menu Function LRU

Parameters:
pcKeys CHARACTER
The CHARACTER Array with the menu item keys
ttMenuStructure TEMP-TABLE ttMenuStructure
OUTOUT Temp-Table with the Menu Structure data
Top

GetMenuStructure (IGetMenuStructureParameter, table)

Purpose: Returns the Menu Structure for a given root key
Notes:

Parameters:
oGetMenuStructureParameter Consultingwerk.SmartFramework.IGetMenuStructureParameter
The IGetMenuStructureParameter with the data for the request
ttMenuStructure TEMP-TABLE ttMenuStructure
OUTOUT Temp-Table with the Menu Structure data
Top

PreloadMenuStructures (IGetMenuStructureParameter[])

Purpose: Preloads the Menu Structure for multiple root keys into the internal
cache using a single AppServer request
Notes: Bundling counterpart to GetMenuStructure (SCL-5367). The server
fans out over the requested root keys, so the complete main menu
can be rendered with a single round-trip instead of one round-trip
per top-level menu structure. After the call, subsequent
GetMenuStructure calls for the same parameters are served from the
cache. A failure to preload is not fatal - callers simply fall back
to the individual GetMenuStructure requests.

Parameters:
poParameters Consultingwerk.SmartFramework.IGetMenuStructureParameter
The array of IGetMenuStructureParameter requests to preload


Temp-Table Detail

Temp-Table ttMenuStructure

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       06.07.2026 14:40:23