Skip to main content

%DeepSee.UI.Dialog.CubeRegistryAdd

Class %DeepSee.UI.Dialog.CubeRegistryAdd Extends %DeepSee.UI.Dialog.standardDialog [ System = 4 ]

This dialog allows the user to define a new Cube Registry Storage Class

Parameters

APPLYBUTTON

Parameter APPLYBUTTON = 0;

Properties

msgRegistry

Property msgRegistry As %ZEN.Datatype.caption [ InitialExpression = {$$$TextJS("Please enter a valid Cube Registry Class Name.")} ];

msgActiveNeeded

Property msgActiveNeeded As %ZEN.Datatype.caption [ InitialExpression = {$$$TextJS("There is no active Cube Registry defined for this namespace.")} ];

msgDefineRequest

Property msgDefineRequest As %ZEN.Datatype.caption [ InitialExpression = {$$$TextJS("Please define a new Cube Registry.")} ];

activeRegistryExists

Property activeRegistryExists As %Boolean(ZENURL = "ACTIVE") [ InitialExpression = 1 ];

XDatas

Style

XData Style

dialogBody

XData dialogBody [ XMLNamespace = "http://www.intersystems.com/zen" ]

Contents of the dialog body.

Methods

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status

%OnGetTitle

Method %OnGetTitle() As %String

Get the (localized) title string for the dialog. This should be implemented in a subclass.

%OnGetSubtitle

Method %OnGetSubtitle() As %String

Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.

nameChanged

ClientMethod nameChanged(registryName) [ Language = javascript ]

Take steps to clean the user modified registryName.

getDialogValue

ClientMethod getDialogValue() [ Language = javascript ]

ondialogFinish

ClientMethod ondialogFinish(action) As %Boolean [ Language = javascript ]

This callback, if defined, is called when the user presses the OK or Apply action buttons. If this returns false, then the action is cancelled.

IsValidClassName

ClassMethod IsValidClassName(pClassName As %String) As %Boolean [ ZenMethod ]

Test if the given class name is valid.

TrimSpaces

ClassMethod TrimSpaces(pName As %String) As %String [ ZenMethod ]

Remove spaces inside a string.

SaveData

Method SaveData(pClassName) As %String [ ZenMethod ]

Save general association data to server and compile.

onloadHandler

ClientMethod onloadHandler() [ Language = javascript ]

This client event, if present, is fired when the page is loaded.