From: Roland Haeder Date: Fri, 11 Mar 2016 22:12:23 +0000 (+0100) Subject: new remote interface for changing email addresses added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e0a9c1ab5eb51135c1ba5fd11229ae185aee601f;p=juser-lib.git new remote interface for changing email addresses added --- 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 index 0000000..537cc2b --- /dev/null +++ b/src/org/mxchange/jusercore/model/email_address/EmailChangeSessionBeanRemote.java @@ -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 . + */ +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 + *

+ * @author Roland Haeder + */ +@Remote +public interface EmailChangeSessionBeanRemote extends Serializable { + + /** + * Enqueues given user's email address for changing. + *

+ * @param user User instance to update + */ + void enqueueEmailAddressForChange (final User user); + + /** + * Updates given user's email address. + *

+ * @param user User instance to update + */ + void updateEmailAddress (final User user); + +} diff --git a/src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java b/src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java index a692f4d..4acac2c 100644 --- a/src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java +++ b/src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java @@ -100,17 +100,4 @@ public interface UserSessionBeanRemote extends Serializable { */ void updateUserPersonalData (final User user); - /** - * Enqueues given user's email address for changing. - *

- * @param user User instance to update - */ - void enqueueEmailAddressForChange (final User user); - - /** - * Updates given user's email address. - *

- * @param user User instance to update - */ - void updateEmailAddress (final User user); }