Skip to main content

%Library.ObjectJournalRecord

Class %Library.ObjectJournalRecord Extends %Persistent [ Final, System = 4 ]

Parameters

READONLY

Parameter READONLY = 1;

Properties

JrnId

Property JrnId As %Integer;

ObjectId

Property ObjectId As %String;

Extent

Property Extent As %String;

FilingType

Property FilingType As %Integer;

The filing operation - 0 = UPDATE, 1 = INSERT, 2 = DELETE

SystemId

Property SystemId As %String;

NamespaceId

Property NamespaceId As %String;

OriginSystemId

Property OriginSystemId As %String;

OriginNamespaceId

Property OriginNamespaceId As %String;

SysTranId

Property SysTranId As %SYS.Journal.Transaction;

ObjectGUID

Property ObjectGUID As %String;

Transaction

Relationship Transaction As %Library.ObjectJournalTransaction [ Cardinality = parent, Inverse = Records, SqlFieldName = Tran ];

JournalPtr

Property JournalPtr As %Integer;

ChangedProperties

Property ChangedProperties As %List;

Filter

Property Filter As %String(MAXLEN = 32000);

Methods

OpenObjectVersion

Method OpenObjectVersion(ByRef status As %Library.Status) As %Library.ObjectHandle

OpenObjectVersion() This method returns a reference to an object that is an instance of the same class as the object that was journalled by this ObjectJournalRecord. The referenced object does not have an ID assigned but all property values are the same as the journalled object's property values at the time of this filing activity. This method returns a null reference if the filing action is a DELETE or if the system journal is not available for this filing activity. Also, for classes using OBJJOURNAL = 2 a null reference is returned.

OpenObjectByTime

ClassMethod OpenObjectByTime(pGUID As %String = "", pSyncTime As %Integer = "", ByRef pStatus As %Library.Status) As %Library.ObjectHandle