]> git.mxchange.org Git - jcontacts-lib.git/commitdiff
added business method for updating cellphone numbers
authorRoland Häder <roland@mxchange.org>
Tue, 9 Aug 2016 13:31:53 +0000 (15:31 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 9 Aug 2016 13:31:53 +0000 (15:31 +0200)
src/org/mxchange/jcontacts/phone/AdminContactsPhoneSessionBeanRemote.java

index a41a9bb83bcb1dde7d91d9a52b392da2c7d213f3..6fa96b0aca8a728e23f24796a45351e896599c38 100644 (file)
@@ -18,6 +18,7 @@ package org.mxchange.jcontacts.phone;
 
 import java.io.Serializable;
 import javax.ejb.Remote;
+import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber;
 
 /**
  * A remote interface for administrative purposes around contact's phone numbers
@@ -28,4 +29,13 @@ import javax.ejb.Remote;
 @Remote
 public interface AdminContactsPhoneSessionBeanRemote extends Serializable {
 
+       /**
+        * Updates data from given cellphone number instance in database
+        * <p>
+        * @param cellPhoneNumber Cellphone number instance to update
+        * <p>
+        * @return Updated cellphone number instance
+        */
+       DialableCellphoneNumber updateCellphoneData (final DialableCellphoneNumber cellPhoneNumber);
+
 }