Namespace: Consultingwerk.Web2.Services.SmartMenu
Class 
SmartMenuInterface Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Web2.Services.SmartMenu.ISmartMenuInterface

/* Mike Fechner, Consultingwerk Ltd. 13.09.2017
Preprocessor variables for SmartComponentLibrary, WinKit and SmartFramework
based on Consultingwerk/packages.i now



Top Method Summary
Options Name Purpose
# AddSmartMenuItems (SerializableMenuItem, character) Adds a menu item to the Items list
# Consultingwerk.Web2.SmartFramework.Menu.SerializableMenuItem GetMenuItem (character) Returs a menu structure's root Menu Item
+ Progress.Json.ObjectModel.JsonObject GetMenuStructure (character) Returs a menu structure
+ GetMenuStructure (character, longchar) Returs a menu structure

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


Method Detail
Top

PROTECTED AddSmartMenuItems (SerializableMenuItem, character)

Purpose: Adds a menu item to the Items list
Notes: Processes SmartMenu records recursively

Parameters:
poParentItem Consultingwerk.Web2.SmartFramework.Menu.SerializableMenuItem
The parent menu item to add new Menus to
pcParentGuid CHARACTER
The guid of the parent menu item
Top

PROTECTED Consultingwerk.Web2.SmartFramework.Menu.SerializableMenuItem GetMenuItem (character)

Purpose: Returs a menu structure's root Menu Item
Notes:

Parameters:
pcMenuStructureId CHARACTER
The ID (guid) of the menu structure to return (optional)
Returns Consultingwerk.Web2.SmartFramework.Menu.SerializableMenuItem
The JSON object representing the menu structure
Top

PUBLIC Progress.Json.ObjectModel.JsonObject GetMenuStructure (character)

Purpose: Returs a menu structure
Notes:

Parameters:
pcMenuStructureId CHARACTER
The ID (guid) of the menu structure to return (optional)
Returns Progress.Json.ObjectModel.JsonObject
The JSON object representing the menu structure
Top

PUBLIC GetMenuStructure (character, longchar)

Purpose: Returs a menu structure
Notes:

Parameters:
pcMenuStructureId CHARACTER
The ID (guid) of the menu structure to return (optional)
pcJSON LONGCHAR
The JSON string representing the menu structure


Constructor Detail
Top

PUBLIC SmartMenuInterface ()

Purpose: Constructor for the SmartMenuInterface class
Notes:



Temp-Table Detail


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:34:24