Namespace: Consultingwerk.SmartFramework.Menu.Routes
Class 
SmartDynamicRouteProvider Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.SmartFramework.Menu.Routes.IDynamicRouteProvider

File:SmartDynamicRouteProvider
Purpose:Provides Routes based on the SmartDB SmartRoute table
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Feb 17 06:12:39 CET 2018



Top Method Summary
Options Name Purpose
# Progress.Json.ObjectModel.JsonObject FindParentRoute (JsonArray, character) Searches for a parent (or nested parent) for the given route
+ Consultingwerk.SmartFramework.Menu.Routes.ListRouteDefinition GetRoutes (JsonArray, character) Returns the list of route definition instances
# CHARACTER RoutePath (JsonArray, JsonObject, character)


Method Detail
Top

PROTECTED Progress.Json.ObjectModel.JsonObject FindParentRoute (JsonArray, character)

Purpose: Searches for a parent (or nested parent) for the given route
Notes:

Parameters:
poRoutes Progress.Json.ObjectModel.JsonArray
The JsonArray with the current routes
pcRoutePath CHARACTER
The route path to locate
Returns Progress.Json.ObjectModel.JsonObject
The JsonObject representing the parent Route
Top

PUBLIC Consultingwerk.SmartFramework.Menu.Routes.ListRouteDefinition GetRoutes (JsonArray, character)

Purpose: Returns the list of route definition instances
Notes:

Parameters:
poRoutes Progress.Json.ObjectModel.JsonArray
The JSON array with the route definitions so far
pcModuleCode CHARACTER
The module code for wich to return the routes
Returns Consultingwerk.SmartFramework.Menu.Routes.ListRouteDefinition
The list of RouteDefinition instances
Top

PROTECTED CHARACTER RoutePath (JsonArray, JsonObject, character)

Purpose:
Notes:

Parameters:
poRoutes Progress.Json.ObjectModel.JsonArray
The JsonArray with all routes
poRoute Progress.Json.ObjectModel.JsonObject
The JsonObject with the route to locate
pcParentPath CHARACTER
The parent route path
Returns CHARACTER
The path to that route


Temp-Table Detail


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