Home > Class Reference > %SYS namespace > %ZHSLIB.PackageManager.Client.Filesystem.PackageService

%ZHSLIB.PackageManager.Client.Filesystem.PackageService

class %ZHSLIB.PackageManager.Client.Filesystem.PackageService extends %Library.RegisteredObject, %ZHSLIB.PackageManager.Core.IPackageService, %ZHSLIB.PackageManager.Core.ModuleInfo.QueryUtils

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property Root as %String [ Private , ReadOnly ];
Property methods: RootDisplayToLogical(), RootGet(), RootIsValid(), RootLogicalToDisplay(), RootLogicalToOdbc(), RootNormalize()

Methods (Including Private)

private method %OnNew(pRoot As %String) as %Status [ Language = objectscript ]
Inherited description: This callback method is invoked by the %New() method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.

method GetApplication(pModuleReference As %ZHSLIB.PackageManager.Core.ResolvedModuleReference) as %Stream.Object [ Language = objectscript ]
method GetApplicationManifest(pModuleReference As %ZHSLIB.PackageManager.Core.ResolvedModuleReference) as %Stream.Object [ Language = objectscript ]
method GetModule(pModuleReference As %ZHSLIB.PackageManager.Core.ResolvedModuleReference) as %Stream.Object [ Language = objectscript ]
method GetModuleDirectory(pModuleReference As %ZHSLIB.PackageManager.Core.ResolvedModuleReference) as %String [ Language = objectscript ]
method GetModuleManifest(pModuleReference As %ZHSLIB.PackageManager.Core.ResolvedModuleReference) as %Stream.Object [ Language = objectscript ]
method HasApplication(pModuleReference As %ZHSLIB.PackageManager.Core.ResolvedModuleReference) as %Boolean [ Language = objectscript ]
method HasModule(pModuleReference As %ZHSLIB.PackageManager.Core.ResolvedModuleReference) as %Boolean [ Language = objectscript ]
method IsAvailable() as %Boolean [ Language = objectscript ]
For run-time checks to ensure the service is available before attempting to invoke it.
method ListApplications(pSearchCriteria As %ZHSLIB.PackageManager.Core.SearchCriteria) as %ListOfObjects [ Language = objectscript ]
method ListModules(pSearchCriteria As %ZHSLIB.PackageManager.Core.SearchCriteria) as %ListOfObjects [ Language = objectscript ]
classmethod Supports(pMethod As %String) as %Boolean [ Language = objectscript ]
Returns 1 if the service supports a particular method.

Inherited Members

Inherited Methods (Including Private)

Subclasses

FeedbackOpens in a new window