InterSystems IRIS for Health 2021.1Opens in a new window > Class Reference > %SYS namespace > %ZHSLIB.PackageManager.Developer.Document.Module


stream class %ZHSLIB.PackageManager.Developer.Document.Module extends %ZHSLIB.PackageManager.Developer.Document.AbstractDocument

Method Inventory (Including Private)


parameter EXTENSION = .MODULE;
parameter INFOGLOBAL = ^HS.PM.Dev.Doc.Module;
parameter STREAMCLASS = %ZHSLIB.PackageManager.Developer.Document.ModuleStream;
Inherited description: Optional subclass of %ZHSLIB.PackageManager.Developer.Document.AbstractStream that stores code in a character stream.

Methods (Including Private)

classmethod Delete(name As %String) as %Status [ Language = objectscript ]
Delete the module definition name.
classmethod Exists(name As %String) as %Boolean [ Language = objectscript ]
Return 1 if the given document exists and 0 if it does not.
classmethod GetOther(Name As %String) as %String [ Language = objectscript ]
Returns a comma-separated list of *individual* resources listed in the module manifest. This does not include packages or CSP/filesystem resources.
classmethod ImportStream(pName As %String, pStream As %GlobalCharacterStream) as %Status [ Language = objectscript ]
Save the module definition document from stream to database.
method Load() as %Status [ Language = objectscript ]
Load the module definition Name into the stream Code
method OnCompileDocument(ByRef qstruct As %String) as %Status [ Language = objectscript ]
method Save() as %Status [ Language = objectscript ]
Save the module definition document.
classmethod TimeStamp(name As %String) as %TimeStamp [ Language = objectscript, SQLProc = Module_TimeStamp ]
Return the timestamp of schema category 'name' in %TimeStamp format, i.e. $zdatetime($horolog,3). This is used to determine if the category has been updated on the server and so needs reloading into Studio. So the format should be $zdatetime($horolog,3), or "" if the category does not exist.
classmethod UpdatePersistentFromStream(pStream As %ZHSLIB.PackageManager.Developer.Document.ModuleStream, Output pModule As %ZHSLIB.PackageManager.Developer.Module) as %Status [ Language = objectscript ]


query ItemList()
Selects name As %String, modified As %TimeStamp
SQL Query:
select Name, LastModifiedTimestamp from %ZHSLIB_PackageManager_Developer_Document.ModuleStream union select Name, LastModifiedTimestamp from %ZHSLIB_PackageManager_Developer."Module" where Name not in (select Name from %ZHSLIB_PackageManager_Developer_Document.ModuleStream)
Subclasses must override

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

FeedbackOpens in a new window