%ZHSLIB.PackageManager.Server.Application

persistent class %ZHSLIB.PackageManager.Server.Application extends %Library.Persistent, %ZHSLIB.PackageManager.Core.Application

SQL Table Name: %ZHSLIB_PackageManager_Server.Application

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

parameter XMLTYPE = ServerApplication;
Inherited description: This parameter provides the default XMLTYPE for the class. If it is empty then the class name will be used to construct a default XML type. The default XMLTYPE is used when naming and referencing this type in a schema and the schema context did not provide an XML type name.

Properties

property SemVer as %String (MAXLEN = 512);
Property associated with the index to allow quick $Query'ing over SemVer order based on ID
Property methods: SemVerCompute(), SemVerDelete(), SemVerDeleteIndex(), SemVerDisplayToLogical(), SemVerExists(), SemVerFind(), SemVerGet(), SemVerGetIndexGlobalNode(), SemVerGetStored(), SemVerIndexLocation(), SemVerIndexLocationForCompile(), SemVerInsert(), SemVerInsertIndex(), SemVerIsValid(), SemVerLogicalToDisplay(), SemVerLogicalToOdbc(), SemVerNode(), SemVerNormalize(), SemVerPurgeIndex(), SemVerSQLCompute(), SemVerSegmentFinalize(), SemVerSegmentInitialize(), SemVerSegmentInsert(), SemVerSet(), SemVerSetT(), SemVerSortBeginIndex(), SemVerSortEndIndex(), SemVerUpdateIndex()

Methods

private classmethod %OnBeforeBuildIndices(ByRef indexlist As %String(MAXLEN="")="") as %Status [ Language = objectscript ]
Inherited description:

This callback method is invoked by the %BuildIndices() method.

It is called prior to modifying any index structures. If an extent lock is requested by the %BuildIndices caller then %OnBeforeBuildIndices is called after the extent lock is acquired.

If this method returns an error then %BuildIndices will exit immediately without purging and building any index structures, returning the error to the caller of %BuildIndices.

Parameters
Name Type Description
indexlist Input/output A $list value containing the names of the indexes to be built. This parameter is passed by reference. If the implementation of %OnBeforeBuildIndices alters this value then %BuildIndices will honor those changes.

classmethod OrderedMatchesClose(ByRef qHandle As %Binary) as %Status [ Language = objectscript ]
classmethod OrderedMatchesExecute(ByRef qHandle As %Binary, pName As %String = "", pVersionExpression As %String = "*", pParameters As %String = "") as %Status [ Language = objectscript ]
classmethod OrderedMatchesFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status [ Language = objectscript ]

Queries

query OrderedMatches(pName As %String = "", pVersionExpression As %String = "*", pParameters As %String = "")
Selects Name As %String, VersionString As %String

Indices

index ($Application on ) [Extent, Type = bitmap];
index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
index (ManifestSearchIndex on Manifest(KEYS)) [Data = Manifest(ELEMENTS)];
index (NameBitmap on Name) [Type = bitmap];
index (NameVersion on Name,VersionString) [Unique];
Index methods: NameVersionCheck(), NameVersionCheckUnique(), NameVersionDelete(), NameVersionExists(), NameVersionOpen(), NameVersionSQLCheckUnique(), NameVersionSQLExists(), NameVersionSQLFindPKeyByConstraint(), NameVersionSQLFindRowIDByConstraint()
index (SemVer on Name,Version);
Index methods: SemVerCompute(), SemVerDelete(), SemVerDeleteIndex(), SemVerDisplayToLogical(), SemVerExists(), SemVerFind(), SemVerGet(), SemVerGetIndexGlobalNode(), SemVerGetStored(), SemVerIndexLocation(), SemVerIndexLocationForCompile(), SemVerInsert(), SemVerInsertIndex(), SemVerIsValid(), SemVerLogicalToDisplay(), SemVerLogicalToOdbc(), SemVerNode(), SemVerNormalize(), SemVerPurgeIndex(), SemVerSQLCompute(), SemVerSegmentFinalize(), SemVerSegmentInitialize(), SemVerSegmentInsert(), SemVerSet(), SemVerSetT(), SemVerSortBeginIndex(), SemVerSortEndIndex(), SemVerUpdateIndex()

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Storage

Storage Model: Storage (%ZHSLIB.PackageManager.Server.Application)

^HS.PM.Server.ApplicationD(ID)
=
%%CLASSNAME
Name
Version
IsLatest
Payload
VersionString
Manifest
SemVer
Feedback