Interface UserEventAppenderBiz

All Known Implementing Classes:
AsyncDaoUserEventAppenderBiz, LoggingUserEventAppenderBiz

public interface UserEventAppenderBiz
Service API for appending user events.
  • Method Details

    • addEvent

      UserEvent addEvent(Long userId, LogEventInfo info)
      Add an event.
      Parameters:
      userId - the user account ID
      info - the event info to add
      Returns:
      the generated event
    • addEvent

      static UserEvent addEvent(UserEventAppenderBiz biz, Long userId, LogEventInfo info)
      Helper function to add an event to an optional appender.

      If biz is null, this method simply returns null.

      Parameters:
      biz - the optional appender
      userId - the user account ID
      info - the event info to add
      Returns:
      the generated event, or null if biz is null