%ZHSLIB.PackageManager.Client.ServerDefinition
abstract persistent class %ZHSLIB.PackageManager.Client.ServerDefinition extends %Library.Persistent, %ZEN.DataModel.Adaptor
SQL Table Name: %ZHSLIB_PackageManager_Client.ServerDefinition
Property Inventory (Including Private)
Method Inventory (Including Private)
- CatalogClose()
- CatalogExecute()
- CatalogFetch()
- Configure()
- Display()
- GetPackageService()
- GetPublishService()
- GetSortOrder()
- OnConfigure()
- SortOrder()
Parameters
parameter DISPLAYNAME;
Display name for this type of repository, shown in the UI and package manager shell.
parameter DOMAIN = HSPM;
Inherited description: Localization domain.
DataModel classes that wish to support localization must provide a value for this
within subclasses.
parameter MONIKER;
Short/logical name for this type of repository, used in the package manager shell as an alternative to the full class name.
Properties (Including Private)
property Details as %String);
Property methods: DetailsCompute(), DetailsDisplayToLogical(), DetailsGet(), DetailsGetStored(), DetailsIsValid(), DetailsLogicalToDisplay(), DetailsLogicalToOdbc(), DetailsNormalize(), DetailsSQLCompute(), DetailsSet(), DetailsSetT()
property Enabled as %Boolean [ InitialExpression = 1 ];
Property methods: EnabledDisplayToLogical(), EnabledGet(), EnabledGetStored(), EnabledIsValid(), EnabledLogicalToDisplay(), EnabledNormalize(), EnabledSet()
property Name as %String [ Required ];
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property Prereleases as %Boolean [ InitialExpression = 0 ];
Property methods: PrereleasesDisplayToLogical(), PrereleasesGet(), PrereleasesGetStored(), PrereleasesIsValid(), PrereleasesLogicalToDisplay(), PrereleasesNormalize(), PrereleasesSet()
property Snapshots as %Boolean [ InitialExpression = 0 ];
Property methods: SnapshotsDisplayToLogical(), SnapshotsGet(), SnapshotsGetStored(), SnapshotsIsValid(), SnapshotsLogicalToDisplay(), SnapshotsNormalize(), SnapshotsSet()
Methods (Including Private)
classmethod CatalogFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status [ Language = objectscript ]
final classmethod Configure(pInteractive As %Boolean = 1, ByRef pModifiers, ByRef pData, pExpectedType As %Dictionary.Classname = "") as %Status [ Language = objectscript ]
Called from package manager shell to create or update an instance of this class.
Acceptable values in pModifiers and pData may vary between classes, but
some (such as "name", "enabled", "snapshots", and "prereleases") are common to all.
For a full list of modifiers, see the Commands XDATA block in %ZHSLIB.PackageManager.
If specified, pExpectedType will be compared against the full classname of the existing
instance matched by pModifiers("name"); an error will be returned if they do not match.
method Display() [ Language = objectscript ]
Outputs information about this server to the current device.
Subclasses may override to show additional information, but should typically call ##super() at the beginning.
abstract method GetPackageService() as %ZHSLIB.PackageManager.Core.IPackageService [ Language = objectscript ]
Returns a SOAP client to interact with this server.
abstract method GetPublishService() as %ZHSLIB.PackageManager.Core.IPublishService [ Language = objectscript ]
Returns a SOAP client to publish modules/applications to this server.
If publishing modules/applications is not supported, returns $$$NULLOREF.
Errors are thrown as exceptions.
abstract private method GetSortOrder() as %Integer [ Language = objectscript ]
Subclasses must override. Orders repositories by type and possibly other factors.
abstract classmethod OnConfigure(pInstance As %ZHSLIB.PackageManager.Client.ServerDefinition, pInteractive As %Boolean = 1, ByRef pModifiers, ByRef pData) as %Status [ Language = objectscript ]
Subclasses must override. Allows handling of any custom modifiers/data attributes provided from the package manager shell.
Queries
query Catalog()
Indexes
index (ServerDefinitionKey on Name) [Unique];
Index methods: ServerDefinitionKeyCheck(), ServerDefinitionKeyCheckUnique(), ServerDefinitionKeyDelete(), ServerDefinitionKeyExists(), ServerDefinitionKeyOpen(), ServerDefinitionKeySQLCheckUnique(), ServerDefinitionKeySQLExists(), ServerDefinitionKeySQLFindPKeyByConstraint(), ServerDefinitionKeySQLFindRowIDByConstraint()
Inherited Members
Inherited Properties (Including Private)
Inherited Methods (Including Private)
- %AcquireLock()
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %ConstructCloneInit()
- %CreateModelInstance()
- %Delete()
- %DeleteData()
- %DeleteExtent()
- %DeleteId()
- %DeleteModel()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetJSValidationCode()
- %GetLock()
- %GetParameter()
- %GetPropertyInfo()
- %GetSwizzleObject()
- %Id()
- %InsertBatch()
- %InvokeAction()
- %IsA()
- %IsModified()
- %IsNull()
- %IsReadOnly()
- %KillExtent()
- %KillExtentData()
- %LoadData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnAddToSaveSet()
- %OnAfterBuildIndices()
- %OnAfterDelete()
- %OnAfterPurgeIndices()
- %OnAfterSave()
- %OnBeforeAddToSync()
- %OnBeforeBuildIndices()
- %OnBeforePurgeIndices()
- %OnBeforeSave()
- %OnClose()
- %OnConstructClone()
- %OnCopyDataFromModel()
- %OnCopyDataToModel()
- %OnDelete()
- %OnDeleteModel()
- %OnDeleteSource()
- %OnDetermineClass()
- %OnGetPropertyInfo()
- %OnInvokeAction()
- %OnJournalObject()
- %OnLoadModel()
- %OnNew()
- %OnNewSource()
- %OnOpen()
- %OnOpenSource()
- %OnReload()
- %OnRollBack()
- %OnSaveSource()
- %OnStoreModel()
- %OnSubmit()
- %OnValidateObject()
- %Open()
- %OpenId()
- %OpenModel()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %ReleaseLock()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveData()
- %SaveDirect()
- %SaveIndices()
- %SaveModel()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SubmitHandler()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
Storage
Storage Model: Storage (%ZHSLIB.PackageManager.Client.ServerDefinition)
^HS.PM.Client.ServerDefD(ID) |
= | %%CLASSNAME
Name
RetrievalEndpoint
SSLConfigName
Credentials
PublishEndpoint
Enabled
IsLocalCache
Details
Snapshots
Prereleases
|