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 Detail

      • getDateTime

        @Nonnull
        LocalDateTime getDateTime()
        Returns:
        The date and time when the audit item was created
      • 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:
        isSuccess in interface com.helger.commons.state.ISuccessIndicator
      • getAction

        @Nonnull
        String getAction()
        Returns:
        The performed action in a textual representation like "action(param1,param2,...)"