Skip to main content

%Library.ObjectJournalTransaction

persistent class %Library.ObjectJournalTransaction extends %Library.Persistent [ Final ]

SQL Table Name: %Library.ObjectJournalTransaction

Property Inventory

Method Inventory

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

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

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

Storage

Storage Model: Storage (%Library.ObjectJournalTransaction)

^OBJ.JournalT(ID)
=
%%CLASSNAME
SysTranId
ChangedProperties
FeedbackOpens in a new tab