Interface AuditLogProvider

  • All Known Implementing Classes:
    AuditLogProviderImpl

    public interface AuditLogProvider
    Provides audit log actions.
    Author:
    Maxim.Manuylov Date: 19.10.12
    • Method Detail

      • findLastComment

        @Nullable
        Comment findLastComment​(@NotNull
                                AuditLogObject object,
                                @NotNull
                                ActionType... actionTypes)
        Returns comment of the last action with one of the specified action types of the specified object
        Parameters:
        object - object
        actionTypes - action types
        Returns:
        comment of the last action
      • findLastAction

        @Nullable
        AuditLogAction findLastAction​(@NotNull
                                      AuditLogObject object,
                                      @NotNull
                                      ActionType... actionTypes)
        Returns the last action with one of the specified action types of the specified object
        Parameters:
        object - object
        actionTypes - action types
        Returns:
        last action
      • findLastAction

        @Nullable
        AuditLogAction findLastAction​(@NotNull
                                      AuditLogObject object,
                                      @NotNull
                                      ActionTypeSet actionTypeSet)
        Returns the last action with one of the specified action types of the specified object
        Parameters:
        object - object
        actionTypeSet - action type set
        Returns:
        last action