class %DeepSee.UI.Dialog.CubeRegistryAdd
extends %DeepSee.UI.Dialog.standardDialog
This dialog allows the user to define a new Cube Registry Storage Class
This is a Zen Page class.
• parameter APPLYBUTTON = 0;
If true, then this dialog displays an Apply button.
• property activeRegistryExists
as %Boolean(ZENURL="ACTIVE") [ InitialExpression = 1 ];
• property msgActiveNeeded
as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("There is no active Cube Registry defined for this namespace.") ];
• property msgDefineRequest
as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Please define a new Cube Registry.") ];
• property msgRegistry
as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Please enter a valid Cube Registry Class Name.") ];
• method %OnAfterCreatePage()
as %Status
Be sure to do ##super() when overriding.
• method %OnGetSubtitle()
as %String
Get the (localized) subtitle string for the dialog.
This should be implemented in a subclass.
• method %OnGetTitle()
as %String
Get the (localized) title string for the dialog.
This should be implemented in a subclass.
• classmethod IsValidClassName(pClassName As %String)
as %Boolean
[ ZenMethod ]
Test if the given class name is valid.
• method SaveData(pClassName)
as %String
[ ZenMethod ]
Save general association data to server and compile.
• classmethod TrimSpaces(pName As %String)
as %String
[ ZenMethod ]
Remove spaces inside a string.
• method getDialogValue()
[ Language = javascript ]
Get the value that will be applied when the user presses the OK button.
This is implemented by subclasses.
• method nameChanged(registryName)
[ Language = javascript ]
Take steps to clean the user modified registryName.
• method 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.
• method onloadHandler()
[ Language = javascript ]
This client event, if present, is fired when the page is loaded.
Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.