Home > Class Reference > ENSLIB namespace > %Library.ObjectJournalTransaction

%Library.ObjectJournalTransaction

persistent class %Library.ObjectJournalTransaction extends %Library.Persistent

SQL Table Name: %Library.ObjectJournalTransaction

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

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

Properties (Including Private)

property ChangedProperties as %List;
Property methods: ChangedPropertiesGet(), ChangedPropertiesGetStored(), ChangedPropertiesIsValid(), ChangedPropertiesLogicalToOdbc(), ChangedPropertiesOdbcToLogical(), ChangedPropertiesSet()
relationship Records as array of %Library.ObjectJournalRecord [ InitialExpression = $listbuild("%Library.ObjectJournalRecord","Transaction",+$this,"children",1,1) , Transient , Inverse = Transaction , Cardinality = children ];
Property methods: RecordsGet(), RecordsGetObject(), RecordsGetObjectId(), RecordsGetSwizzled(), RecordsIsEmpty(), RecordsIsValid(), RecordsNewObject(), RecordsRClose(), RecordsRExec(), RecordsRFetch(), RecordsRelate(), RecordsSQLCompute(), RecordsSet(), RecordsUnRelate()
property SysTranId as %SYS.Journal.Transaction;
Property methods: SysTranIdGet(), SysTranIdGetObject(), SysTranIdGetObjectId(), SysTranIdGetStored(), SysTranIdGetSwizzled(), SysTranIdIsValid(), SysTranIdNewObject(), SysTranIdSet(), SysTranIdSetObject(), SysTranIdSetObjectId(), SysTranIdUnSwizzle()
property TranId as %Integer [ Required ];
Property methods: TranIdDisplayToLogical(), TranIdGet(), TranIdGetStored(), TranIdIsValid(), TranIdLogicalToDisplay(), TranIdNormalize(), TranIdSet()

Methods (Including Private)

method AddJrnTranToSyncSet(objSyncSet As %ObjectHandle, lExclude As %List) as %Status
classmethod PurgeUpToTxn(minValue As %Integer) as %Status
This method removes entries from the object journal up to minValue (exclusive)

Indexes

index (IDKey on TranId) [IdKey, Type = key];
Index methods: IDKeyCheck(), IDKeyDelete(), IDKeyExists(), IDKeyOpen(), IDKeySQLCheckUnique(), IDKeySQLExists(), IDKeySQLFindPKeyByConstraint(), IDKeySQLFindRowIDByConstraint()

Inherited Members

Inherited Methods (Including Private)

Storage

Storage Model: CacheStorage (%Library.ObjectJournalTransaction)

^OBJ.JournalT(ID)
=
%%CLASSNAME
SysTranId
ChangedProperties