Skip to main content

HS.UI.Installer.Activate

class HS.UI.Installer.Activate extends HS.UI.Base, %CSP.Portal.standardDialog

Activate a configuration.

Property Inventory

Method Inventory

Parameters

parameter PAGENAME = Activate Configuration;
Inherited description: Optional. This is the display name used for this page. If not provided, the class name is used.
parameter RESOURCE = %HSAdmin_InstallationManagement;
Security requirement

Properties

property msgactivate as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Are you sure you want to proceed with re-activating this configuration?") ];
Property methods: msgactivateDisplayToLogical(), msgactivateGet(), msgactivateIsValid(), msgactivateLogicalToDisplay(), msgactivateLogicalToOdbc(), msgactivateNormalize(), msgactivateSet()

Methods

method %OnAfterCreatePage() as %Status
Inherited description: Be sure to do ##super() when overriding.
classmethod %OnFinishBackgroundTask(pTaskID As %String)
This server-side callback method is called whenever the client calls to monitor the current background task and the task is complete. Typically a subclass uses this to send back JavaScript to update the page.
method %OnGetSubtitle() as %String
Inherited description: Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.
method %OnGetTitle() as %String
Inherited description: Get the (localized) title string for the dialog. This should be implemented in a subclass.
classmethod %OnMonitorBackgroundTask(pTaskID As %Library.String, pStatus As %Library.String, pPercentComplete As %Library.Float)
This server-side callback method is called whenever the client calls to monitor the current background task. Typically a subclass uses this to send back JavaScript to update a progress bar.
classmethod RunBackgroundTask(pID As %Integer) [ ZenMethod ]
classmethod StartActivation(ID)
This task is run in the background.
clientmethod backgroundTask() [ Language = javascript ]
clientmethod closePopup() [ Language = javascript ]
User clicked the Close button. If user has run the Activate then signal to refresh table. Otherwise simply cancel window. If user closed window before the job is finished then the table won't have the most up-to-date info. i.e. the Activated flag may still be 0.
clientmethod ontaskHandler(taskInfo) [ Language = javascript ]
Client-side callback to update task status.
taskInfo is an associative array (object) containing task status indexed by taskid.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab