Class Reference
IRIS for UNIX 2019.3
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [CSPX] >  [EnsConfigSVG]
Private  Storage   

class CSPX.EnsConfigSVG extends %CSP.Page

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 17


Summary

Methods
%ClassIsLatestVersion %ClassName %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %Extends %GetParameter %IsA
%New %OriginalNamespace %PackageName %SetModified
ConvertParameter Decrypt DrawGradient DrawZoom
Encrypt EscapeHTML EscapeURL GetBusinessSubtype
GetBusinessType GetConnections GetItemNames GetItemStyles
GetPolyPath HyperEventCall HyperEventHead Include
InsertHiddenField InsertHiddenFields IsPrivate LayoutItems
Link LocalizeContextMenu OnHTTPHeader OnPage
OnPageError OnPostHTTP OnPostHyperEvent OnPreHTTP
OnPreHyperEvent Page QuoteJS RewriteURL
ShowConnections ShowError ShowOperation ShowProcess
ShowService ShowShapes StartTimer StopTimer
ThrowError UnescapeHTML UnescapeURL


Parameters

• parameter BoxWidth = 220;
Width of each component box
• parameter CONTENTTYPE = "image/svg-xml";
Specifies the default content type for the page. This can be overriden using the <CSP:CONTENT TYPE=> tag, or by setting the %response.ContentType property in the OnPreHTTP method. The default value if this parameter is not set is text/html.
• parameter DOMAIN = "Ensemble";
Use our own domain for localization

Methods

• classmethod DrawGradient()
• classmethod DrawZoom()
• classmethod GetBusinessSubtype(pClass As %String) as %String
Returns the business sub type of the given class This depends on type.
For process could be: "router","bpl","component"
For service could be: "metric"
For operation could be: "workflow"
• classmethod GetBusinessType(pClass As %String) as %String
Returns the business type of the given class
• classmethod GetConnections(ByRef array As %String, class As %String, item As Ens.Config.Item)
For given business class, return an array of business classes it talks to (left to right)
• classmethod GetItemNames(item As Ens.Config.Item, Output pkg As %String, Output cls As %String)
Get class/package name for an item
• classmethod GetItemStyles(pIsRunning As %Boolean, item As Ens.Config.Item, Output statusClass As %String, Output rectClass As %String, Output hoodStyle As %String, Output ioStatusClass As %String)
Compute style names for item
• classmethod GetPolyPath(xIn As %Integer, yIn As %Integer, xOut As %Integer, yOut As %Integer)
Returns a path string that connects in to out...
• classmethod LayoutItems(production As Ens.Config.Production, ByRef shapes As %String, ByRef xref As %String, ByRef xpos As %Integer, ByRef ypos As %Integer, ByRef catList As %String)
Displays the current Business Items defined for this production
• classmethod LocalizeContextMenu(LBL)
• classmethod OnPage() as %Status
Event handler for PAGE event: this is invoked in order to generate the content of a csp page.
• classmethod OnPreHTTP() as %Boolean
Event handler for PreHTTP event: this is invoked before the HTTP headers for a CSP page have been sent. All changes to the %CSP.Response class, such as adding cookies, HTTP headers, setting the content type etc. must be made from within the OnPreHTTP() method. Also changes to the state of the CSP application such as changing %session.EndSession or %session.AppTimeout must be made within the OnPreHTTP() method. It is prefered that changes to %session.Preserve are also made in the OnPreHTTP() method as this is more efficient, although it is supported in any section of the page. Return 0 to prevent OnPage from being called.
• classmethod ShowConnections(production As Ens.Config.Production, ByRef shapes As %String, ByRef xref As %String, ByRef xpos As %Integer, ByRef ypos As %Integer)
Generate the connection lines between the components of this production
• classmethod ShowOperation(pIsRunning As %Boolean, ByRef pItemNo As %Integer, item As Ens.Config.Item, itemid As %String, xpos As %Integer, ypos As %Integer)
Displays a box for a Business Operation
• classmethod ShowProcess(pIsRunning As %Boolean, ByRef pItemNo As %Integer, item As Ens.Config.Item, itemid As %String, xpos As %Integer, ypos As %Integer)
Displays a box for a Business Process
• classmethod ShowService(pIsRunning As %Boolean, ByRef pItemNo As %Integer, item As Ens.Config.Item, itemid As %String, xpos As %Integer, ypos As %Integer)
Displays a box for a Business service
• classmethod ShowShapes(pIsRunning As %Boolean, ByRef shapes As %String)
Display all the shapes in the shapes array


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.