@Immutable public class AuditEvent extends Object implements Serializable, com.helger.commons.id.IHasLongID, com.helger.datetime.domain.IHasCreationDateTime
| Constructor and Description |
|---|
AuditEvent(long nID,
LocalDateTime aCreationDT,
String sActor,
String sOrigin,
EAuditActionType eAction,
com.helger.commons.state.ESuccess eSuccess,
com.helger.commons.collection.impl.ICommonsList<AuditField> aFields)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
com.helger.commons.collection.impl.ICommonsList<AuditField> |
fields() |
EAuditActionType |
getAction() |
String |
getActionID() |
String |
getActor() |
com.helger.commons.collection.impl.ICommonsList<AuditField> |
getAllFields() |
LocalDateTime |
getCreationDateTime() |
long |
getID() |
String |
getOrigin() |
com.helger.commons.state.ESuccess |
getSuccess() |
boolean |
hasAction() |
boolean |
hasActor() |
int |
hashCode() |
boolean |
hasOrigin() |
boolean |
hasSuccess() |
String |
toString() |
public AuditEvent(long nID,
@Nonnull
LocalDateTime aCreationDT,
@Nullable
String sActor,
@Nullable
String sOrigin,
@Nullable
EAuditActionType eAction,
@Nullable
com.helger.commons.state.ESuccess eSuccess,
@Nullable
com.helger.commons.collection.impl.ICommonsList<AuditField> aFields)
nID - internal IDaCreationDT - Creation date and time. May not be null.sActor - Event actor. May be null.sOrigin - Event origin. May be null.eAction - Event action. May be null.eSuccess - Event success. May be null.aFields - List of event fields. May be null.public final long getID()
getID in interface com.helger.commons.id.IHasLongID@Nonnull public final LocalDateTime getCreationDateTime()
getCreationDateTime in interface com.helger.datetime.domain.IHasCreationDateTimepublic boolean hasActor()
public boolean hasOrigin()
@Nullable public EAuditActionType getAction()
public boolean hasAction()
@Nullable public com.helger.commons.state.ESuccess getSuccess()
public boolean hasSuccess()
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<AuditField> getAllFields()
@Nonnull @ReturnsMutableObject public com.helger.commons.collection.impl.ICommonsList<AuditField> fields()
Copyright © 2014–2023 Philip Helger. All rights reserved.