]> git.mxchange.org Git - juser-login-lib.git/commitdiff
new remote interface for changing email addresses added
authorRoland Haeder <roland@mxchange.org>
Fri, 11 Mar 2016 22:12:23 +0000 (23:12 +0100)
committerRoland Haeder <roland@mxchange.org>
Fri, 11 Mar 2016 22:12:23 +0000 (23:12 +0100)
src/org/mxchange/jusercore/model/email_address/EmailChangeSessionBeanRemote.java [new file with mode: 0644]
src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java

diff --git a/src/org/mxchange/jusercore/model/email_address/EmailChangeSessionBeanRemote.java b/src/org/mxchange/jusercore/model/email_address/EmailChangeSessionBeanRemote.java
new file mode 100644 (file)
index 0000000..537cc2b
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+ * Copyright (C) 2016 quix0r
+ *
+ * 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
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jusercore.model.email_address;
+
+import java.io.Serializable;
+import javax.ejb.Remote;
+import org.mxchange.jusercore.model.user.User;
+
+/**
+ * A remote interface for changing email addresses
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+@Remote
+public interface EmailChangeSessionBeanRemote extends Serializable {
+
+       /**
+        * Enqueues given user's email address for changing.
+        * <p>
+        * @param user User instance to update
+        */
+       void enqueueEmailAddressForChange (final User user);
+
+       /**
+        * Updates given user's email address.
+        * <p>
+        * @param user User instance to update
+        */
+       void updateEmailAddress (final User user);
+
+}
index a692f4d89e3af0a8f5e99970fcf60d5f3fff12ec..4acac2c5dcbd74ae4a5c65dcdd33143294b93cd6 100644 (file)
@@ -100,17 +100,4 @@ public interface UserSessionBeanRemote extends Serializable {
         */
        void updateUserPersonalData (final User user);
 
-       /**
-        * Enqueues given user's email address for changing.
-        * <p>
-        * @param user User instance to update
-        */
-       void enqueueEmailAddressForChange (final User user);
-
-       /**
-        * Updates given user's email address.
-        * <p>
-        * @param user User instance to update
-        */
-       void updateEmailAddress (final User user);
 }