Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / %SYS namespace / %Library.ObjectJournalRecord
Private  Storage   

%Library.ObjectJournalRecord


persistent class %Library.ObjectJournalRecord extends
%Persistent

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 14 2 1


Summary


Properties
ChangedProperties Extent FilingType Filter
JournalPtr JrnId NamespaceId ObjectGUID
ObjectId OriginNamespaceId OriginSystemId SysTranId
SystemId Transaction

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %BuildIndicesAsync
%BuildIndicesAsyncResponse %CheckConstraints %CheckConstraintsForExtent %ClassIsLatestVersion
%ClassName %ComposeOid %ConstructClone %Delete
%DeleteExtent %DeleteId %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %Exists %ExistsId %Extends
%GUID %GUIDSet %GetLock %GetParameter
%GetSwizzleObject %Id %InsertBatch %IsA
%IsModified %IsNull %KillExtent %KillExtentData
%LoadFromMemory %LockExtent %LockId %New
%NormalizeObject %ObjectIsNull %ObjectModified %Oid
%OnBeforeAddToSync %OnDetermineClass %Open %OpenId
%OriginalNamespace %PackageName %PhysicalAddress %PurgeIndices
%Reload %RemoveFromSaveSet %ResolveConcurrencyConflict %RollBack
%Save %SaveDirect %SaveIndices %SerializeObject
%SetModified %SortBegin %SortEnd %SyncObjectIn
%SyncTransport %UnlockExtent %UnlockId %ValidateIndices
%ValidateObject OpenObjectByTime OpenObjectVersion


Parameters


• parameter READONLY = 1;
READONLY = 1 means that objects can be created, opened but not saved or deleted. Tables are projected to SQL as READONLY.

Properties


• property ChangedProperties as %List;
• property Extent as %String;
• property FilingType as %Integer;
The filing operation - 0 = UPDATE, 1 = INSERT, 2 = DELETE
• property Filter as %String(MAXLEN=32000);
• property JournalPtr as %Integer;
• property JrnId as %Integer;
• property NamespaceId as %String;
• property ObjectGUID as %String;
• property ObjectId as %String;
• property OriginNamespaceId as %String;
• property OriginSystemId as %String;
• property SysTranId as %SYS.Journal.Transaction;
• property SystemId as %String;
• relationship Transaction as %Library.ObjectJournalTransaction [ SqlFieldName = Tran,Inverse = Records,Cardinality = parent ];

Methods


• classmethod OpenObjectByTime(pGUID As %String = "", pSyncTime As %Integer = "", ByRef pStatus As %Library.Status) as %Library.ObjectHandle
• 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.

Indices


•index (IDKey on JrnId) [IdKey];