Skip to main content

HS.Director

class HS.Director extends %Library.RegisteredObject

Class to manage HealthShare

Method Inventory

Methods

classmethod CheckNS(pNS, pComponent As HS.Util.Installer.ConfigItem) as %Boolean
classmethod Deactivate(pComponent As %String = $namespace) as %Status
Set the component as not activated, but do not stop it if running
classmethod DeactivateAll() as %Status
Deactivate all HealthShare namespaces where the db version does not match installed version or there are upgrades steps to be run (for HS or any product)
classmethod Disable(pComponent As %String = $namespace, pDisable As %Boolean = 1) as %Status
Set the component as Disabled, but do not stop it if running
classmethod Enable(pComponent As %String = $namespace, pEnable As %Boolean = 1) as %Status
Set the component as not disabled, but do not start it here
classmethod FixHSPILIB()
Correct ^HS.Upgrade global for HSPILIB product for 15.01 to 15.02 upgrade
classmethod GetProductionList(pOrder, Output pList, pRestrictions=1, pForHSLib As %String = "HSLIB") as %Status
classmethod HSPICompileLocal(pNS)
classmethod OpenCurrentProduction(Output pProductionObj As Ens.Config.Production) as %Status
Return the production object for the current active production in the current namespace. It may not be the same as the production name in HS_Util_Installer.ConfigItem for the current namespace.
classmethod PRODUCTIONSTARTORDER() as %String
Replaced parameters with expression methods, with defined order based on non-existence of the global entry
classmethod PRODUCTIONSTOPORDER() as %String
Replaced parameters with expression methods, with defined order based on non-existence of the global entry
classmethod RemoveMPRLLIB(pNamespace As %String, pUpdateMappings As %Boolean = 0) as %Status
classmethod Restart(pComponent As %String = $namespace, pQuietly As %Boolean = 0) as %Status
Restart a particular HealthShare instance Only works if the instance is stopped See also ..StartProduction()
classmethod RestartAll(pQuietly As %Boolean = 0, pForce As %Boolean = 1) as %Status
Start or Restart all HealthShare instances
classmethod Start(pComponent As %String = $namespace, pQuietly As %Boolean = 0) as %Status
Start a particular HealthShare instance See also ..StartProduction()
classmethod StartAll(pQuietly As %Boolean = 0) as %Status
Start all HealthShare instances (in correct order)
classmethod StartOrRestartAll(pDelay As %Integer = 0) as %Status
Start (or Restart) all HealthShare instances (in this HSLIB, in correct order)
classmethod StartProduction(pNamespace As %String, pProductionName As %String = "", ByRef pState As %Integer) as %Status
Wrapper around method in HS.Util.Installer.ConfigItem
classmethod Stop(pComponent As %String = $namespace, pQuietly As %Boolean = 0) as %Status
Stop a particular HealthShare instance See also ..StopProduction()
classmethod StopAll(pQuietly As %Boolean = 0, pForce As %Boolean = 1) as %Status
Stop all HealthShare instances
classmethod StopProduction(pNamespace As %String, pTimeout As %Numeric = 30, ByRef pInitialState As %Integer, ByRef pState As %Integer, pForce As %Boolean = 0) as %Status
Wrapper around method in HS.Util.Installer.ConfigItem
classmethod invokeMethod(pComponent, pMethod, pPassProduction, pForce) as %Status

Inherited Members

Inherited Methods

FeedbackOpens in a new tab