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

%ZHSLIB.PackageManager.Client.Manager

class %ZHSLIB.PackageManager.Client.Manager extends %ZHSLIB.PackageManager.Core.Singleton

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

parameter NAMESPACESCOPE = 1;
If set to 1, calls to %Get must return an instance of this class created in the current namespace; a new instance will be created if none exists.

Properties (Including Private)

property ServiceCache as array of %ZHSLIB.PackageManager.Core.IPackageService;
Avoids constantly reinstantiating the package service objects, which may be expensive.
Property methods: ServiceCacheBuildValueArray(), ServiceCacheCollectionToDisplay(), ServiceCacheCollectionToOdbc(), ServiceCacheDisplayToCollection(), ServiceCacheGet(), ServiceCacheGetObject(), ServiceCacheGetObjectId(), ServiceCacheGetSwizzled(), ServiceCacheIsValid(), ServiceCacheOdbcToCollection(), ServiceCacheSet(), ServiceCacheSetObject(), ServiceCacheSetObjectId()
property UnavailableNames as array of %String;
Keeps track of which repositories are unavailable (by name - the keys are important, values don't matter)
Property methods: UnavailableNamesBuildValueArray(), UnavailableNamesCollectionToDisplay(), UnavailableNamesCollectionToOdbc(), UnavailableNamesDisplayToCollection(), UnavailableNamesDisplayToLogical(), UnavailableNamesGet(), UnavailableNamesGetObject(), UnavailableNamesGetObjectId(), UnavailableNamesGetSwizzled(), UnavailableNamesIsValid(), UnavailableNamesLogicalToDisplay(), UnavailableNamesLogicalToOdbc(), UnavailableNamesNormalize(), UnavailableNamesOdbcToCollection(), UnavailableNamesSet(), UnavailableNamesSetObject(), UnavailableNamesSetObjectId()
property XSLTProvider as %ZHSLIB.PackageManager.Core.XSLTProvider;
Performance optimization for XSLTs
Property methods: XSLTProviderGet(), XSLTProviderGetSwizzled(), XSLTProviderIsValid(), XSLTProviderNewObject(), XSLTProviderSet()

Methods (Including Private)

private method %OnNew() as %Status [ Language = objectscript ]
Tracks the OREF of this instance in a PPG for later reference. Subclasses of %ZHSLIB.PackageManager.Core.Singleton that override this method *MUST* call ##super().
method CheckServiceCache(pRepositoryName As %String, Output pAvailable As %Boolean) as %ZHSLIB.PackageManager.Core.IPackageService [ Language = objectscript ]
method RetrieveApplicationManifest(pQualifiedReference As %ZHSLIB.PackageManager.Core.QualifiedModuleReference, Output pManifestStream As %Stream.Object) as %Status [ Language = objectscript ]
Loads the module reference
method RetrieveApplicationPackage(pQualifiedReference As %ZHSLIB.PackageManager.Core.QualifiedModuleReference, Output pPackageStream As %Stream.Object) as %Status [ Language = objectscript ]
Loads the application package
method RetrieveModuleManifest(pQualifiedReference As %ZHSLIB.PackageManager.Core.QualifiedModuleReference, Output pManifestStream As %Stream.Object) as %Status [ Language = objectscript ]
Loads the module reference
method RetrieveModulePackage(pQualifiedReference As %ZHSLIB.PackageManager.Core.QualifiedModuleReference, Output pPackageStream As %Stream.Object) as %Status [ Language = objectscript ]
Loads the module reference
method SearchRepositoriesForApplication(pSearchCriteria As %ZHSLIB.PackageManager.Core.SearchCriteria, Output pResults As %Library.ListOfObjects(ELEMENTTYPE="%ZHSLIB.PackageManager.Core.QualifiedModuleReference"), pForceRemoteRepo As %Boolean = 0) as %Status [ Language = objectscript ]
Returns a list of all resolved module references matching the search criteria from configured repositories.
method SearchRepositoriesForModule(pSearchCriteria As %ZHSLIB.PackageManager.Core.SearchCriteria, Output pResults As %Library.ListOfObjects(ELEMENTTYPE="%ZHSLIB.PackageManager.Core.QualifiedModuleReference"), pForceRemoteRepo As %Boolean = 0) as %Status [ Language = objectscript ]
Returns a list of all resolved module references matching the search criteria from configured repositories.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

FeedbackOpens in a new window