From 44578c2cbcf111bea31c597c4365e34c38d2b904 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 25 Aug 2016 12:09:17 +0200 Subject: [PATCH] Continued a bit: - added business method for adding single log entry - fixed copyright + author email --- .../activity/UserActivityLogSessionBeanRemote.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/org/mxchange/jusercore/model/user/activity/UserActivityLogSessionBeanRemote.java b/src/org/mxchange/jusercore/model/user/activity/UserActivityLogSessionBeanRemote.java index 522eaf1..9326662 100644 --- a/src/org/mxchange/jusercore/model/user/activity/UserActivityLogSessionBeanRemote.java +++ b/src/org/mxchange/jusercore/model/user/activity/UserActivityLogSessionBeanRemote.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016 Cho-Time GmbH + * Copyright (C) 2016 Roland Haeder * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,7 +24,7 @@ import org.mxchange.jusercore.model.user.User; /** * A remote interface for user activity log *

- * @author Roland Haeder + * @author Roland Haeder */ @Remote public interface UserActivityLogSessionBeanRemote extends Serializable { @@ -45,4 +45,12 @@ public interface UserActivityLogSessionBeanRemote extends Serializable { */ List fetchAllUserActivityLog (); + /** + * Adds given user activity log to database. To speedup things, a message + * queue is being used. + *

+ * @param userActivity User activity log (not persisted yet) + */ + void addUserActivityLog (final LogableUserActivity userActivity); + } -- 2.39.5