%ZHSLIB.PackageManager.Core.XDataArchive
class %ZHSLIB.PackageManager.Core.XDataArchive extends %Library.RegisteredObject
This class helps with packaging a directory (containing files) in a format that is easy to import on a different instance.Property Inventory (Including Private)
Method Inventory (Including Private)
- %OnClose()
- %OnNew()
- AddToProject()
- CreateDirectoryChain()
- Extract()
- GenerateInstallerCode()
- GetDirectoryContentsRecursive()
- Populate()
Properties (Including Private)
property Package as %String [ Private ];
Property methods: PackageDisplayToLogical(), PackageGet(), PackageIsValid(), PackageLogicalToDisplay(), PackageLogicalToOdbc(), PackageNormalize(), PackageSet()
property SourceDirectory as %String) [ Private ];
Property methods: SourceDirectoryDisplayToLogical(), SourceDirectoryGet(), SourceDirectoryIsValid(), SourceDirectoryLogicalToDisplay(), SourceDirectoryLogicalToOdbc(), SourceDirectoryNormalize(), SourceDirectorySet()
Methods (Including Private)
private method %OnClose() as %Status [ Language = objectscript ]
This callback method is invoked by the %Close() method to
provide notification that the current object is being closed.
The return value of this method is ignored.
pDirectory is the directory to be packaged.
method AddToProject(pStudioProject As %Studio.Project, pVerbose As %Boolean = 1) as %Status [ Language = objectscript ]
Populates classes with the context of SourceDirectory, then adds the generated classes to pStudioProject.
Copied from %ZHSLIB.PackageManager.Developer.File to support use in classes cloned from this one
method GenerateInstallerCode(pDirectoryVariableName As %String, ByRef pRoutine) as %Status [ Language = objectscript ]
private method GetDirectoryContentsRecursive(pDirectory As %String, Output pItems) as %Status [ Language = objectscript ]
Creates XData blocks with the contents of files in SourceDirectory
Inherited Members
Inherited Methods (Including Private)
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %ConstructCloneInit()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToSaveSet()
- %OnConstructClone()
- %OnValidateObject()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()