]> git.mxchange.org Git - jphone-lib.git/commitdiff
right place for these business methods, they are not contact-related and only "phone...
authorRoland Häder <roland@mxchange.org>
Wed, 10 Aug 2016 11:01:15 +0000 (13:01 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 10 Aug 2016 11:01:15 +0000 (13:01 +0200)
src/org/mxchange/jphone/phonenumbers/phone/AdminPhoneSessionBeanRemote.java

index cb52fb4c4edf6baa24b74f62ca9338e37e10562b..7c7398f1d1dd22da8c462b228497c41e5afc8647 100644 (file)
@@ -18,6 +18,7 @@ package org.mxchange.jphone.phonenumbers.phone;
 
 import java.io.Serializable;
 import javax.ejb.Remote;
+import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber;
 
 /**
  * A remote administrative interface for any kind of phone numbers.
@@ -27,4 +28,20 @@ import javax.ejb.Remote;
 @Remote
 public interface AdminPhoneSessionBeanRemote extends Serializable {
 
+       /**
+        * Deletes given cell phone data.
+        * <p>
+        * @param cellPhoneNumber Cell phone data to be deleted
+        */
+       void deleteCellphoneData (final DialableCellphoneNumber cellPhoneNumber);
+
+       /**
+        * Updates data from given cell phone number instance in database
+        * <p>
+        * @param cellPhoneNumber Cell phone number instance to update
+        * <p>
+        * @return Updated cell phone number instance
+        */
+       DialableCellphoneNumber updateCellphoneData (final DialableCellphoneNumber cellPhoneNumber);
+
 }