HS.Util.Installer.Upgrade.Loader
class HS.Util.Installer.Upgrade.Loader extends %Library.RegisteredObject
Method Inventory
- FixRegistryProductList()
- GetCurrentVersion()
- GetUpgradeMethods()
- GetVersion()
- IsUpToDate()
- LayoutUpgrade()
- SetNSCurrent()
- Upgrade()
Methods
classmethod FixRegistryProductList() as %Status
Remove HSPILIB from HSREGISTRY Configuration's Products list when HSPI not installed, or configured as a remote setup
classmethod GetCurrentVersion(pProduct="HSLIB", pIncludeMinor As %Boolean = 0, pConfigItem As HS.Util.Installer.ConfigItem = "")
Version of code base
Pass in pIncludeMinor if you want major plus minor
classmethod GetUpgradeMethods(pNS As %String = $namespace, ByRef pMethods As %String, Output pUpToDate As %Boolean = 1, pOnlyCurrentVersion As %Boolean = 0, Output pProducts) as %Status
for a particular namespace is it up to date (all methods run successfully)
pMethods contains a list of methods which have not run
pUpToDate = 1 if no methods are returned
pOnlyCurrent - only return the methods from the current version
pProducts - a list of products and their version for this namespace (used for SetNSCurrent - where no methods exist)
classmethod GetVersion(pProduct="HSLIB", pNS=$namespace)
Version of data (last version installed)
for a particular namespace is it up to date (all methods run successfully)
Upgrade data from HSDBLayout for the specified namespace on this machine
This will first run any steps from the current(old) version that have not been run successfully
Then it will run any steps in the intermediate versions and finally any steps in the new
(target) version that have not been run successfully.
Used to set the current version in a newly created namespace so that we don't try to upgrade
new namespaces
Upgrade specified namespace on this machine
This will first run any steps from the current(old) version that have not been run successfully
Then it will run any steps in the intermediate versions and finally any steps in the new
(target) version that have not been run successfully. Note that it is possible that old=target.
To get the status of all namespaces run GetUpgradeStatus
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()