%ZHSLIB.PackageManager.Developer.Document.Module
stream class %ZHSLIB.PackageManager.Developer.Document.Module extends %ZHSLIB.PackageManager.Developer.Document.AbstractDocument
Method Inventory (Including Private)
- Delete()
- Exists()
- GetOther()
- ImportStream()
- Load()
- OnCompileDocument()
- Save()
- TimeStamp()
- UpdatePersistentFromStream()
Parameters
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)
Delete the module definition name.
Return 1 if the given document exists and 0 if it does not.
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 ]
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 ]
Queries
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)
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)
- %Concurrency
- %Location
- AtEnd
- Attributes
- Code
- CompileTime
- Generated
- Id
- LastModified
- LineTerminator
- Locked
- Mode
- Name
- Size
- TimeStamp
- UpToDate
Inherited Methods (Including Private)
- %AcquireLock()
- %AddToSaveSet()
- %CheckUnique()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %ConstructCloneInit()
- %Delete()
- %DeleteData()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GetLockReference()
- %GetParameter()
- %GetSerial()
- %GetSwizzleObject()
- %Id()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %LOBPrefetch()
- %LOBPrefetchInternal()
- %Load()
- %LoadData()
- %LocationSet()
- %LockStream()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %ObjectSize()
- %ObjectSizeInternal()
- %Oid()
- %OnAddToSaveSet()
- %OnAfterSave()
- %OnBeforeSave()
- %OnClose()
- %OnConstructClone()
- %OnDelete()
- %OnNew()
- %OnOpen()
- %OnReload()
- %OnRollBack()
- %OnValidateObject()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %ReleaseLock()
- %Reload()
- %RemoveFromSaveSet()
- %RollBack()
- %Save()
- %SaveData()
- %SerializeObject()
- %SetModified()
- %SetSerial()
- %UnlockStream()
- %ValidateName()
- %ValidateObject()
- AtEndGet()
- AtEndSet()
- Clear()
- Compile()
- CompileDocument()
- CompileTime()
- CompileTimeGet()
- CopyFrom()
- CopyFromAndSave()
- DeleteAttribute()
- DeleteStream()
- ExportToXML()
- FindAt()
- Flush()
- GetAttribute()
- GetAttributeList()
- GetPrevious()
- GetStreamId()
- IODeleteStream()
- IOFlush()
- IOGetSize()
- IOGetStreamId()
- IOInit()
- IOMoveToEnd()
- IOOnClose()
- IOOnNew()
- IOOpenStream()
- IOReadData()
- IORewind()
- IOSaveStream()
- IOWriteData()
- ImportFromXML()
- InputFromDevice()
- IsCharacter()
- IsDefinedAttribute()
- IsEnabled()
- IsGenerated()
- IsMapped()
- IsNull()
- IsUpToDate()
- ItemList()
- LastModifiedGet()
- LineTerminatorSet()
- ListClose()
- ListExecute()
- ListFetch()
- LocalizeDescription()
- Lock()
- LockName()
- MoveTo()
- MoveToEnd()
- NextAttribute()
- OnDelete()
- OpenStream()
- OutputToDevice()
- OutputToDeviceAt()
- Read()
- ReadLine()
- ReadLineIntoStream()
- ReadSQL()
- Rewind()
- SaveAs()
- SaveStream()
- Search()
- SearchRegex()
- SerializeToSyncSet()
- SetAttribute()
- SetAttributeList()
- SizeGet()
- StreamOIDIsNull()
- SyncStreamIn()
- TimeStampGet()
- TranslateExportName()
- Unlock()
- UnlockName()
- UpToDateGet()
- Write()
- WriteLine()
- checkMatch()
- escapeCData()
- escapeCDataStream()
- unescapeCData()