Class DBEventLog

  • All Implemented Interfaces:
    DBData, JcmsConstants, JaliosConstants, java.io.Serializable

    public class DBEventLog
    extends java.lang.Object
    implements JcmsConstants, DBData
    This class represents a DBEventLog (i.e. an Hibernate write event stored in the DB). It is used by the DBEventLogManager.
    Since:
    jcms-6.0.0
    Author:
    Olivier Dedieu
    See Also:
    Serialized Form
    • Constructor Detail

      • DBEventLog

        public DBEventLog()
      • DBEventLog

        public DBEventLog​(java.lang.String source,
                          java.lang.String target,
                          int op,
                          Data data)
      • DBEventLog

        public DBEventLog​(java.lang.String source,
                          java.lang.String target,
                          org.hibernate.event.PostInsertEvent event)
      • DBEventLog

        public DBEventLog​(java.lang.String source,
                          java.lang.String target,
                          org.hibernate.event.PostUpdateEvent event)
      • DBEventLog

        public DBEventLog​(java.lang.String source,
                          java.lang.String target,
                          org.hibernate.event.PostDeleteEvent event)
    • Method Detail

      • getState

        public java.lang.Object[] getState()
      • getOldState

        public java.lang.Object[] getOldState()
      • setRowId

        public void setRowId​(java.lang.Long rowId)
        Specified by:
        setRowId in interface DBData
      • getRowId

        public java.lang.Long getRowId()
        Specified by:
        getRowId in interface DBData
      • getData

        public Data getData()
      • setData

        public void setData​(Data data)
      • getDataId

        public java.lang.String getDataId()
      • setDataId

        public void setDataId​(java.lang.String dataId)
      • getOp

        public int getOp()
      • setOp

        public void setOp​(int op)
      • getCdate

        public java.util.Date getCdate()
      • setCdate

        public void setCdate​(java.util.Date cdate)
      • getEncState

        public java.lang.String getEncState()
      • setEncState

        public void setEncState​(java.lang.String encState)
      • getEncOldState

        public java.lang.String getEncOldState()
      • setEncOldState

        public void setEncOldState​(java.lang.String encOldState)
      • getSource

        public java.lang.String getSource()
      • setSource

        public void setSource​(java.lang.String source)
      • getTarget

        public java.lang.String getTarget()
      • setTarget

        public void setTarget​(java.lang.String target)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object