Home > Class Reference > %SYS namespace > %ZHSLIB.PackageManager.Client.FilesystemServerDefinition

%ZHSLIB.PackageManager.Client.FilesystemServerDefinition

persistent class %ZHSLIB.PackageManager.Client.FilesystemServerDefinition extends %ZHSLIB.PackageManager.Client.ServerDefinition

SQL Table Name: %ZHSLIB_PackageManager_Client.FilesystemServerDefinition

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

parameter DISPLAYNAME = Filesystem;
Inherited description: Display name for this type of repository, shown in the UI and package manager shell.
parameter MONIKER = file;
Inherited description: Short/logical name for this type of repository, used in the package manager shell as an alternative to the full class name.
parameter RootPromptString;
Prompt to use for Root in interactive configuration of this repository type

Properties (Including Private)

property Depth as %Integer [ InitialExpression = 0 , Required ];
How many levels of depth to search for module.xml files; 0 indicates unlimited.
Property methods: DepthDisplayToLogical(), DepthGet(), DepthGetStored(), DepthIsValid(), DepthLogicalToDisplay(), DepthNormalize(), DepthSet()
property Details as %String);
Property methods: DetailsCompute(), DetailsDisplayToLogical(), DetailsGet(), DetailsGetStored(), DetailsIsValid(), DetailsLogicalToDisplay(), DetailsLogicalToOdbc(), DetailsNormalize(), DetailsSQLCompute(), DetailsSet(), DetailsSetT()
property Root as %String (MAXLEN = 260) [ Required ];
Root folder on the server filesystem
Property methods: RootChangedExecute(), RootDisplayToLogical(), RootGet(), RootGetStored(), RootIndexCheck(), RootIndexCheckUnique(), RootIndexDelete(), RootIndexExists(), RootIndexOpen(), RootIndexSQLCheckUnique(), RootIndexSQLExists(), RootIndexSQLFindPKeyByConstraint(), RootIndexSQLFindRowIDByConstraint(), RootIsValid(), RootLogicalToDisplay(), RootLogicalToOdbc(), RootNormalize(), RootSet()

Methods (Including Private)

method AddCacheItem(pModuleFileName As %String, pSubDirectory As %String, Output pName As %String, Output pVersionString As %String) as %Status [ Language = objectscript ]
method BuildCache(pPurge As %Boolean = '$$$IsISCWorker, pVerbose As %Integer = 0, pAutoDetectDepth As %Boolean = 0) as %Status [ Language = objectscript ]
method GetModuleStreamFromFile(pFilename As %String, Output pStream As %Stream.GlobalCharacter, Output pName As %String, Output pVersion As %String) as %Status [ Language = objectscript ]
method GetPackageService() as %ZHSLIB.PackageManager.Core.IPackageService [ Language = objectscript ]
Returns a SOAP client to interact with this server.
method GetPublishService() as %ZHSLIB.PackageManager.Core.IPublishService [ Language = objectscript ]
Returns a SOAP client to publish modules/applications to this server.
private method GetSortOrder() as %Integer [ Language = objectscript ]
Inherited description: Subclasses must override. Orders repositories by type and possibly other factors.
classmethod OnConfigure(pInstance As %ZHSLIB.PackageManager.Client.ServerDefinition, pInteractive As %Boolean = 1, ByRef pModifiers, ByRef pData) as %Status [ Language = objectscript ]
Handles modifiers/data attributes provided from the package manager shell.
method RootSet(%val) as %Status [ Language = objectscript ]

Indexes

index (RootIndex on Root) [Unique];
Index methods: RootIndexCheck(), RootIndexCheckUnique(), RootIndexDelete(), RootIndexExists(), RootIndexOpen(), RootIndexSQLCheckUnique(), RootIndexSQLExists(), RootIndexSQLFindPKeyByConstraint(), RootIndexSQLFindRowIDByConstraint()

Triggers

trigger RootChanged (BEFORE event UPDATE);
Clears the cache if the root is changed.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (%ZHSLIB.PackageManager.Client.ServerDefinition)

^HS.PM.Client.ServerDefD(ID)
=
%%CLASSNAME
Name
RetrievalEndpoint
SSLConfigName
Credentials
PublishEndpoint
Enabled
IsLocalCache
Details
Snapshots
Prereleases
ReadOnly

Storage Model: Storage (%ZHSLIB.PackageManager.Client.FilesystemServerDefinition)

^HS.PM.Client.ServerDefD(ID,"FilesystemServerDefinition")
=
Root
Depth

Subclasses

Feedback