Interface LogEntry

All Superinterfaces:
KeyValuePair<String,String>, Persistent, PersistentVersion, Serializable

public interface LogEntry extends PersistentVersion
A log entry written when an instance of HasLog is inserted, updated or deleted.
  • Field Details

  • Method Details

    • getAgent

      @Deprecated(forRemoval=true, since="11.0") User getAgent()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the user who made the change.
      Returns:
      a User object
    • getChangeMode

      int getChangeMode()
      Returns the changeMode of this log.
      Returns:
      either INSERT, UPDATE or DELETE
    • getWhen

      @Deprecated(forRemoval=true, since="11.0") Date getWhen()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the time when the change was made.
    • getClassName

      String getClassName()
      Get the class of the changed object.
      Returns:
      the class name
    • getLoggedName

      String getLoggedName()
      Get the name of the changed object.
      Returns:
      the object name
    • getLoggedObject

      @Deprecated(forRemoval=true, since="11.0") Persistent getLoggedObject()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the changed object.
      Returns:
      the changed object