]> git.mxchange.org Git - jcustomer-lib.git/commitdiff
Merge branch 'master' of /media/quix0r/Transport/Java Project/jcustomer-lib
authorRoland Haeder <roland@mxchange.org>
Wed, 27 Apr 2016 18:59:59 +0000 (20:59 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 27 Apr 2016 18:59:59 +0000 (20:59 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jcustomercore/model/customer/AdminCustomerSessionBeanRemote.java

index fe0e894546f3f864a00449f626779186ce4bc05b..7ea851ef35d1ed94cef4ed13770f3a6678274188 100644 (file)
@@ -30,6 +30,20 @@ import org.mxchange.jcustomercore.exceptions.CustomerAlreadyRegisteredException;
 @Remote
 public interface AdminCustomerSessionBeanRemote extends Serializable {
 
+       /**
+        * Links customer instance with included contact instance and returns an
+        * updated customer instance after success.
+        * <p>
+        * @param customer Customer with included contact insrtance
+        * <p>
+        * @return Updated customer instance
+        * <p>
+        * @throws
+        * org.mxchange.jcustomercore.exceptions.CustomerAlreadyRegisteredException
+        * If the customer is already there
+        */
+       Customer linkCustomer (final Customer customer) throws CustomerAlreadyRegisteredException;
+
        /**
         * Returns a list of all customers. This method should be used from
         * administrative beans.