IRISLIB database
ObjectLog Class Reference

The <CLASS>SYNC.ObjectLog</CLASS> class is used for retrieval of the collection of <CLASS>Library.ObjectJournalRecord</CLASS> entries related to a given class instance modifications ( the corresponding class should be both GUID enabled and journalled). More...

Inheritance diagram for ObjectLog:
Collaboration diagram for ObjectLog:

Public Member Functions

_.Library.Status OnNew (guid, StartTransaction, EndTransaction)
 The <CLASS>SYNC.ObjectLog</CLASS> class is used for retrieval of the collection of <CLASS>Library.ObjectJournalRecord</CLASS> entries related to a given class instance modifications ( the corresponding class should be both GUID enabled and journalled). More...
 
- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 

Public Attributes

 EndTransaction
   More...
 
 StartTransaction
   More...
 
 guid
   More...
 
 log
   More...
 

Additional Inherited Members

- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Detailed Description

The <CLASS>SYNC.ObjectLog</CLASS> class is used for retrieval of the collection of <CLASS>Library.ObjectJournalRecord</CLASS> entries related to a given class instance modifications ( the corresponding class should be both GUID enabled and journalled).

The <METHOD>New</METHOD> method accepts three arguments: the guid, start time and end time. Only the modifications occured in a specified interval are included in the collection.

s ol=##class(SYNC.ObjectLog).<METHOD>New</METHOD>(guid,startTtransaction,endTransaction) Write ol.log.Size

Member Function Documentation

◆ OnNew()

_.Library.Status OnNew (   guid,
  StartTransaction,
  EndTransaction 
)

The <CLASS>SYNC.ObjectLog</CLASS> class is used for retrieval of the collection of <CLASS>Library.ObjectJournalRecord</CLASS> entries related to a given class instance modifications ( the corresponding class should be both GUID enabled and journalled).

The <METHOD>New</METHOD> method accepts three arguments: the guid, start time and end time. Only the modifications occured in a specified interval are included in the collection.

s ol=##class(SYNC.ObjectLog).<METHOD>New</METHOD>(guid,startTtransaction,endTransaction) Write ol.log.Size

This callback method is invoked by the <METHOD>New</METHOD> method to

provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from New(). For example, if you're going to call New, passing 2 arguments, OnNew's signature could be:

Method OnNew(dob as Date = "", name as Name = "") as Status

Member Data Documentation

◆ EndTransaction

EndTransaction

 

 

◆ StartTransaction

StartTransaction

 

 

◆ guid

guid

 

 

◆ log

log