%CSP.UI.Portal.Sharding.Configuration

class %CSP.UI.Portal.Sharding.Configuration extends %CSP.UI.Portal.Template, %CSP.UI.Portal.Sharding.Utils

System Management Portal - Sharding Configuration

Property Inventory

Method Inventory

Parameters

parameter AUTONS = 0;
Do not allow this page to auto-switch namespaces if $NAMESPACE is specified
parameter CSPURL = /csp/sys/mgr/%CSP.UI.Portal.Sharding.Configuration.zen;
Inherited description: This parameter is used to make sure that if multiple CSP applications are mapped to the same namespace that the CSP engine can correctly identify which class corresponds with which URL. If 'LockCSPName' is true (the default, defined in the CSP application) then you can only access this page if the url exactly matches this 'CSPURL'. You can set this parameter to "" if you wish to disable this check for this class. This check is applied for all CSP urls (cls/csp/zen).
If this page was compiled from a .csp file, then this parameter is automatically set to contain the url of this file used for compilation.
parameter HELPADDRESS = Home,Configuration,Sharding Configuration;
Inherited description: Each SMP page should set this link which points to the documentation anchor name.
parameter PAGENAME = Sharding Configuration;
Displayed name of this page.
parameter RESOURCE = %Admin_Manage;
Security requirement

Properties

property ActivateShardingPage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/sys/mgr/%CSP.UI.Portal.Sharding.Dialog.Activate.zen",,1) ];
Property methods: ActivateShardingPageDisplayToLogical(), ActivateShardingPageGet(), ActivateShardingPageIsValid(), ActivateShardingPageLogicalToDisplay(), ActivateShardingPageLogicalToOdbc(), ActivateShardingPageNormalize(), ActivateShardingPageSet()
property AdvancedSettingsPage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/sys/mgr/%CSP.UI.Portal.Sharding.Dialog.Settings.zen",,1) ];
Property methods: AdvancedSettingsPageDisplayToLogical(), AdvancedSettingsPageGet(), AdvancedSettingsPageIsValid(), AdvancedSettingsPageLogicalToDisplay(), AdvancedSettingsPageLogicalToOdbc(), AdvancedSettingsPageNormalize(), AdvancedSettingsPageSet()
property AllowAssign as %Boolean [ InitialExpression = 1 ];
Allow Assign if the current namespace is a master or it is not a shard
Property methods: AllowAssignDisplayToLogical(), AllowAssignGet(), AllowAssignIsValid(), AllowAssignLogicalToDisplay(), AllowAssignLogicalToXSD(), AllowAssignNormalize(), AllowAssignSet(), AllowAssignXSDToLogical()
property AllowVerify as %Boolean [ InitialExpression = 1 ];
Allow Verify if the current namespace a master
Property methods: AllowVerifyDisplayToLogical(), AllowVerifyGet(), AllowVerifyIsValid(), AllowVerifyLogicalToDisplay(), AllowVerifyLogicalToXSD(), AllowVerifyNormalize(), AllowVerifySet(), AllowVerifyXSDToLogical()
property AssignShardingPage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/sys/mgr/%CSP.UI.Portal.Sharding.Dialog.Assign.zen",,1) ];
Property methods: AssignShardingPageDisplayToLogical(), AssignShardingPageGet(), AssignShardingPageIsValid(), AssignShardingPageLogicalToDisplay(), AssignShardingPageLogicalToOdbc(), AssignShardingPageNormalize(), AssignShardingPageSet()
property EnableShardingPage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/sys/mgr/%CSP.UI.Portal.Sharding.Dialog.Enable.zen",,1) ];
Property methods: EnableShardingPageDisplayToLogical(), EnableShardingPageGet(), EnableShardingPageIsValid(), EnableShardingPageLogicalToDisplay(), EnableShardingPageLogicalToOdbc(), EnableShardingPageNormalize(), EnableShardingPageSet()
property HasSecPriviledge as %Boolean [ InitialExpression = $System.Security.Check("%Admin_Secure","USE") ];
Whether user can use Enable Sharding
Property methods: HasSecPriviledgeDisplayToLogical(), HasSecPriviledgeGet(), HasSecPriviledgeIsValid(), HasSecPriviledgeLogicalToDisplay(), HasSecPriviledgeLogicalToXSD(), HasSecPriviledgeNormalize(), HasSecPriviledgeSet(), HasSecPriviledgeXSDToLogical()
property HasShardingLicense as %Boolean [ InitialExpression = 0 ];
Whether Sharding license is present
Property methods: HasShardingLicenseDisplayToLogical(), HasShardingLicenseGet(), HasShardingLicenseIsValid(), HasShardingLicenseLogicalToDisplay(), HasShardingLicenseLogicalToXSD(), HasShardingLicenseNormalize(), HasShardingLicenseSet(), HasShardingLicenseXSDToLogical()
property InitializePage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/sys/mgr/%CSP.UI.Portal.Sharding.Dialog.Initialize.zen",,1) ];
Property methods: InitializePageDisplayToLogical(), InitializePageGet(), InitializePageIsValid(), InitializePageLogicalToDisplay(), InitializePageLogicalToOdbc(), InitializePageNormalize(), InitializePageSet()
property IsEditForm as %Boolean [ InitialExpression = 0 ];
Do not use standare Save/Cancel buttons
Property methods: IsEditFormDisplayToLogical(), IsEditFormGet(), IsEditFormIsValid(), IsEditFormLogicalToDisplay(), IsEditFormLogicalToXSD(), IsEditFormNormalize(), IsEditFormSet(), IsEditFormXSDToLogical()
property IsShardingEnabled as %Boolean [ InitialExpression = 0 ];
Whether the current InterSystems IRIS instance is enabled to act as a shard master or shard server.
If it is not enabled, then this page will allow user to enable it.
Once it is enabled, then user may be able to Add/Verify/Activate shard for namespace
Property methods: IsShardingEnabled(), IsShardingEnabledDisplayToLogical(), IsShardingEnabledGet(), IsShardingEnabledIsValid(), IsShardingEnabledLogicalToDisplay(), IsShardingEnabledLogicalToXSD(), IsShardingEnabledNormalize(), IsShardingEnabledSet(), IsShardingEnabledXSDToLogical()
property MASTERNAMESPACE as %String (ZENURL = "$NAMESPACE");
Property methods: MASTERNAMESPACEDisplayToLogical(), MASTERNAMESPACEGet(), MASTERNAMESPACEIsValid(), MASTERNAMESPACELogicalToDisplay(), MASTERNAMESPACELogicalToOdbc(), MASTERNAMESPACENormalize(), MASTERNAMESPACESet()
property NodeLevelCluster as %String;
Property methods: NodeLevelClusterDisplayToLogical(), NodeLevelClusterGet(), NodeLevelClusterIsValid(), NodeLevelClusterLogicalToDisplay(), NodeLevelClusterLogicalToOdbc(), NodeLevelClusterNormalize(), NodeLevelClusterSet()
property NodeLevelPage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/sys/mgr/%25CSP.UI.Portal.Sharding.NodelevelConfig.zen",,1) ];
Property methods: NodeLevelPageDisplayToLogical(), NodeLevelPageGet(), NodeLevelPageIsValid(), NodeLevelPageLogicalToDisplay(), NodeLevelPageLogicalToOdbc(), NodeLevelPageNormalize(), NodeLevelPageSet()
property PageMessage as %String;
Property methods: PageMessageDisplayToLogical(), PageMessageGet(), PageMessageIsValid(), PageMessageLogicalToDisplay(), PageMessageLogicalToOdbc(), PageMessageNormalize(), PageMessageSet()
property RebalanceShardingPage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/sys/mgr/%CSP.UI.Portal.Sharding.Dialog.Rebalance.zen",,1) ];
Property methods: RebalanceShardingPageDisplayToLogical(), RebalanceShardingPageGet(), RebalanceShardingPageIsValid(), RebalanceShardingPageLogicalToDisplay(), RebalanceShardingPageLogicalToOdbc(), RebalanceShardingPageNormalize(), RebalanceShardingPageSet()
property ShardingPage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/sys/mgr/%25CSP.UI.Portal.Sharding.Configuration.zen",,1) ];
Property methods: ShardingPageDisplayToLogical(), ShardingPageGet(), ShardingPageIsValid(), ShardingPageLogicalToDisplay(), ShardingPageLogicalToOdbc(), ShardingPageNormalize(), ShardingPageSet()
property StartEnable as %String;
status after EnableSharding is executed. It is either 1 or tSC. If it is 1 then we display restart instance message.
Property methods: StartEnableDisplayToLogical(), StartEnableGet(), StartEnableIsValid(), StartEnableLogicalToDisplay(), StartEnableLogicalToOdbc(), StartEnableNormalize(), StartEnableSet()
property TableDetailsPage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/sys/mgr/%CSP.UI.Portal.Sharding.Dialog.TableDetails.zen",,1) ];
Property methods: TableDetailsPageDisplayToLogical(), TableDetailsPageGet(), TableDetailsPageIsValid(), TableDetailsPageLogicalToDisplay(), TableDetailsPageLogicalToOdbc(), TableDetailsPageNormalize(), TableDetailsPageSet()
property VerifyShardingPage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/sys/mgr/%CSP.UI.Portal.Sharding.Dialog.Verify.zen",,1) ];
Property methods: VerifyShardingPageDisplayToLogical(), VerifyShardingPageGet(), VerifyShardingPageIsValid(), VerifyShardingPageLogicalToDisplay(), VerifyShardingPageLogicalToOdbc(), VerifyShardingPageNormalize(), VerifyShardingPageSet()
property warningImage as %ZEN.Datatype.string [ InitialExpression = ..Link("/csp/broker/images/warning.png") ];
Property methods: warningImageDisplayToLogical(), warningImageGet(), warningImageIsValid(), warningImageLogicalToDisplay(), warningImageLogicalToOdbc(), warningImageNormalize(), warningImageSet()

Methods

method %OnAfterCreatePage() as %Status [ Language = objectscript ]
Inherited description: Be sure to do ##super() when overriding.
method %OnGetPageName() as %String [ Language = objectscript ]
Inherited description: Get the (localized) name of the page. This should be implemented in a subclass.
classmethod Deassign(MASTERNAMESPACE, ShardDatabase) as %ZEN.proxyObject [ Language = objectscript, ZenMethod ]
method DrawNamespaceHint(seed) as %Status [ Language = objectscript ]
classmethod GetShardingRole(pNamespace) as %String [ Language = objectscript, ZenMethod ]
method HideComponent(id As %String) [ Language = objectscript ]
method OnGetRibbonInfo(Output pDisplay As %Boolean, Output pViewIcons As %List, Output pSortOptions As %List, Output pSearchBox As %Boolean, Output pRibbonTitle As %String, Output pCommands As %List) as %Status [ Language = objectscript ]
Get information to display in the ribbon bar.
classmethod SaveOption(MASTERNAMESPACE, OptionName, OptionValue) as %ZEN.proxyObject [ Language = objectscript, ZenMethod ]
classmethod StartActivate(pMASTERNAMESPACE) as %ZEN.proxyObject [ Language = objectscript, ZenMethod ]
Start verifying shards
classmethod StartVerify(pMASTERNAMESPACE) as %ZEN.proxyObject [ Language = objectscript, ZenMethod ]
Start verifying shards
clientmethod checkNode() [ Language = javascript ]
clientmethod doActivate() [ Language = javascript ]
clientmethod doCancel() [ Language = javascript ]
This method resets the modified indicator and return user to the parent page.
clientmethod doDeassign(SHARD) [ Language = javascript ]
clientmethod doEdit(SHARD) [ Language = javascript ]
Assign new shard or edit existing shard
clientmethod doNew() [ Language = javascript ]
clientmethod doRebalance() [ Language = javascript ]
clientmethod doRunQueries() [ Language = javascript ]
User changed RunQueriesAsync. Display appropriate hint.
clientmethod doSettings() [ Language = javascript ]
clientmethod doTableDetails(tableName, shardKey) [ Language = javascript ]
clientmethod doVerify(SHARD) [ Language = javascript ]
clientmethod enableButtons(flag) [ Language = javascript ]
User hit Verify button (flag=false): disable currently enabled buttons When verify finishes (flag=true): enable what needs enabled
clientmethod onPopupAction(popupName, action, value) [ Language = javascript ]
This client event, if present, is fired when the a popup page launched from this page fires an action.
clientmethod onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
clientmethod onresizeHandler() [ Language = javascript ]
This client event, if present, is fired when the page is resized.
clientmethod setMaster() [ Language = javascript ]
User changed master namespace. Reload page with new namespace.
clientmethod tabChanged(index) [ Language = javascript ]
clientmethod timeout() [ Language = javascript ]

Inherited Members

Inherited Properties

Inherited Methods

Feedback