Package de.xima.fc.audit
Class TenantAuditEntry
- java.lang.Object
-
- de.xima.fc.audit.TenantAuditEntry
-
- All Implemented Interfaces:
Serializable
public final class TenantAuditEntry extends Object implements Serializable
Input for a tenant protocol entry: a log entry scoped to a single tenant. Written viaAuditService.record(TenantAuditEntry, de.xima.fc.shared.kernel.user.User).- Since:
- 8.5.6
- Author:
- Norman Lorenz
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTenantAuditEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TenantAuditEntry.Builderbuilder()booleanequals(Object o)StringgetDetails()Optional additional details, ornullif none.StringgetMessage()The log message.UUIDgetTenantUuid()The UUID of the tenant the entry is scoped to.inthashCode()booleanisPreserve()Whether the entry is protected from manual and automatic deletion.StringtoString()
-
-
-
Method Detail
-
builder
public static TenantAuditEntry.Builder builder()
-
getTenantUuid
public UUID getTenantUuid()
The UUID of the tenant the entry is scoped to. Must not benull.
-
getMessage
public String getMessage()
The log message. Must not be blank.
-
getDetails
public String getDetails()
Optional additional details, ornullif none.
-
isPreserve
public boolean isPreserve()
Whether the entry is protected from manual and automatic deletion.
-
-