Skip to main content

Installer.Install

class Installer.Install extends %ZHSLIB.HealthShareMgr, %ZHSLIB.AbstractInstaller

Method Inventory

Methods

classmethod AddUpdateMappingsForHSCUSTOM(pDB As %String, pVerbose As %Boolean, pIsUpgrade As %Boolean)
classmethod BuildHSCUSTOM(pVerbose As %Boolean)
classmethod OnComponentUpgrade(pPreviousVersion As %String = "", pVerbose As %Boolean = 0) as %Status
classmethod OnConfigureComponent(pTargetNS As %Library.String = $namespace, pVerbose As %Library.Boolean = 0, ByRef pVars As %Library.String) as %Status
Inherited description:

Callback that is invoked during namespace (re)activation. Subclasses SHOULD override this method.

pVars is an array of miscellaneous information, populated by the calling code in the installation/configuration framework (mainly HS.Util.Installer). Subscripts appearing in pVars include:

  • Production - set to (namespace)_"PKG.FoundationProduction"
  • LogFile - current log file for install operation
  • Upgrade - boolean, indicating whether the current operation is an upgrade
  • Type - hardcoded to "Foundation"
  • Component - current component name
classmethod OnInstallComponent(pDB As %String, pVerbose As %Boolean = 0, pDev As %Boolean = 0, pIsUpgrade As %Boolean = 0) as %Status
Inherited description: Callback that is invoked during product installation to allow for system-level changes to be performed. Common examples of such changes include:
  • Definition of resources and roles
  • Definition/configuration of the product library database
  • Import of localized messages for the product
Subclasses SHOULD override this method.
classmethod OnResetComponent(pNamespace As %String = "", pVerbose As %Boolean = 0) as %Status
classmethod OnUnInstallComponent(pDatabase As %String = "", pVerbose As %Boolean = 0) as %Status
Inherited description: Callback that is invoked when removing a product.
classmethod OnValidateComponent(pVerbose As %Boolean = 0) as %Status

Inherited Members

Inherited Methods

FeedbackOpens in a new tab