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)


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()


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.

private method %OnNew(pDirectory As %String) as %Status [ Language = objectscript ]
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.
classmethod CreateDirectoryChain(pName As %String) as %Status [ Language = objectscript ]
Copied from %ZHSLIB.PackageManager.Developer.File to support use in classes cloned from this one
classmethod Extract(pTargetDirectory As %String) as %Status [ Language = objectscript ]
method GenerateInstallerCode(pDirectoryVariableName As %String, ByRef pRoutine) as %Status [ Language = objectscript ]
private method GetDirectoryContentsRecursive(pDirectory As %String, Output pItems) as %Status [ Language = objectscript ]
method Populate(pVerbose As %Boolean = 1) as %Status [ Language = objectscript ]
Creates XData blocks with the contents of files in SourceDirectory

Inherited Members

Inherited Methods (Including Private)