Skip to main content

EnsPortal.Dialog.NewAgent

class EnsPortal.Dialog.NewAgent extends EnsPortal.Dialog.standardDialog

This dialog lets the user create a new Skorpius agent.

Method Inventory

Parameters

parameter APPLYBUTTON = 0;
Inherited description: If true, then this dialog displays an Apply button.
parameter RESOURCE = %Ens_Agents:WRITE;
User needs WRITE permissions on the %Ens_Agents resource to view this page.

Methods

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.
method IsNameDuplicate(pName As %String) as %Boolean [ ZenMethod ]
classmethod IsNameValid(pName As %String) as %Boolean [ ZenMethod ]
Test if the given name is valid.
clientmethod ctrlKeyDown(evt, escOnly) [ Language = javascript ]
Key handler for value edit control.
clientmethod getDialogValue() [ Language = javascript ]
Inherited description: Get the value that will be applied when the user presses the OK button. This is implemented by subclasses.
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.
clientmethod ondialogStart() [ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.
method saveAgent(name As %String, desc As %String, config As %String, timeout As %String, notes As %String, poll As %String, connected As %String) as %String [ ZenMethod ]

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab