From: Roland Häder Date: Thu, 25 Aug 2016 10:09:17 +0000 (+0200) Subject: Continued a bit: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=44578c2cbcf111bea31c597c4365e34c38d2b904;p=juser-activity-lib.git Continued a bit: - added business method for adding single log entry - fixed copyright + author email --- 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); + }