Home > Class Reference > %SYS namespace > %ZHSLIB.PackageManager.Developer.Document.AbstractStream

%ZHSLIB.PackageManager.Developer.Document.AbstractStream

abstract persistent class %ZHSLIB.PackageManager.Developer.Document.AbstractStream extends %Library.Persistent

SQL Table Name: %ZHSLIB_PackageManager_Developer_Document.AbstractStream

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property Contents as %Stream.GlobalCharacter;
Property methods: ContentsDelete(), ContentsGet(), ContentsGetObject(), ContentsGetObjectId(), ContentsGetSwizzled(), ContentsIsValid(), ContentsNewObject(), ContentsOid(), ContentsOpen(), ContentsSet(), ContentsSetObject(), ContentsSetObjectId(), ContentsUnSwizzle()
property Hash as %Binary;
Property methods: HashGet(), HashIsValid(), HashSet()
property LastModifiedTimestamp as %TimeStamp;
Property methods: LastModifiedTimestampDisplayToLogical(), LastModifiedTimestampGet(), LastModifiedTimestampIsValid(), LastModifiedTimestampLogicalToDisplay(), LastModifiedTimestampNormalize(), LastModifiedTimestampOdbcToLogical(), LastModifiedTimestampSet()
property Name as %String (MAXLEN = 100);
Property methods: NameCheck(), NameDelete(), NameDisplayToLogical(), NameExists(), NameGet(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameOpen(), NameSQLCheckUnique(), NameSQLExists(), NameSQLFindPKeyByConstraint(), NameSQLFindRowIDByConstraint(), NameSet()

Methods (Including Private)

classmethod %LockName(pName As %String, pShared As %Boolean = 0, pTimeout As %Integer) as %Status [ Language = objectscript ]
Given a document name (including extension), lock it and report a descriptive error if the lock fails.
private method %OnAddToSaveSet(depth As %Integer = 3, insert As %Integer = 0, callcount As %Integer = 0) as %Status [ Language = objectscript ]
This callback method is invoked when the current object is added to the SaveSet, either because %Save() was invoked on this object or on an object that references this object. %OnAddToSaveSet can modify the current object. It can also add other objects to the current SaveSet by invoking %AddToSaveSet or remove objects by calling %RemoveFromSaveSet.

If this method returns an error status then %Save() will fail and the transaction will be rolled back.

classmethod %UnlockName(pName As %String, pShared As %Boolean = 0, pImmediate As %Boolean = 0) as %Status [ Language = objectscript ]
Given a document name (including extension), unlock it
classmethod %ValidateName(pName As %String, Output pLogicalName As %String) as %Status [ Language = objectscript ]
Ensures that pName is a valid Studio document name (including / based on extension) for this stream class.

Indexes

index (Name on Name) [Unique];
Index methods: NameCheck(), NameDelete(), NameDisplayToLogical(), NameExists(), NameGet(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameOpen(), NameSQLCheckUnique(), NameSQLExists(), NameSQLFindPKeyByConstraint(), NameSQLFindRowIDByConstraint(), NameSet()

Inherited Members

Inherited Methods (Including Private)

Subclasses

Feedback