Skip to main content

%DeepSee.UI.Dialog.PivotSave

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

This dialog lets the user save a DeepSee pivot definition.

Parameters

APPLYBUTTON

Parameter APPLYBUTTON = 0;

Properties

pivotName

Property pivotName As %ZEN.Datatype.string(ZENURL = "PIVOT");

Pivot name.

pivotDescription

Property pivotDescription As %ZEN.Datatype.string(MAXLEN = 32000, ZENURL = "DESC");

Pivot description.

pivotKeywords

Property pivotKeywords As %ZEN.Datatype.string(MAXLEN = 32000, ZENURL = "WORDS");

Pivot keywords.

pivotOwner

Property pivotOwner As %ZEN.Datatype.string(MAXLEN = 255, ZENURL = "OWNER");

Pivot owner.

pivotResource

Property pivotResource As %ZEN.Datatype.string(MAXLEN = 255, ZENURL = "RESOURCE");

Pivot resource.

pivotLocked

Property pivotLocked As %ZEN.Datatype.boolean(ZENURL = "LOCKED") [ InitialExpression = 0 ];

Pivot locked state.

pivotPublic

Property pivotPublic As %ZEN.Datatype.boolean(ZENURL = "PUBLIC") [ InitialExpression = 0 ];

Pivot public state.

pivotCategory

Property pivotCategory As %ZEN.Datatype.string(ZENURL = "CATEGORY");

Pivot category.

XDatas

Style

XData Style

dialogBody

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

Contents of the dialog body.

Methods

%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.

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.

ondialogStart

ClientMethod ondialogStart() [ Language = javascript ]

This callback, if defined, is called when the dialog page is loaded.

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status

PivotExists

ClassMethod PivotExists(pName As %String) As %Integer [ ZenMethod ]

Test if the given pivot already exists.

CanWriteToFolder

ClassMethod CanWriteToFolder(pFolderName As %String) As %Integer [ ZenMethod ]

Test if the user can write to the given folder.