]> git.mxchange.org Git - jjobs-war.git/commitdiff
ported project to new libraries jaddressbook-share-core/lib
authorRoland Häder <roland@mxchange.org>
Thu, 27 Apr 2017 12:30:22 +0000 (14:30 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 27 Apr 2017 12:30:22 +0000 (14:30 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jjobs/beans/addressbook/JobsAddressbookWebSessionBean.java
src/java/org/mxchange/jjobs/beans/addressbook/JobsAddressbookWebSessionController.java
src/java/org/mxchange/jjobs/validator/addressbook/JobsAddressbookIdValidator.java
web/guest/user/user_show_addressbook.xhtml
web/user/login_start_sharing_addressbook.xhtml

index 7bf277ac0d70a79b5d113833c476bc4184fa7ae0..8abb8ff44699f301319a58b00d87b21e1f73684c 100644 (file)
@@ -34,13 +34,13 @@ import javax.naming.Context;
 import javax.naming.InitialContext;
 import javax.naming.NamingException;
 import org.mxchange.addressbook.model.addressbook.AddressbookSessionBeanRemote;
-import org.mxchange.jaddressbookcore.events.addressbook.AddressbookLoadedEvent;
-import org.mxchange.jaddressbookcore.events.addressbook.ObservableAddressbookLoadedEvent;
-import org.mxchange.jaddressbookcore.exceptions.AddressbookNameAlreadyUsedException;
-import org.mxchange.jaddressbookcore.exceptions.AddressbookNotFoundException;
-import org.mxchange.jaddressbookcore.model.addressbook.Addressbook;
-import org.mxchange.jaddressbookcore.model.addressbook.UserAddressbook;
-import org.mxchange.jaddressbookcore.model.addressbook.entry.AddressbookEntry;
+import org.mxchange.jaddressbook.events.addressbook.AddressbookLoadedEvent;
+import org.mxchange.jaddressbook.events.addressbook.ObservableAddressbookLoadedEvent;
+import org.mxchange.jaddressbook.exceptions.AddressbookNameAlreadyUsedException;
+import org.mxchange.jaddressbook.exceptions.AddressbookNotFoundException;
+import org.mxchange.jaddressbook.model.addressbook.Addressbook;
+import org.mxchange.jaddressbook.model.addressbook.UserAddressbook;
+import org.mxchange.jaddressbook.model.addressbook.entry.AddressbookEntry;
 import org.mxchange.jjobs.beans.BaseJobsController;
 import org.mxchange.jjobs.beans.login.user.JobsUserLoginWebSessionController;
 import org.mxchange.jusercore.events.login.ObservableUserLoggedInEvent;
@@ -193,7 +193,7 @@ public class JobsAddressbookWebSessionBean extends BaseJobsController implements
                if (null == event) {
                        // Is null
                        throw new NullPointerException("event is null"); //NOI18N
-               } else if (event.getLoggedInUser()== null) {
+               } else if (event.getLoggedInUser() == null) {
                        // user is null
                        throw new NullPointerException("event.user is null"); //NOI18N
                } else if (!event.getLoggedInUser().equals(this.userLoginController.getLoggedInUser())) {
index 94666b9049ee35bfbc3f5451f95ac8e5055caece..c728f9cf0c2e449992f785ad5d56accc350ee81c 100644 (file)
@@ -19,11 +19,11 @@ package org.mxchange.jjobs.beans.addressbook;
 import java.io.Serializable;
 import java.util.Calendar;
 import java.util.List;
-import org.mxchange.jaddressbookcore.model.addressbook.Addressbook;
-import org.mxchange.jaddressbookcore.model.addressbook.entry.AddressbookEntry;
-import org.mxchange.jusercore.model.user.User;
-import org.mxchange.jaddressbookcore.events.addressbook.ObservableAddressbookLoadedEvent;
+import org.mxchange.jaddressbook.events.addressbook.ObservableAddressbookLoadedEvent;
+import org.mxchange.jaddressbook.model.addressbook.Addressbook;
+import org.mxchange.jaddressbook.model.addressbook.entry.AddressbookEntry;
 import org.mxchange.jusercore.events.login.ObservableUserLoggedInEvent;
+import org.mxchange.jusercore.model.user.User;
 
 /**
  * An interface for address book beans
index d55607e25a022ad0a70e4ae1b3f9c21998a54a64..79e799e475b58bd7965dd002386c428a0200d252 100644 (file)
@@ -26,8 +26,8 @@ import javax.naming.Context;
 import javax.naming.InitialContext;
 import javax.naming.NamingException;
 import org.mxchange.addressbook.model.addressbook.AddressbookSessionBeanRemote;
-import org.mxchange.jaddressbookcore.exceptions.AddressbookNotFoundException;
-import org.mxchange.jaddressbookcore.model.addressbook.Addressbook;
+import org.mxchange.jaddressbook.exceptions.AddressbookNotFoundException;
+import org.mxchange.jaddressbook.model.addressbook.Addressbook;
 import org.mxchange.jcoreee.validator.number.BaseLongValidator;
 import org.mxchange.jcoreeelogger.beans.local.logger.Log;
 import org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal;
index 0ebf6524806fe2bf6d2fed5ed731135d9dd3efbb..68315390bd2f50a936623773563a4d95c56a7b5e 100644 (file)
@@ -14,7 +14,7 @@
                </f:viewParam>
        </f:metadata>
 
-       <ui:composition template="/WEB-INF/templates/#{userLoginController.templateType}/#{userLoginController.templateType}_base.tpl">
+       <ui:composition template="/WEB-INF/templates/#{userLoginController.baseTemplatePathName}/#{userLoginController.baseTemplatePathName}_base.tpl">
                <ui:define name="login_title">
                        <h:outputText value="#{msg.PAGE_TITLE_USER_SHOW_ADDRESSBOOK}" />
                </ui:define>
index 6eb82de650afa1920e0d698489d949cd066fbf3f..3a1212420b22a6dc53e26ace8a75c4e58c45638a 100644 (file)
@@ -8,7 +8,7 @@
          xmlns:f="http://xmlns.jcp.org/jsf/core"
          xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">
 
-       <ui:composition template="/WEB-INF/templates/#{userLoginController.templateType}/#{userLoginController.templateType}_base.tpl">
+       <ui:composition template="/WEB-INF/templates/#{userLoginController.baseTemplatePathName}/#{userLoginController.baseTemplatePathName}_base.tpl">
                <ui:define name="login_title">
                        <h:outputText value="#{msg.PAGE_TITLE_LOGIN_START_SHARING_ADDRESSBOOK}" />
                </ui:define>