Skip to main content

%DeepSee.UI.Dialog.RepairBuild

class %DeepSee.UI.Dialog.RepairBuild extends %DeepSee.UI.Dialog.standardDialog

This extends the build dialog to build the set of dependent cubes needed to "Repair" a given cube's integrity

Property Inventory

Method Inventory

Parameters

parameter APPLYBUTTON = 0;
Inherited description: If true, then this dialog displays an Apply button.

Properties

property cubeList as %ZEN.Datatype.string (ZENURL = "CUBELIST");
Cube name.
Property methods: cubeListDisplayToLogical(), cubeListGet(), cubeListIsValid(), cubeListLogicalToDisplay(), cubeListLogicalToOdbc(), cubeListNormalize(), cubeListSet()
property group as %ZEN.Datatype.string (ZENURL = "GROUP");
Group Name, for repair and group modes we can use "pseudo group" 1
Property methods: groupDisplayToLogical(), groupGet(), groupIsValid(), groupLogicalToDisplay(), groupLogicalToOdbc(), groupNormalize(), groupSet()
property mode as %ZEN.Datatype.string (ZENURL = "MODE");
Mode options are:
all - Initiate a full build of all groups in the registry
group - Inititate a full build of a single group in the registry
repair - Inititate a build of a single cube, along with the minimal set of cubes dependent upon it.
Property methods: modeDisplayToLogical(), modeGet(), modeIsValid(), modeLogicalToDisplay(), modeLogicalToOdbc(), modeNormalize(), modeSet()
property trackingId as %ZEN.Datatype.string;
Id used to track progress.
Property methods: trackingIdDisplayToLogical(), trackingIdGet(), trackingIdIsValid(), trackingIdLogicalToDisplay(), trackingIdLogicalToOdbc(), trackingIdNormalize(), trackingIdSet()

Methods

classmethod %LockWithError(pError) as %Status
Lock the Build List button and display an error indicating there is a problem.
method %OnAfterCreatePage() as %Status
Inherited description: 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 BuildAllRegisteredGroups() as %String [ ZenMethod ]
classmethod BuildOneRegisteredGroup(pGroupName As %String) as %String [ ZenMethod ]
classmethod CheckCompletedStatus(pTrackingId As %String, pCubeName As %String) as %String [ ZenMethod ]
Get the current status of the background task.
classmethod ClearTracking(pTrackingId As %String) [ ZenMethod ]
classmethod RepairBuild(pCubeName As %String) as %String [ ZenMethod ]
Start the repair build process in the background Return the ID of the child process for tracking Start the build cube process in the background. Return the tracking id.
clientmethod cleanup() [ Language = javascript ]
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.
clientmethod startBuild() [ Language = javascript ]
Start the index build.
clientmethod updateStatus(cubeName, final) [ Language = javascript ]
Update the status area.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab