Interface SaEvent

All Superinterfaces:
Serializable
All Known Implementing Classes:
SaEventImpl

public interface SaEvent extends Serializable
Bean interface for an event. The event is fired every time when some document is changed (i.e. created/updated/deleted).

The event consists of
  • the SYSROWID of the document;
  • the HDOC revisons number;
  • the ID of the event;
  • the events status;
  • timestamp;
  • the ID of the transaction in which the event is raised;
  • the text that comments this event;
  • the list of fields from the documents DDC which have been changed;
    • Method Details

      • getEventNumber

        int getEventNumber()
        Reads the event number.
        Returns:
        the eventNumber
      • getHDoc

        String getHDoc()
        Reads the HDOC for this event.
        Returns:
        the hDoc
      • getStatus

        int getStatus()
        Reads the status of this event.
        Returns:
        the status
      • getSysRowId

        String getSysRowId()
        Reads the SysRowId of this event.
        Returns:
        the sysRowId
      • getTimestamp

        Date getTimestamp()
        Reads the timestamp of this event.
        Returns:
        the timestamp
      • getTransactionId

        String getTransactionId()
        Reads the transaction ID of this event.
        Returns:
        the transactionId
      • getFieldNames

        String[] getFieldNames()
        Reads the fieldnames of this event.
        Returns:
        Changed fieldnames
      • getDDCName

        String getDDCName()
        Reads the ddc name.
        Returns:
        ddc name
      • getLinkDDCName

        String getLinkDDCName()
        Returns:
        mixin ddc name
      • getParentId

        String getParentId()
        Returns:
        the parentId