From 74e99167ce4e6f35f4bd7cb9e60d3f1f83238769 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 15 Feb 2016 20:34:36 +0100 Subject: [PATCH] renamed packages (addressbook import) + added event for logging in --- .../beans/addressbook/AddressbookWebSessionBean.java | 4 ++-- .../addressbook/AddressbookWebSessionController.java | 2 +- .../beans/country/CountryWebApplicationBean.java | 2 +- .../country/CountryWebApplicationController.java | 2 +- .../beans/gender/GenderWebApplicationBean.java | 2 +- .../beans/gender/GenderWebApplicationController.java | 2 +- .../beans/login/UserLoginWebSessionBean.java | 4 ++-- .../beans/login/UserLoginWebSessionController.java | 2 +- .../beans/profile/UserProfileWebRequestBean.java | 6 +++--- .../profile/UserProfileWebRequestController.java | 2 +- .../profilemode/ProfileModeWebApplicationBean.java | 2 +- .../ProfileModeWebApplicationController.java | 2 +- .../beans/register/UserRegisterWebSessionBean.java | 4 ++-- .../register/UserRegisterWebSessionController.java | 2 +- .../beans/shares/SharesWebSessionBean.java | 12 ++---------- .../beans/shares/SharesWebSessionController.java | 2 +- .../smsprovider/SmsProviderWebApplicationBean.java | 2 +- .../SmsProviderWebApplicationController.java | 2 +- .../beans/user/UserWebSessionBean.java | 4 ++-- .../beans/user/UserWebSessionController.java | 2 +- .../converter/country/CountryConverter.java | 2 +- .../converter/smsprovider/SmsProviderConverter.java | 2 +- .../converter/user/UserConverter.java | 4 ++-- web/WEB-INF/faces-config.xml | 6 +++--- 24 files changed, 34 insertions(+), 42 deletions(-) rename src/java/org/mxchange/{addressbook => jjobs}/beans/addressbook/AddressbookWebSessionBean.java (98%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/addressbook/AddressbookWebSessionController.java (99%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/country/CountryWebApplicationBean.java (97%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/country/CountryWebApplicationController.java (95%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/gender/GenderWebApplicationBean.java (97%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/gender/GenderWebApplicationController.java (96%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/login/UserLoginWebSessionBean.java (97%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/login/UserLoginWebSessionController.java (97%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/profile/UserProfileWebRequestBean.java (95%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/profile/UserProfileWebRequestController.java (97%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/profilemode/ProfileModeWebApplicationBean.java (96%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/profilemode/ProfileModeWebApplicationController.java (95%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/register/UserRegisterWebSessionBean.java (97%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/register/UserRegisterWebSessionController.java (95%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/shares/SharesWebSessionBean.java (96%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/shares/SharesWebSessionController.java (98%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/smsprovider/SmsProviderWebApplicationBean.java (97%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/smsprovider/SmsProviderWebApplicationController.java (95%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/user/UserWebSessionBean.java (99%) rename src/java/org/mxchange/{addressbook => jjobs}/beans/user/UserWebSessionController.java (99%) rename src/java/org/mxchange/{addressbook => jjobs}/converter/country/CountryConverter.java (98%) rename src/java/org/mxchange/{addressbook => jjobs}/converter/smsprovider/SmsProviderConverter.java (98%) rename src/java/org/mxchange/{addressbook => jjobs}/converter/user/UserConverter.java (97%) diff --git a/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionBean.java b/src/java/org/mxchange/jjobs/beans/addressbook/AddressbookWebSessionBean.java similarity index 98% rename from src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionBean.java rename to src/java/org/mxchange/jjobs/beans/addressbook/AddressbookWebSessionBean.java index d01fbbef..861e0553 100644 --- a/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionBean.java +++ b/src/java/org/mxchange/jjobs/beans/addressbook/AddressbookWebSessionBean.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.beans.addressbook; +package org.mxchange.jjobs.beans.addressbook; import java.text.MessageFormat; import java.util.Calendar; @@ -34,7 +34,7 @@ import javax.inject.Named; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; -import org.mxchange.addressbook.beans.login.UserLoginWebSessionController; +import org.mxchange.jjobs.beans.login.UserLoginWebSessionController; import org.mxchange.addressbook.events.addressbook.AddressbookLoadedEvent; import org.mxchange.addressbook.exceptions.AddressbookNameAlreadyUsedException; import org.mxchange.addressbook.model.addressbook.Addressbook; diff --git a/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionController.java b/src/java/org/mxchange/jjobs/beans/addressbook/AddressbookWebSessionController.java similarity index 99% rename from src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionController.java rename to src/java/org/mxchange/jjobs/beans/addressbook/AddressbookWebSessionController.java index af97a86b..303d4f7b 100644 --- a/src/java/org/mxchange/addressbook/beans/addressbook/AddressbookWebSessionController.java +++ b/src/java/org/mxchange/jjobs/beans/addressbook/AddressbookWebSessionController.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.beans.addressbook; +package org.mxchange.jjobs.beans.addressbook; import java.io.Serializable; import java.util.Calendar; diff --git a/src/java/org/mxchange/addressbook/beans/country/CountryWebApplicationBean.java b/src/java/org/mxchange/jjobs/beans/country/CountryWebApplicationBean.java similarity index 97% rename from src/java/org/mxchange/addressbook/beans/country/CountryWebApplicationBean.java rename to src/java/org/mxchange/jjobs/beans/country/CountryWebApplicationBean.java index b994cd84..b74576c6 100644 --- a/src/java/org/mxchange/addressbook/beans/country/CountryWebApplicationBean.java +++ b/src/java/org/mxchange/jjobs/beans/country/CountryWebApplicationBean.java @@ -1,4 +1,4 @@ -package org.mxchange.addressbook.beans.country; +package org.mxchange.jjobs.beans.country; /* * Copyright (C) 2016 Roland Haeder diff --git a/src/java/org/mxchange/addressbook/beans/country/CountryWebApplicationController.java b/src/java/org/mxchange/jjobs/beans/country/CountryWebApplicationController.java similarity index 95% rename from src/java/org/mxchange/addressbook/beans/country/CountryWebApplicationController.java rename to src/java/org/mxchange/jjobs/beans/country/CountryWebApplicationController.java index bc70b9ce..e72b1929 100644 --- a/src/java/org/mxchange/addressbook/beans/country/CountryWebApplicationController.java +++ b/src/java/org/mxchange/jjobs/beans/country/CountryWebApplicationController.java @@ -1,4 +1,4 @@ -package org.mxchange.addressbook.beans.country; +package org.mxchange.jjobs.beans.country; /* * Copyright (C) 2016 Roland Haeder diff --git a/src/java/org/mxchange/addressbook/beans/gender/GenderWebApplicationBean.java b/src/java/org/mxchange/jjobs/beans/gender/GenderWebApplicationBean.java similarity index 97% rename from src/java/org/mxchange/addressbook/beans/gender/GenderWebApplicationBean.java rename to src/java/org/mxchange/jjobs/beans/gender/GenderWebApplicationBean.java index 1738fcf1..87943ab0 100644 --- a/src/java/org/mxchange/addressbook/beans/gender/GenderWebApplicationBean.java +++ b/src/java/org/mxchange/jjobs/beans/gender/GenderWebApplicationBean.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.beans.gender; +package org.mxchange.jjobs.beans.gender; import java.util.List; import javax.enterprise.context.ApplicationScoped; diff --git a/src/java/org/mxchange/addressbook/beans/gender/GenderWebApplicationController.java b/src/java/org/mxchange/jjobs/beans/gender/GenderWebApplicationController.java similarity index 96% rename from src/java/org/mxchange/addressbook/beans/gender/GenderWebApplicationController.java rename to src/java/org/mxchange/jjobs/beans/gender/GenderWebApplicationController.java index 9f24dbfd..90280e84 100644 --- a/src/java/org/mxchange/addressbook/beans/gender/GenderWebApplicationController.java +++ b/src/java/org/mxchange/jjobs/beans/gender/GenderWebApplicationController.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.beans.gender; +package org.mxchange.jjobs.beans.gender; import java.io.Serializable; import java.util.List; diff --git a/src/java/org/mxchange/addressbook/beans/login/UserLoginWebSessionBean.java b/src/java/org/mxchange/jjobs/beans/login/UserLoginWebSessionBean.java similarity index 97% rename from src/java/org/mxchange/addressbook/beans/login/UserLoginWebSessionBean.java rename to src/java/org/mxchange/jjobs/beans/login/UserLoginWebSessionBean.java index 314285e4..6bd77670 100644 --- a/src/java/org/mxchange/addressbook/beans/login/UserLoginWebSessionBean.java +++ b/src/java/org/mxchange/jjobs/beans/login/UserLoginWebSessionBean.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.beans.login; +package org.mxchange.jjobs.beans.login; import java.util.Objects; import javax.enterprise.context.SessionScoped; @@ -26,7 +26,7 @@ import javax.inject.Named; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; -import org.mxchange.addressbook.beans.user.UserWebSessionController; +import org.mxchange.jjobs.beans.user.UserWebSessionController; import org.mxchange.jusercore.container.login.LoginContainer; import org.mxchange.jusercore.container.login.UserLoginContainer; import org.mxchange.jusercore.events.login.UserLoggedInEvent; diff --git a/src/java/org/mxchange/addressbook/beans/login/UserLoginWebSessionController.java b/src/java/org/mxchange/jjobs/beans/login/UserLoginWebSessionController.java similarity index 97% rename from src/java/org/mxchange/addressbook/beans/login/UserLoginWebSessionController.java rename to src/java/org/mxchange/jjobs/beans/login/UserLoginWebSessionController.java index 31d9b212..7e156f8c 100644 --- a/src/java/org/mxchange/addressbook/beans/login/UserLoginWebSessionController.java +++ b/src/java/org/mxchange/jjobs/beans/login/UserLoginWebSessionController.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.beans.login; +package org.mxchange.jjobs.beans.login; import java.io.Serializable; import org.mxchange.jusercore.model.user.User; diff --git a/src/java/org/mxchange/addressbook/beans/profile/UserProfileWebRequestBean.java b/src/java/org/mxchange/jjobs/beans/profile/UserProfileWebRequestBean.java similarity index 95% rename from src/java/org/mxchange/addressbook/beans/profile/UserProfileWebRequestBean.java rename to src/java/org/mxchange/jjobs/beans/profile/UserProfileWebRequestBean.java index c10dff0c..b692c7fc 100644 --- a/src/java/org/mxchange/addressbook/beans/profile/UserProfileWebRequestBean.java +++ b/src/java/org/mxchange/jjobs/beans/profile/UserProfileWebRequestBean.java @@ -14,15 +14,15 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.beans.profile; +package org.mxchange.jjobs.beans.profile; import java.text.MessageFormat; import javax.enterprise.context.RequestScoped; import javax.faces.view.facelets.FaceletException; import javax.inject.Inject; import javax.inject.Named; -import org.mxchange.addressbook.beans.login.UserLoginWebSessionController; -import org.mxchange.addressbook.beans.user.UserWebSessionController; +import org.mxchange.jjobs.beans.login.UserLoginWebSessionController; +import org.mxchange.jjobs.beans.user.UserWebSessionController; import org.mxchange.jusercore.exceptions.UserNotFoundException; import org.mxchange.jusercore.model.user.User; import org.mxchange.jusercore.model.user.profilemodes.ProfileMode; diff --git a/src/java/org/mxchange/addressbook/beans/profile/UserProfileWebRequestController.java b/src/java/org/mxchange/jjobs/beans/profile/UserProfileWebRequestController.java similarity index 97% rename from src/java/org/mxchange/addressbook/beans/profile/UserProfileWebRequestController.java rename to src/java/org/mxchange/jjobs/beans/profile/UserProfileWebRequestController.java index e7306887..34a5aa37 100644 --- a/src/java/org/mxchange/addressbook/beans/profile/UserProfileWebRequestController.java +++ b/src/java/org/mxchange/jjobs/beans/profile/UserProfileWebRequestController.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.beans.profile; +package org.mxchange.jjobs.beans.profile; import java.io.Serializable; import org.mxchange.jusercore.model.user.User; diff --git a/src/java/org/mxchange/addressbook/beans/profilemode/ProfileModeWebApplicationBean.java b/src/java/org/mxchange/jjobs/beans/profilemode/ProfileModeWebApplicationBean.java similarity index 96% rename from src/java/org/mxchange/addressbook/beans/profilemode/ProfileModeWebApplicationBean.java rename to src/java/org/mxchange/jjobs/beans/profilemode/ProfileModeWebApplicationBean.java index fb45a7b1..558cf6b9 100644 --- a/src/java/org/mxchange/addressbook/beans/profilemode/ProfileModeWebApplicationBean.java +++ b/src/java/org/mxchange/jjobs/beans/profilemode/ProfileModeWebApplicationBean.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.beans.profilemode; +package org.mxchange.jjobs.beans.profilemode; import javax.enterprise.context.ApplicationScoped; import javax.inject.Named; diff --git a/src/java/org/mxchange/addressbook/beans/profilemode/ProfileModeWebApplicationController.java b/src/java/org/mxchange/jjobs/beans/profilemode/ProfileModeWebApplicationController.java similarity index 95% rename from src/java/org/mxchange/addressbook/beans/profilemode/ProfileModeWebApplicationController.java rename to src/java/org/mxchange/jjobs/beans/profilemode/ProfileModeWebApplicationController.java index 74e512fa..b2e4d727 100644 --- a/src/java/org/mxchange/addressbook/beans/profilemode/ProfileModeWebApplicationController.java +++ b/src/java/org/mxchange/jjobs/beans/profilemode/ProfileModeWebApplicationController.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.beans.profilemode; +package org.mxchange.jjobs.beans.profilemode; import java.io.Serializable; import org.mxchange.jusercore.model.user.profilemodes.ProfileMode; diff --git a/src/java/org/mxchange/addressbook/beans/register/UserRegisterWebSessionBean.java b/src/java/org/mxchange/jjobs/beans/register/UserRegisterWebSessionBean.java similarity index 97% rename from src/java/org/mxchange/addressbook/beans/register/UserRegisterWebSessionBean.java rename to src/java/org/mxchange/jjobs/beans/register/UserRegisterWebSessionBean.java index c4ce4892..97857f45 100644 --- a/src/java/org/mxchange/addressbook/beans/register/UserRegisterWebSessionBean.java +++ b/src/java/org/mxchange/jjobs/beans/register/UserRegisterWebSessionBean.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.beans.register; +package org.mxchange.jjobs.beans.register; import java.text.MessageFormat; import javax.enterprise.context.SessionScoped; @@ -26,7 +26,7 @@ import javax.inject.Named; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; -import org.mxchange.addressbook.beans.user.UserWebSessionController; +import org.mxchange.jjobs.beans.user.UserWebSessionController; import org.mxchange.jusercore.events.registration.RegisteredUserEvent; import org.mxchange.jusercore.events.registration.UserRegisteredEvent; import org.mxchange.jusercore.exceptions.DataRepeatMismatchException; diff --git a/src/java/org/mxchange/addressbook/beans/register/UserRegisterWebSessionController.java b/src/java/org/mxchange/jjobs/beans/register/UserRegisterWebSessionController.java similarity index 95% rename from src/java/org/mxchange/addressbook/beans/register/UserRegisterWebSessionController.java rename to src/java/org/mxchange/jjobs/beans/register/UserRegisterWebSessionController.java index 6a9923b9..e5f6e0dd 100644 --- a/src/java/org/mxchange/addressbook/beans/register/UserRegisterWebSessionController.java +++ b/src/java/org/mxchange/jjobs/beans/register/UserRegisterWebSessionController.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.beans.register; +package org.mxchange.jjobs.beans.register; import java.io.Serializable; diff --git a/src/java/org/mxchange/addressbook/beans/shares/SharesWebSessionBean.java b/src/java/org/mxchange/jjobs/beans/shares/SharesWebSessionBean.java similarity index 96% rename from src/java/org/mxchange/addressbook/beans/shares/SharesWebSessionBean.java rename to src/java/org/mxchange/jjobs/beans/shares/SharesWebSessionBean.java index 988b25ca..183cbd73 100644 --- a/src/java/org/mxchange/addressbook/beans/shares/SharesWebSessionBean.java +++ b/src/java/org/mxchange/jjobs/beans/shares/SharesWebSessionBean.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.beans.shares; +package org.mxchange.jjobs.beans.shares; import java.text.MessageFormat; import java.util.Collections; @@ -31,7 +31,6 @@ import javax.inject.Named; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; -import org.mxchange.addressbook.beans.login.UserLoginWebSessionController; import org.mxchange.addressbook.events.sharing.AddressbookSharingEvent; import org.mxchange.addressbook.events.sharing.StartedAddressbookSharingEvent; import org.mxchange.addressbook.events.sharing.type.SharingType; @@ -39,6 +38,7 @@ import org.mxchange.addressbook.exceptions.UserAlreadySharingAddressbookExceptio import org.mxchange.addressbook.model.addressbook.Addressbook; import org.mxchange.addressbook.model.addressbook.shared.ShareableAddressbook; import org.mxchange.addressbook.model.shared.SharedAddressbooksSessionBeanRemote; +import org.mxchange.jjobs.beans.login.UserLoginWebSessionController; import org.mxchange.jusercore.events.login.UserLoggedInEvent; import org.mxchange.jusercore.model.user.User; import org.mxchange.jusercore.model.user.profilemodes.ProfileMode; @@ -202,14 +202,6 @@ public class SharesWebSessionBean implements SharesWebSessionController { @PostConstruct public void init () { - // Check conditions - if (!this.loginController.isUserLoggedIn()) { - // No, then throw exception - throw new FaceletException("This method can only be called as logged-in user."); //NOI18N - } - - // Init share list - this.sharedAddressbooks = this.shareBean.allSharedAddressbooks(this.loginController.getLoggedInUser()); } @Override diff --git a/src/java/org/mxchange/addressbook/beans/shares/SharesWebSessionController.java b/src/java/org/mxchange/jjobs/beans/shares/SharesWebSessionController.java similarity index 98% rename from src/java/org/mxchange/addressbook/beans/shares/SharesWebSessionController.java rename to src/java/org/mxchange/jjobs/beans/shares/SharesWebSessionController.java index d2a96f5c..0fb27e75 100644 --- a/src/java/org/mxchange/addressbook/beans/shares/SharesWebSessionController.java +++ b/src/java/org/mxchange/jjobs/beans/shares/SharesWebSessionController.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.beans.shares; +package org.mxchange.jjobs.beans.shares; import java.io.Serializable; import java.util.List; diff --git a/src/java/org/mxchange/addressbook/beans/smsprovider/SmsProviderWebApplicationBean.java b/src/java/org/mxchange/jjobs/beans/smsprovider/SmsProviderWebApplicationBean.java similarity index 97% rename from src/java/org/mxchange/addressbook/beans/smsprovider/SmsProviderWebApplicationBean.java rename to src/java/org/mxchange/jjobs/beans/smsprovider/SmsProviderWebApplicationBean.java index aa64620c..64bdc56b 100644 --- a/src/java/org/mxchange/addressbook/beans/smsprovider/SmsProviderWebApplicationBean.java +++ b/src/java/org/mxchange/jjobs/beans/smsprovider/SmsProviderWebApplicationBean.java @@ -1,4 +1,4 @@ -package org.mxchange.addressbook.beans.smsprovider; +package org.mxchange.jjobs.beans.smsprovider; /* * Copyright (C) 2016 Roland Haeder diff --git a/src/java/org/mxchange/addressbook/beans/smsprovider/SmsProviderWebApplicationController.java b/src/java/org/mxchange/jjobs/beans/smsprovider/SmsProviderWebApplicationController.java similarity index 95% rename from src/java/org/mxchange/addressbook/beans/smsprovider/SmsProviderWebApplicationController.java rename to src/java/org/mxchange/jjobs/beans/smsprovider/SmsProviderWebApplicationController.java index 917ddcbd..cb347283 100644 --- a/src/java/org/mxchange/addressbook/beans/smsprovider/SmsProviderWebApplicationController.java +++ b/src/java/org/mxchange/jjobs/beans/smsprovider/SmsProviderWebApplicationController.java @@ -1,4 +1,4 @@ -package org.mxchange.addressbook.beans.smsprovider; +package org.mxchange.jjobs.beans.smsprovider; /* * Copyright (C) 2016 Roland Haeder diff --git a/src/java/org/mxchange/addressbook/beans/user/UserWebSessionBean.java b/src/java/org/mxchange/jjobs/beans/user/UserWebSessionBean.java similarity index 99% rename from src/java/org/mxchange/addressbook/beans/user/UserWebSessionBean.java rename to src/java/org/mxchange/jjobs/beans/user/UserWebSessionBean.java index cc31bdc1..65f17ca2 100644 --- a/src/java/org/mxchange/addressbook/beans/user/UserWebSessionBean.java +++ b/src/java/org/mxchange/jjobs/beans/user/UserWebSessionBean.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.beans.user; +package org.mxchange.jjobs.beans.user; import java.text.MessageFormat; import java.util.Collections; @@ -32,7 +32,7 @@ import javax.inject.Named; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; -import org.mxchange.addressbook.beans.login.UserLoginWebSessionController; +import org.mxchange.jjobs.beans.login.UserLoginWebSessionController; import org.mxchange.jcontacts.contact.Contact; import org.mxchange.jcontacts.contact.UserContact; import org.mxchange.jcontacts.contact.gender.Gender; diff --git a/src/java/org/mxchange/addressbook/beans/user/UserWebSessionController.java b/src/java/org/mxchange/jjobs/beans/user/UserWebSessionController.java similarity index 99% rename from src/java/org/mxchange/addressbook/beans/user/UserWebSessionController.java rename to src/java/org/mxchange/jjobs/beans/user/UserWebSessionController.java index ac221cd8..9917eab5 100644 --- a/src/java/org/mxchange/addressbook/beans/user/UserWebSessionController.java +++ b/src/java/org/mxchange/jjobs/beans/user/UserWebSessionController.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.beans.user; +package org.mxchange.jjobs.beans.user; import java.io.Serializable; import java.util.Date; diff --git a/src/java/org/mxchange/addressbook/converter/country/CountryConverter.java b/src/java/org/mxchange/jjobs/converter/country/CountryConverter.java similarity index 98% rename from src/java/org/mxchange/addressbook/converter/country/CountryConverter.java rename to src/java/org/mxchange/jjobs/converter/country/CountryConverter.java index c758b39d..d76e38ce 100644 --- a/src/java/org/mxchange/addressbook/converter/country/CountryConverter.java +++ b/src/java/org/mxchange/jjobs/converter/country/CountryConverter.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.converter.country; +package org.mxchange.jjobs.converter.country; import java.text.MessageFormat; import java.util.List; diff --git a/src/java/org/mxchange/addressbook/converter/smsprovider/SmsProviderConverter.java b/src/java/org/mxchange/jjobs/converter/smsprovider/SmsProviderConverter.java similarity index 98% rename from src/java/org/mxchange/addressbook/converter/smsprovider/SmsProviderConverter.java rename to src/java/org/mxchange/jjobs/converter/smsprovider/SmsProviderConverter.java index 464c113e..5022e001 100644 --- a/src/java/org/mxchange/addressbook/converter/smsprovider/SmsProviderConverter.java +++ b/src/java/org/mxchange/jjobs/converter/smsprovider/SmsProviderConverter.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.converter.smsprovider; +package org.mxchange.jjobs.converter.smsprovider; import java.text.MessageFormat; import java.util.List; diff --git a/src/java/org/mxchange/addressbook/converter/user/UserConverter.java b/src/java/org/mxchange/jjobs/converter/user/UserConverter.java similarity index 97% rename from src/java/org/mxchange/addressbook/converter/user/UserConverter.java rename to src/java/org/mxchange/jjobs/converter/user/UserConverter.java index 769dc443..546d9dcf 100644 --- a/src/java/org/mxchange/addressbook/converter/user/UserConverter.java +++ b/src/java/org/mxchange/jjobs/converter/user/UserConverter.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.addressbook.converter.user; +package org.mxchange.jjobs.converter.user; import java.text.MessageFormat; import javax.faces.component.UIComponent; @@ -26,7 +26,7 @@ import javax.inject.Inject; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; -import org.mxchange.addressbook.beans.user.UserWebSessionController; +import org.mxchange.jjobs.beans.user.UserWebSessionController; import org.mxchange.jcoreeelogger.beans.local.logger.Log; import org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal; import org.mxchange.jusercore.exceptions.UserNotFoundException; diff --git a/web/WEB-INF/faces-config.xml b/web/WEB-INF/faces-config.xml index 969fbf47..19d9cd43 100644 --- a/web/WEB-INF/faces-config.xml +++ b/web/WEB-INF/faces-config.xml @@ -19,7 +19,7 @@ AddressbookNameValidator - org.mxchange.addressbook.validator.names.AddressbookNameValidator + org.mxchange.jjobs.validator.names.AddressbookNameValidator PhoneNumberValidator @@ -27,11 +27,11 @@ AddressbookIdValidator - org.mxchange.addressbook.validator.addressbook.AddressbookIdValidator + org.mxchange.jjobs.validator.addressbook.AddressbookIdValidator UserProfileVisibilityValidator - org.mxchange.addressbook.validator.booleans.UserProfileVisibilityValidator + org.mxchange.jjobs.validator.booleans.UserProfileVisibilityValidator UserIdValidator -- 2.39.5