From 67ed878a148e2f9f1ebb39a98364251e1fa92fc9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 8 Aug 2016 15:22:38 +0200 Subject: [PATCH] Please rename: - this is no longer a contact's land-line/cellphone number controller, it only handles the number data itself - unlink/link with contact or employees or anything must be done in that specific controller MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder Signed-off-by: Roland Häder --- .../addressbook/beans/helper/AddressbookWebRequestHelper.java | 4 ++-- ...uestBean.java => AddressbookAdminPhoneWebRequestBean.java} | 4 ++-- ...er.java => AddressbookAdminPhoneWebRequestController.java} | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename src/java/org/mxchange/addressbook/beans/phone/{AddressbookAdminContactPhoneWebRequestBean.java => AddressbookAdminPhoneWebRequestBean.java} (95%) rename src/java/org/mxchange/addressbook/beans/phone/{AddressbookAdminContactPhoneWebRequestController.java => AddressbookAdminPhoneWebRequestController.java} (96%) diff --git a/src/java/org/mxchange/addressbook/beans/helper/AddressbookWebRequestHelper.java b/src/java/org/mxchange/addressbook/beans/helper/AddressbookWebRequestHelper.java index 93c9f60d..ffb7490f 100644 --- a/src/java/org/mxchange/addressbook/beans/helper/AddressbookWebRequestHelper.java +++ b/src/java/org/mxchange/addressbook/beans/helper/AddressbookWebRequestHelper.java @@ -21,13 +21,13 @@ import javax.enterprise.context.RequestScoped; import javax.inject.Inject; import javax.inject.Named; import org.mxchange.addressbook.beans.contact.AddressbookAdminContactWebRequestController; -import org.mxchange.addressbook.beans.phone.AddressbookAdminContactPhoneWebRequestController; import org.mxchange.addressbook.beans.user.AddressbookUserWebSessionController; import org.mxchange.jcontacts.contact.Contact; import org.mxchange.jphone.phonenumbers.cellphone.DialableCellphoneNumber; import org.mxchange.jphone.phonenumbers.fax.DialableFaxNumber; import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber; import org.mxchange.jusercore.model.user.User; +import org.mxchange.addressbook.beans.phone.AddressbookAdminPhoneWebRequestController; /** * A general helper for beans @@ -53,7 +53,7 @@ public class AddressbookWebRequestHelper implements AddressbookWebRequestControl * Administrative phone controller */ @Inject - private AddressbookAdminContactPhoneWebRequestController adminPhoneController; + private AddressbookAdminPhoneWebRequestController adminPhoneController; /** * Contact instance diff --git a/src/java/org/mxchange/addressbook/beans/phone/AddressbookAdminContactPhoneWebRequestBean.java b/src/java/org/mxchange/addressbook/beans/phone/AddressbookAdminPhoneWebRequestBean.java similarity index 95% rename from src/java/org/mxchange/addressbook/beans/phone/AddressbookAdminContactPhoneWebRequestBean.java rename to src/java/org/mxchange/addressbook/beans/phone/AddressbookAdminPhoneWebRequestBean.java index 3284465a..97b2aa3b 100644 --- a/src/java/org/mxchange/addressbook/beans/phone/AddressbookAdminContactPhoneWebRequestBean.java +++ b/src/java/org/mxchange/addressbook/beans/phone/AddressbookAdminPhoneWebRequestBean.java @@ -39,7 +39,7 @@ import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber; */ @Named ("adminPhoneController") @RequestScoped -public class AddressbookAdminContactPhoneWebRequestBean extends BaseAddressbookController implements AddressbookAdminContactPhoneWebRequestController { +public class AddressbookAdminPhoneWebRequestBean extends BaseAddressbookController implements AddressbookAdminPhoneWebRequestController { /** * Serial number @@ -86,7 +86,7 @@ public class AddressbookAdminContactPhoneWebRequestBean extends BaseAddressbookC /** * Default constructor */ - public AddressbookAdminContactPhoneWebRequestBean () { + public AddressbookAdminPhoneWebRequestBean () { // Try it try { // Get initial context diff --git a/src/java/org/mxchange/addressbook/beans/phone/AddressbookAdminContactPhoneWebRequestController.java b/src/java/org/mxchange/addressbook/beans/phone/AddressbookAdminPhoneWebRequestController.java similarity index 96% rename from src/java/org/mxchange/addressbook/beans/phone/AddressbookAdminContactPhoneWebRequestController.java rename to src/java/org/mxchange/addressbook/beans/phone/AddressbookAdminPhoneWebRequestController.java index 2ef40a6b..c4d0b84c 100644 --- a/src/java/org/mxchange/addressbook/beans/phone/AddressbookAdminContactPhoneWebRequestController.java +++ b/src/java/org/mxchange/addressbook/beans/phone/AddressbookAdminPhoneWebRequestController.java @@ -29,7 +29,7 @@ import org.mxchange.jphone.phonenumbers.landline.DialableLandLineNumber; *

* @author Roland Haeder */ -public interface AddressbookAdminContactPhoneWebRequestController extends Serializable { +public interface AddressbookAdminPhoneWebRequestController extends Serializable { /** * Getter for all contacts having current cellphone instance linked -- 2.39.5