Package com.helger.photon.audit
Interface IAuditItem
-
- All Superinterfaces:
com.helger.security.authentication.subject.user.IHasUserID,com.helger.commons.state.ISuccessIndicator,Serializable
- All Known Implementing Classes:
AuditItem
@MustImplementEqualsAndHashcode public interface IAuditItem extends com.helger.security.authentication.subject.user.IHasUserID, com.helger.commons.state.ISuccessIndicator, Serializable
Base interface for a single audit item- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetAction()LocalDateTimegetDateTime()com.helger.commons.state.ESuccessgetSuccess()EAuditActionTypegetType()default StringgetTypeID()default booleanisSuccess()
-
-
-
Method Detail
-
getDateTime
@Nonnull LocalDateTime getDateTime()
- Returns:
- The date and time when the audit item was created
-
getType
@Nonnull EAuditActionType getType()
- Returns:
- The audit action type. Never
null.
-
getTypeID
@Nonnull @Nonempty default String getTypeID()
- Returns:
- The ID of the audit action type. Never
null.
-
getSuccess
@Nonnull com.helger.commons.state.ESuccess getSuccess()
- Returns:
- Success or error?
-
isSuccess
default boolean isSuccess()
- Specified by:
isSuccessin interfacecom.helger.commons.state.ISuccessIndicator
-
-