Package net.solarnetwork.central.biz
Interface UserEventAppenderBiz
- All Known Implementing Classes:
AsyncDaoUserEventAppenderBiz,LoggingUserEventAppenderBiz
public interface UserEventAppenderBiz
Service API for appending user events.
-
Method Summary
Modifier and TypeMethodDescriptionaddEvent(Long userId, LogEventInfo info) Add an event.static UserEventaddEvent(UserEventAppenderBiz biz, Long userId, LogEventInfo info) Helper function to add an event to an optional appender.
-
Method Details
-
addEvent
Add an event.- Parameters:
userId- the user account IDinfo- the event info to add- Returns:
- the generated event
-
addEvent
Helper function to add an event to an optional appender.If
bizis null, this method simply returns null.- Parameters:
biz- the optional appenderuserId- the user account IDinfo- the event info to add- Returns:
- the generated event, or null if
bizis null
-