Skip to main content

%DeepSee.UI.Dialog.SubjectAreaAddItem

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

This dialog lets you select an item (such as a dimension) from base cube and add to a DeepSee subject area definition.
Can always add a new Measure;dataDimension;timeDimension
But if you want to add a hierarchy, you need to first click a dimension or hierarchy,
and if you want to add a new level, you need to first click a hierarchy or level;

Parameters

CSSINCLUDES

Parameter CSSINCLUDES = "/csp/sys/intersystems.css";

APPLYBUTTON

Parameter APPLYBUTTON = 0;

Properties

subjectAreaName

Property subjectAreaName As %ZEN.Datatype.string(ZENURL = "CUBE");

Cube name.

baseCube

Property baseCube As %ZEN.Datatype.string(ZENURL = "BASECUBE");

Base Cube name.

itemType

Property itemType As %ZEN.Datatype.string;

Item type.

selectedClass

Property selectedClass As %ZEN.Datatype.string(ZENURL = "SELECTEDCLASS");

SELECTEDCLASS

numRows

Property numRows As %ZEN.Datatype.integer [ InitialExpression = "0" ];

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.

changeType

ClientMethod changeType() [ Language = javascript ]

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.

timeout

ClientMethod timeout() [ Language = javascript ]

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status

onloadHandler

ClientMethod onloadHandler() [ Language = javascript ]

This client event, if present, is fired when the page is loaded.

checkSelected

ClientMethod checkSelected() [ Language = javascript ]

For each item that is already on the Subject Area Architect, make it selected an disable the checkbox
This method is called each time changeType is accessed.

markSelected

ClientMethod markSelected(item) [ Language = javascript ]

Check measure or listing to see if it is already selected. If yes, make it selected an disable the checkbox

markDimSelected

ClientMethod markDimSelected(dim) [ Language = javascript ]

Check Dimension to see if it is already selected. If yes, make it selected an disable the checkbox

markHierSelected

ClientMethod markHierSelected(dim, hier) [ Language = javascript ]

Check Dimension and Hier to see if it is already selected. If yes, make it selected an disable the checkbox

markLevelSelected

ClientMethod markLevelSelected(dim, hier, level) [ Language = javascript ]

Check Dimension&Hier&Level to see if it is already selected. If yes, make it selected an disable the checkbox

toggleCheckboxes

ClientMethod toggleCheckboxes() [ Language = javascript ]

Select/Unselect all checkboxes

getCBValues

ClientMethod getCBValues() [ Language = javascript ]

DrawTable

Method DrawTable(seed As %String) As %Status

Start action and server method will pump out result.

DrawMeasures

Method DrawMeasures(baseCube As %String) As %Integer

DrawDimensions

Method DrawDimensions(baseCube As %String) As %Integer

DrawListings

Method DrawListings(baseCube As %String) As %Integer