Home > Class Reference > HSLIB namespace > HS.Director

HS.Director

class HS.Director

Class to manage HealthShare

Method Inventory

Methods

classmethod CheckNS(pNS, pComponent As HS.Util.Installer.ConfigItem) as %Boolean [ Language = objectscript ]
classmethod Deactivate(pComponent As %String = $namespace) as %Status [ Language = objectscript ]
Set the component as not activated, but do not stop it if running
classmethod DeactivateAll() as %Status [ Language = objectscript ]
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 [ Language = objectscript ]
Set the component as Disabled, but do not stop it if running
classmethod Enable(pComponent As %String = $namespace, pEnable As %Boolean = 1) as %Status [ Language = objectscript ]
Set the component as not disabled, but do not start it here
classmethod FixHSPILIB() [ Language = objectscript ]
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 [ Language = objectscript ]
classmethod HSPICompileLocal(pNS) [ Language = objectscript ]
classmethod PRODUCTIONSTARTORDER() as %String [ Language = objectscript ]
Replaced parameters with expression methods, with defined order based on non-existence of the global entry
classmethod PRODUCTIONSTOPORDER() as %String [ Language = objectscript ]
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 [ Language = objectscript ]
classmethod Restart(pComponent As %String = $namespace, pQuietly As %Boolean = 0) as %Status [ Language = objectscript ]
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 [ Language = objectscript ]
Start or Restart all HealthShare instances
classmethod Start(pComponent As %String = $namespace, pQuietly As %Boolean = 0) as %Status [ Language = objectscript ]
Start a particular HealthShare instance See also ..StartProduction()
classmethod StartAll(pQuietly As %Boolean = 0) as %Status [ Language = objectscript ]
Start all HealthShare instances (in correct order)
classmethod StartOrRestartAll(pDelay As %Integer = 0) as %Status [ Language = objectscript ]
Start (or Restart) all HealthShare instances (in this HSLIB, in correct order)
classmethod StartProduction(pNamespace As %String, pProductionName, ByRef pState As %Integer) as %Status [ Language = objectscript ]
Try to start pProduction in pNamespace (if it is stopped) Result can be: failure, returns %Status success, returns pState=1 ($$$eProductionStateRunning) pState=2 ($$$eProductionStateStopped) pState=3 ($$$eProductionStateSuspended) pState=4 ($$$eProductionStateTroubled) pState=5 ($$$eProductionStateNetworkStopped)
classmethod Stop(pComponent As %String = $namespace, pQuietly As %Boolean = 0) as %Status [ Language = objectscript ]
Stop a particular HealthShare instance See also ..StopProduction()
classmethod StopAll(pQuietly As %Boolean = 0, pForce As %Boolean = 1) as %Status [ Language = objectscript ]
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 [ Language = objectscript ]
Try to stop the Production in pNamespace (if not already stopped) (we assume only one Production per namespace !) Result can be: failure, returns %Status success, returns pState=1 ($$$eProductionStateRunning) pState=2 ($$$eProductionStateStopped) pState=3 ($$$eProductionStateSuspended) pState=4 ($$$eProductionStateTroubled) pState=5 ($$$eProductionStateNetworkStopped)
classmethod invokeMethod(pComponent, pMethod, pPassProduction, pForce) as %Status [ Language = objectscript ]
Feedback