abstract class %CSP.UI.Portal.Sharding.Utils
extends %RegisteredObject
Utilities used by Management Portal Sharding.
parameter DOMAIN = "%Utility";
classmethod CheckJobStatus(PID)
as %ZEN.proxyObject
[ ZenMethod ]
Check job status for Assign, Reassign, Activate and Verify Shard.
classmethod GetNamespaceLists(Output valueList, Output displayList, Output defaultDM)
classmethod GetShardList(Output valueList, Output displayList)
classmethod IsShardingEnabled(Output pService)
as %Boolean
Returns current state of sharding. If pService("ECP") and pService("Sharding") both equal to 1, then sharding is enabled.
method 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.