]> git.mxchange.org Git - jjobs-ejb.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sat, 10 Jun 2017 21:23:48 +0000 (23:23 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 10 Jun 2017 21:37:35 +0000 (23:37 +0200)
- really have to call super(), else anything there, like logger bean, will not
  be initialized
- updated persistence unit

Signed-off-by: Roland Häder <roland@mxchange.org>
19 files changed:
src/conf/persistence.xml
src/java/org/mxchange/jcontacts/contact/JobsAdminContactSessionBean.java
src/java/org/mxchange/jcontacts/contact/JobsContactSessionBean.java
src/java/org/mxchange/jcontacts/phone/JobsAdminContactPhoneSessionBean.java
src/java/org/mxchange/jcountry/data/JobsCountrySingletonBean.java
src/java/org/mxchange/jjobs/beans/resendlink/JobsResendLinkSessionBean.java
src/java/org/mxchange/jjobs/model/addressbook/JobsAddressbookSessionBean.java
src/java/org/mxchange/jmailee/model/delivery/JobsEmailDeliveryMessageBean.java
src/java/org/mxchange/jphone/phonenumbers/mobileprovider/JobsAdminMobileProviderSessionBean.java
src/java/org/mxchange/jphone/phonenumbers/mobileprovider/JobsMobileProviderSingletonBean.java
src/java/org/mxchange/jphone/phonenumbers/phone/JobsAdminPhoneSessionBean.java
src/java/org/mxchange/jphone/phonenumbers/phone/JobsPhoneSessionBean.java
src/java/org/mxchange/jusercore/model/email_address/JobsUserEmailChangeSessionBean.java
src/java/org/mxchange/jusercore/model/login/JobsUserLoginSessionBean.java
src/java/org/mxchange/jusercore/model/register/JobsUserRegistrationSessionBean.java
src/java/org/mxchange/jusercore/model/user/JobsAdminUserSessionBean.java
src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java
src/java/org/mxchange/jusercore/model/user/activity/JobsUserActivityLogMessageBean.java
src/java/org/mxchange/jusercore/model/user/password_history/JobsUserPasswordHistorySessionBean.java

index de61b0f8b203c47ee0baca2fe1d20c659b5f1ca6..673c68059ad345ca0d0e541940d197f341289fe9 100644 (file)
@@ -2,6 +2,8 @@
 <persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
   <persistence-unit name="jjobs-ejbPU" transaction-type="JTA">
     <jta-data-source>jdbc/jjobs</jta-data-source>
+    <class>org.mxchange.jaddressbook.model.addressbook.UserAddressbook</class>
+    <class>org.mxchange.jaddressbook.model.addressbook.entry.UserAddressbookEntry</class>
     <class>org.mxchange.jcontacts.contact.UserContact</class>
     <class>org.mxchange.jcontactsbusiness.CompanyContact</class>
     <class>org.mxchange.jcontactsbusiness.basicdata.CompanyBasicData</class>
     <class>org.mxchange.jcontactsbusiness.logo.CompanyLogo</class>
     <class>org.mxchange.jcontactsbusiness.opening_times.BusinessOpeningTimes</class>
     <class>org.mxchange.jcountry.data.CountryData</class>
-    <class>org.mxchange.jjobs.model.addressbook.UserAddressbook</class>
-    <class>org.mxchange.jjobs.model.addressbook.entry.UserAddressbookEntry</class>
-    <class>org.mxchange.jjobs.model.addressbook.shared.AddressbookShare</class>
     <class>org.mxchange.jphone.phonenumbers.fax.FaxNumber</class>
     <class>org.mxchange.jphone.phonenumbers.landline.LandLineNumber</class>
     <class>org.mxchange.jphone.phonenumbers.mobile.MobileNumber</class>
     <class>org.mxchange.jphone.phonenumbers.mobileprovider.CellphoneProvider</class>
     <class>org.mxchange.jusercore.model.email_address.EmailAddressChange</class>
     <class>org.mxchange.jusercore.model.user.LoginUser</class>
-    <class>org.mxchange.jusercore.model.user.password_history.UserPasswordHistory</class>
     <class>org.mxchange.jusercore.model.user.activity.UserActivityLog</class>
+    <class>org.mxchange.jusercore.model.user.password_history.UserPasswordHistory</class>
     <exclude-unlisted-classes>false</exclude-unlisted-classes>
     <properties>
       <property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/>
index d128b6ae950080451405991b76e88b77ebe2639b..58b67ee6b7756171b3cc6ede48e107aa67e45d52 100644 (file)
@@ -39,6 +39,8 @@ public class JobsAdminContactSessionBean extends BaseJobsDatabaseBean implements
         * Default constructor
         */
        public JobsAdminContactSessionBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
index f3ad3cdafbc3b64459e0c9c1d2995133f1cf8af8..88956b70e86b0e37e39038ffa8982152904c31b4 100644 (file)
@@ -44,6 +44,8 @@ public class JobsContactSessionBean extends BaseJobsDatabaseBean implements Cont
         * Default constructor
         */
        public JobsContactSessionBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
index 820f54938dd9919b5ec88d6d52103efcc2e23e9d..9b326bdd6e0b07e5c87d5361d5c4cfac015b06f1 100644 (file)
@@ -50,6 +50,14 @@ public class JobsAdminContactPhoneSessionBean extends BaseJobsDatabaseBean imple
        @EJB
        private ContactSessionBeanRemote contactBean;
 
+       /**
+        * Default constructor
+        */
+       public JobsAdminContactPhoneSessionBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        public Contact linkExistingFaxNumberWithContact (final Contact contact, final DialableFaxNumber faxNumber) throws PhoneNumberAlreadyLinkedException {
                // Trace message
index 38275840b1f7859652ffdc48bd874c3a9f82f1c9..6ad94498670a0756e7ae7f70784bddf1973ec1a4 100644 (file)
@@ -40,6 +40,14 @@ public class JobsCountrySingletonBean extends BaseJobsDatabaseBean implements Co
         */
        private static final long serialVersionUID = 15_846_983_298_691_207L;
 
+       /**
+        * Default constructor
+        */
+       public JobsCountrySingletonBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        public Country addCountry (final Country country) throws CountryAlreadyAddedException {
                // Trace message
index e09906423ab2d4b1f967ed5a3fac9bb45b12a380..62e2216bc41b6387580732be99bb3afc0d12a4f4 100644 (file)
@@ -60,6 +60,14 @@ public class JobsResendLinkSessionBean extends BaseJobsDatabaseBean implements R
        @EJB
        private UserSessionBeanRemote userBean;
 
+       /**
+        * Default constructor
+        */
+       public JobsResendLinkSessionBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        public void resendConfirmationLink (final User user, final Locale locale, final String baseUrl) throws UserNotFoundException, UserStatusConfirmedException, UserStatusLockedException {
                // Log trace message
index bc8fd4301cd74a33ac4a18756f93b7b4502f84d4..1824cfb3e44b92e613e055f81b1035ff121e466f 100644 (file)
@@ -44,6 +44,14 @@ public class JobsAddressbookSessionBean extends BaseJobsDatabaseBean implements
         */
        private static final long serialVersionUID = 129_857_871_287_691L;
 
+       /**
+        * Default constructor
+        */
+       public JobsAddressbookSessionBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        @SuppressWarnings ("unchecked")
        public List<AddressbookEntry> allEntries (final Addressbook addressbook) {
index 898d6c6e7943aa8356c257a3b12274078477f8ce..eb1a3fd5c6aa5c1823cfa937026bb5df55b60f8f 100644 (file)
@@ -66,6 +66,9 @@ public class JobsEmailDeliveryMessageBean extends BaseJobsDatabaseBean implement
         * Default constructor
         */
        public JobsEmailDeliveryMessageBean () {
+               // Call super constructor
+               super();
+
                // Init mailer instance
                this.mailer = new JobsMailer();
        }
index b389911cbcaed380b99dd8d1393d536e4142d520..7df3933c2c2fb5141860e7296357d7c233845c1d 100644 (file)
@@ -35,6 +35,14 @@ public class JobsAdminMobileProviderSessionBean extends BaseJobsDatabaseBean imp
         */
        private static final long serialVersionUID = 15_846_983_298_691_207L;
 
+       /**
+        * Default constructor
+        */
+       public JobsAdminMobileProviderSessionBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        public MobileProvider addMobileProvider (final MobileProvider mobileProvider) throws MobileProviderAlreadyAddedException {
                // Log trace message
index e90f5dc424310ca12e5abfb62a5555bee72576d3..66974653cb114685315aac0ea5d567bfec7f2154 100644 (file)
@@ -37,6 +37,14 @@ public class JobsMobileProviderSingletonBean extends BaseJobsDatabaseBean implem
         */
        private static final long serialVersionUID = 15_846_983_298_691_207L;
 
+       /**
+        * Default constructor
+        */
+       public JobsMobileProviderSingletonBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        @SuppressWarnings ("unchecked")
        public List<MobileProvider> allMobileProvider () {
index 40962a3038146840fd223e1f1d3fe7491720ea09..1b84eb885424153feb1bd373afd5c40b504bf09a 100644 (file)
@@ -37,6 +37,14 @@ public class JobsAdminPhoneSessionBean extends BaseJobsDatabaseBean implements A
         */
        private static final long serialVersionUID = 18_597_165_817_401_853L;
 
+       /**
+        * Default constructor
+        */
+       public JobsAdminPhoneSessionBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        public void deleteFaxData (final DialableFaxNumber faxNumber) {
                // Trace message
index 5f1794b5da004f2083e8815976102d571c056440..9f5072339a39b0dd7ecc3cb8108e496b97b8e58f 100644 (file)
@@ -47,6 +47,8 @@ public class JobsPhoneSessionBean extends BaseJobsDatabaseBean implements PhoneS
         * Default constructor
         */
        public JobsPhoneSessionBean () {
+               // Call super constructor
+               super();
        }
 
        @SuppressWarnings ("unchecked")
index 1be77bf0ba7081c53e0abdde4a451d37440c5a6d..a5324ff18274838a0d53db4d4b2bd7e41533253b 100644 (file)
@@ -54,6 +54,8 @@ public class JobsUserEmailChangeSessionBean extends BaseJobsDatabaseBean impleme
         * Default constructor
         */
        public JobsUserEmailChangeSessionBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
index 2bd8bfff16674fb856a4c2f295453c827d3ba51c..be35b3cff1133405d5ace2641d8401dc1caf9d63 100644 (file)
@@ -56,6 +56,14 @@ public class JobsUserLoginSessionBean extends BaseJobsDatabaseBean implements Us
        @EJB
        private UserSessionBeanRemote userBean;
 
+       /**
+        * Default constructor
+        */
+       public JobsUserLoginSessionBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        public User validateUserAccountStatus (final LoginContainer container) throws UserNotFoundException, UserStatusLockedException, UserStatusUnconfirmedException, UserPasswordMismatchException {
                // Trace message
index 411b4053484e5600e9a33bafc5ba301bc5e29c21..5c92f4da128f07eeb9f37b2ab2ae5bd3af75e216 100644 (file)
@@ -60,6 +60,14 @@ public class JobsUserRegistrationSessionBean extends BaseJobsDatabaseBean implem
        @EJB
        private UserSessionBeanRemote userBean;
 
+       /**
+        * Default constructor
+        */
+       public JobsUserRegistrationSessionBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        public String generateConfirmationKey (final User user) {
                // Trace message
index 55be677fe09a62c2be132c24fe974237d32b28d4..7b5c7a1911e5bd634629e8dc8a4fb90fe46540f1 100644 (file)
@@ -64,6 +64,8 @@ public class JobsAdminUserSessionBean extends BaseJobsDatabaseBean implements Ad
         * Default constructor
         */
        public JobsAdminUserSessionBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
index dc9f1ae4901b1d5ce0ae26b6518459445de89cde..dd68947be89fe6ac8a7b729fcb0a26e714ff39a0 100644 (file)
@@ -66,6 +66,8 @@ public class JobsUserSessionBean extends BaseJobsDatabaseBean implements UserSes
         * Default constructor
         */
        public JobsUserSessionBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
index a02777336e1e26b6576c5bad7dc36906441208f8..f2a6610bd33bd690a90bc48b4dc0f43eda04052a 100644 (file)
@@ -57,6 +57,8 @@ public class JobsUserActivityLogMessageBean extends BaseJobsDatabaseBean impleme
         * Default constructor
         */
        public JobsUserActivityLogMessageBean () {
+               // Call super constructor
+               super();
        }
 
        @Override
index 53bdeca333447dea123dfe351a8c03ac10a3dc7c..59a1b26dbda596b80db2def4d1de4d77b9b046a9 100644 (file)
@@ -40,6 +40,8 @@ public class JobsUserPasswordHistorySessionBean extends BaseJobsDatabaseBean imp
         * Default constructor
         */
        public JobsUserPasswordHistorySessionBean () {
+               // Call super constructor
+               super();
        }
 
        @Override