persistent class %ZAPM.ext.commands
extends %Persistent
• property Command
as %String(MAXLEN="");
Command
• property CommandName
as %String(MAXLEN="");
Commands name
• property Description
as %String(MAXLEN="");
Description
• property Namespace
as %String(MAXLEN="");
Namespace
• property Partition
as %String(MAXLEN="");
Partition
• property Prompt
as %String(MAXLEN="");
Prompt (yes, no, never run - show only)
• property TimeStamp
as %TimeStamp [ InitialExpression = $zdt($h, 3, 1) ];
Date and time
• classmethod AddUpdate(Command As %String = "", CommandName="", Partition="", moderun="", Description="", Namespace="")
Add new command
write $System.Status.GetErrorText(##class(%ZAPM.ext.commands).AddUpdate("new $namespace zn ""zpmshow"" do ^zpmshow","zshow","zpm","n","Show a zpm modules with extention description"))
• classmethod Delete(Command)
Delete command
write $System.Status.GetErrorText(##class(%ZAPM.ext.commands).Delete("job"))
• classmethod GetCmd(Command="", CommandName="", cmd, id)
as %Status
Get command
do ##class(%ZAPM.ext.commands).GetCmd("do ##class(%ZAPM.ext.zpm).extcmd(%cmd)","help",.cmd,.id)
• classmethod GetList(ByRef list, Command As %String = "", CommandName="", Partition="", Prompt="", Description="", Namespace="")
Get List commands
do ##class(%ZAPM.ext.commands).GetList(.list)
do $CLASSMETHOD("%ZAPM.ext.commands", "%KillExtent")
•index (idxCommand on Command);
•index (idxCommandName on CommandName);
Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.