stream class %Stream.GlobalCharacter extends %Stream.TmpCharacter

Stream class that stores character data in global nodes.

Method Inventory (Including Private)


private classmethod %DeleteData(streamvalue As %String, concurrency As %Integer) as %Status [ Language = objectscript ]
private classmethod %LOBPrefetchInternal(soid As %ObjectIdentity, prefetchsize As %Integer, ByRef data As %String) as %Integer [ Language = objectscript ]
private method %LoadData(id As %String) as %Status [ Language = objectscript ]
private classmethod %ObjectSizeInternal(soid As %ObjectIdentity) as %Integer [ Language = objectscript ]
Return the size of the stream pointed to by soid
private method %OnNew(initval As %String = "") as %Status [ Language = objectscript ]
Inherited description: This callback method is invoked by the %New() method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.

private method %SaveData(ByRef sid As %String) as %Status [ Language = objectscript ]
method CopyFromAndSave(source As %Stream.Object) as %Status [ Language = objectscript ]
Inherited description: Copy the stream from source into the current stream ignoring anything already in the current stream and save the result to the permanent location. This is used to optimise the copying of say a %GlobalCharacterStream to another %GlobalCharacterStream to avoid copying into temporary storage first and then moving this to the permanent storage when SaveStream() is called.

Note that any locking or transaction handling must be done by the caller.

private method SetupTmpGbl() [ Language = objectscript ]
Setup the TempGbl location of where we will write the temp stream to

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)