Skip to main content

%Library.ObjectJournalRecord

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

SQL Table Name: %Library.ObjectJournalRecord

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()
property Extent as %String;
Property methods: ExtentDisplayToLogical(), ExtentGet(), ExtentGetStored(), ExtentIsValid(), ExtentLogicalToDisplay(), ExtentLogicalToOdbc(), ExtentNormalize(), ExtentSet()
property FilingType as %Integer;
The filing operation - 0 = UPDATE, 1 = INSERT, 2 = DELETE
Property methods: FilingTypeDisplayToLogical(), FilingTypeGet(), FilingTypeGetStored(), FilingTypeIsValid(), FilingTypeLogicalToDisplay(), FilingTypeNormalize(), FilingTypeSet()
property Filter as %String (MAXLEN = 32000);
Property methods: FilterDisplayToLogical(), FilterGet(), FilterGetStored(), FilterIsValid(), FilterLogicalToDisplay(), FilterLogicalToOdbc(), FilterNormalize(), FilterSet()
property JournalPtr as %Integer;
Property methods: JournalPtrDisplayToLogical(), JournalPtrGet(), JournalPtrGetStored(), JournalPtrIsValid(), JournalPtrLogicalToDisplay(), JournalPtrNormalize(), JournalPtrSet()
property JrnId as %Integer [ Required ];
Property methods: JrnIdDisplayToLogical(), JrnIdGet(), JrnIdGetStored(), JrnIdIsValid(), JrnIdLogicalToDisplay(), JrnIdNormalize(), JrnIdSet()
property NamespaceId as %String;
Property methods: NamespaceIdDisplayToLogical(), NamespaceIdGet(), NamespaceIdGetStored(), NamespaceIdIsValid(), NamespaceIdLogicalToDisplay(), NamespaceIdLogicalToOdbc(), NamespaceIdNormalize(), NamespaceIdSet()
property ObjectGUID as %String;
Property methods: ObjectGUIDDisplayToLogical(), ObjectGUIDGet(), ObjectGUIDGetStored(), ObjectGUIDIsValid(), ObjectGUIDLogicalToDisplay(), ObjectGUIDLogicalToOdbc(), ObjectGUIDNormalize(), ObjectGUIDSet()
property ObjectId as %String;
Property methods: ObjectIdDisplayToLogical(), ObjectIdGet(), ObjectIdGetStored(), ObjectIdIsValid(), ObjectIdLogicalToDisplay(), ObjectIdLogicalToOdbc(), ObjectIdNormalize(), ObjectIdSet()
property OriginNamespaceId as %String;
Property methods: OriginNamespaceIdDisplayToLogical(), OriginNamespaceIdGet(), OriginNamespaceIdGetStored(), OriginNamespaceIdIsValid(), OriginNamespaceIdLogicalToDisplay(), OriginNamespaceIdLogicalToOdbc(), OriginNamespaceIdNormalize(), OriginNamespaceIdSet()
property OriginSystemId as %String;
Property methods: OriginSystemIdDisplayToLogical(), OriginSystemIdGet(), OriginSystemIdGetStored(), OriginSystemIdIsValid(), OriginSystemIdLogicalToDisplay(), OriginSystemIdLogicalToOdbc(), OriginSystemIdNormalize(), OriginSystemIdSet()
property SysTranId as %SYS.Journal.Transaction;
Property methods: SysTranIdGet(), SysTranIdGetObject(), SysTranIdGetObjectId(), SysTranIdGetStored(), SysTranIdGetSwizzled(), SysTranIdIsValid(), SysTranIdNewObject(), SysTranIdSet(), SysTranIdSetObject(), SysTranIdSetObjectId(), SysTranIdUnSwizzle()
property SystemId as %String;
Property methods: SystemIdDisplayToLogical(), SystemIdGet(), SystemIdGetStored(), SystemIdIsValid(), SystemIdLogicalToDisplay(), SystemIdLogicalToOdbc(), SystemIdNormalize(), SystemIdSet()
relationship Transaction as %Library.ObjectJournalTransaction [ SqlFieldName = Tran , Required , Inverse = Records , Cardinality = parent ];
Property methods: TransactionGet(), TransactionGetObject(), TransactionGetObjectId(), TransactionGetStored(), TransactionGetSwizzled(), TransactionIsValid(), TransactionNewObject(), TransactionOnDelete(), TransactionRClose(), TransactionRExec(), TransactionRFetch(), TransactionRelate(), TransactionSQLCompute(), TransactionSet(), TransactionSetObject(), TransactionSetObjectId(), TransactionUnRelate(), TransactionUnSwizzle()

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.

Indexes

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

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (%Library.ObjectJournalRecord)

^OBJ.JournalT(ID,"%%CHANGED")
=
ChangedProperties

Storage Model: Storage (%Library.ObjectJournalRecord)

^OBJ.JournalT(ID,"%%FILTER")
=
Filter

Storage Model: Storage (%Library.ObjectJournalRecord)

^OBJ.JournalT(ID)
=
ObjectId
FilingType
Extent
SystemId
NamespaceId
OriginSystemId
OriginNamespaceId
SysTranId
ObjectGUID
JournalPtr
%%CLASSNAME
FeedbackOpens in a new tab