%DeepSee.CubeVersion.Utils
class %DeepSee.CubeVersion.Utils extends %Library.RegisteredObject
Utility container for the management of cube versionsMethod Inventory
- %ActivatePendingCubeVersion()
- %DeprecateCubeVersion()
- %GetActiveCubeVersion()
- %GetCubeVersionStatus()
- %GetDeprecatedVersionList()
- %GetGenericCubeName()
- %GetPendingCubeVersion()
- %GetVersionedCubeName()
- %IsActiveVersion()
- %IsDeprecatedVersion()
- %IsPendingVersion()
- %IsVersion()
- %RemoveCubeVersion()
Parameters
parameter ACTIVE = active;
parameter DEPRECATED = deprecated;
parameter PENDING = pending;
Methods
classmethod %ActivatePendingCubeVersion(pCubeGenericName As %String, pRemoveDeprecated As %Boolean = 1, pVerbose As %Boolean = 1) as %Status
classmethod %DeprecateCubeVersion(pCubeGenericName As %String = "", pVersion As %Integer) as %Status
Mark a cube version as deprecated. Once deprecated, a version is ready for removal.
Return the active version number for pCubeGenericName
Return the current promotion status of version pVersion the cube pCubeGenericName.
Given the generic name of a versioned cube, collect the list of deprecated versions currently on the system.
If a cube has different versions, get the reference name given a version name pCubeName.
If the cube was not produced using cube versioning this will return the upper-case cube index.
Return the pending version number for pCubeGenericName. An empty string indicates there is no pending version.
classmethod %GetVersionedCubeName(pCubeGenericName As %String = "", pVersion As %Integer = "", pSC As %Status) as %String
If a cube has different versions, get the name of the version currently active given the reference name pCubeGenericName.
If a cube does not use cube versioning this will return the upper-case cube index.
Test whether the current cube pCubeVersionName is the active version.
Test whether the current cube pCubeVersionName is deprecated.
Test whether the current cube pCubeVersionName is the pending version.
It is valid to manually write a cube logical name that can look like a version when it is not.
Verify the cube name entered in pCubeName is a true version of a generic cube definition.
Optionally return the decomposition of the original cube name into its genericName and version parts.
If a non-versioned cube is entered as pCubeName, then:
pCubeGenericName = pCubeName pVersion = ""
pCubeGenericName = pCubeName pVersion = ""
Completely remove all components of a cube version from the system. This cannot be performed on a cube version marked "active".
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()