Class AuditEvent


  • public class AuditEvent
    extends Object
    • Field Detail

      • EMPTY_PARAMS

        protected static final com.google.common.collect.ImmutableListMultimap<String,​?> EMPTY_PARAMS
      • sessionId

        public final String sessionId
      • when

        public final long when
      • what

        public final String what
      • params

        public final com.google.common.collect.ListMultimap<String,​?> params
      • result

        public final Object result
      • timeAtStart

        public final long timeAtStart
      • elapsed

        public final long elapsed
    • Constructor Detail

      • AuditEvent

        public AuditEvent​(String sessionId,
                          CurrentUser who,
                          String what,
                          long when,
                          com.google.common.collect.ListMultimap<String,​?> params,
                          Object result)
        Creates a new audit event with results
        Parameters:
        sessionId - session id the event belongs to
        who - principal that has generated the event
        what - object of the event
        when - time-stamp of when the event started
        params - parameters of the event
        result - result of the event