Class RevisionEntityBean

java.lang.Object
org.hibernate.envers.DefaultRevisionEntity
org.hibernate.envers.DefaultTrackingModifiedEntitiesRevisionEntity
com.softslate.commerce.businessobjects.core.RevisionEntityBean
All Implemented Interfaces:
Serializable

@Entity public class RevisionEntityBean extends org.hibernate.envers.DefaultTrackingModifiedEntitiesRevisionEntity
Record the sscRequestLog.requestLogID with each Envers revision. From the RequestLog record, you can retrieve the userName, IP address, URL, etc. Request logging must be enabled with the "Log Requests to Database" setting on the Advanced System Settings screen (Enterprise Edition only), otherwise auditing can still be used but null will be written for all requestIDs.
Author:
David Tobey
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private Integer
     
    private static final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    setRequestLogID(Integer requestLogID)
     

    Methods inherited from class org.hibernate.envers.DefaultTrackingModifiedEntitiesRevisionEntity

    equals, getModifiedEntityNames, hashCode, setModifiedEntityNames, toString

    Methods inherited from class org.hibernate.envers.DefaultRevisionEntity

    getId, getRevisionDate, getTimestamp, setId, setTimestamp

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • RevisionEntityBean

      public RevisionEntityBean()
  • Method Details

    • getRequestLogID

      public Integer getRequestLogID()
    • setRequestLogID

      public void setRequestLogID(Integer requestLogID)