InterSystems IRIS Data Platform 2020.4 > Class Reference > %SYS namespace > %CSP.UI.Portal.Sharding.Utils

%CSP.UI.Portal.Sharding.Utils

abstract class %CSP.UI.Portal.Sharding.Utils extends %Library.RegisteredObject

Utilities used by Management Portal Sharding.

Property Inventory

Method Inventory

Parameters

parameter DOMAIN = %Utility;

Properties

property iTimeoutInterval as %ZEN.Datatype.integer [ InitialExpression = 500 ];
Property methods: iTimeoutIntervalDisplayToLogical(), iTimeoutIntervalGet(), iTimeoutIntervalIsValid(), iTimeoutIntervalLogicalToDisplay(), iTimeoutIntervalLogicalToOdbc(), iTimeoutIntervalNormalize(), iTimeoutIntervalSet()
property msgWait as %ZEN.Datatype.string;
Property methods: msgWaitDisplayToLogical(), msgWaitGet(), msgWaitIsValid(), msgWaitLogicalToDisplay(), msgWaitLogicalToOdbc(), msgWaitNormalize(), msgWaitSet()

Methods

classmethod CheckJobStatus(PID) as %ZEN.proxyObject [ Language = objectscript, ZenMethod ]
Check job status for Assign, Reassign, Activate and Verify Shard.
classmethod GetNamespaceLists(Output valueList, Output displayList, Output defaultDM) [ Language = objectscript ]
classmethod GetShardList(Output valueList, Output displayList) [ Language = objectscript ]
classmethod IsShardingEnabled(Output pService) as %Boolean [ Language = objectscript ]
Returns current state of sharding. If pService("ECP") and pService("Sharding") both equal to 1, then sharding is enabled.
clientmethod validateRequired(ctl, pass, type, checkRange, minVal, maxVal) as %Boolean [ Language = javascript ]
Validate the control value. pass is either "true" or "false" indicating if there is already a field that failed validation. Type is "N" for numeric or "S" for string. If numeric, if checkRange is true, we additionally validate that the number is between minVal and maxVal, inclusive.

Inherited Members

Inherited Methods

Subclasses

Feedback