Interface AuditLogEntity

All Known Implementing Classes:
AuditLogEntityEntity, ImmutableAuditLogEntity

public interface AuditLogEntity
Represents an object affected by an auditable event.
Since:
3.2.0
  • Method Details

    • getEntityType

      @Nullable AuditLogEntityType getEntityType()
      Returns:
      the type of the affected object
    • getEntityId

      @Nullable Long getEntityId()
      Returns:
      the identifier of the affected object (exact semantic depends on the entity type)
    • getEntityName

      @Nullable String getEntityName()
      Returns the name of the affected object. This is particularly useful when the object does not exist anymore
      Returns:
      the name of the affected object at the time the event occurred
    • isPrimary

      boolean isPrimary()
      Returns:
      Returns true if the object is the primary affected object in the transaction