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

File:SmartRoutesService
Purpose:Services providing routes definitions for the
Angular 2 routes
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Apr 07 21:45:52 CEST 2017
/* 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
# AddRoutesForMenuStructure (JsonArray, character) Add Routes for the given menu structure
+ Progress.Json.ObjectModel.JsonConstruct GetRoutes (character, character[]) Returns a JSON structure describing frontend routes
+ RegisterRouteProviderForModule (character, IRouteProvider) Registers a Route Provider for a Product Module

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


Method Detail
Top

PROTECTED AddRoutesForMenuStructure (JsonArray, character)

Purpose: Add Routes for the given menu structure
Notes:

Parameters:
poJsonArray Progress.Json.ObjectModel.JsonArray
The JsonArray to add routes to
pcMenuStructureId CHARACTER
The menu structure to add routes form
Top

PUBLIC Progress.Json.ObjectModel.JsonConstruct GetRoutes (character, character[])

Purpose: Returns a JSON structure describing frontend routes
Notes:

Parameters:
pcMenuStructureCode CHARACTER
Menu Structure code to add the routes for
pcModuleCode CHARACTER
The names of the product modules with the routes (Character EXTENT)
Returns Progress.Json.ObjectModel.JsonConstruct
The JsonConstruct containing the route definitions
Top

PUBLIC RegisterRouteProviderForModule (character, IRouteProvider)

Purpose: Registers a Route Provider for a Product Module
Notes:

Parameters:
pcProductModuleCode CHARACTER
The code of the product module
poRouteProvider Consultingwerk.SmartFramework.Menu.Routes.IRouteProvider
The route provider instance


Constructor Detail
Top

PUBLIC SmartRoutesService ()

Purpose: Constructor for the SmartRoutesService class
Notes:



Temp-Table Detail


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