]> git.mxchange.org Git - addressbook-ejb.git/commitdiff
Cleanup through inspection + updated jar(s)
authorRoland Haeder <roland@mxchange.org>
Thu, 15 Oct 2015 07:51:20 +0000 (09:51 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 15 Oct 2015 07:53:13 +0000 (09:53 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

lib/jcontacts-business-core.jar
lib/jcontacts-core.jar
lib/jcore-logger-lib.jar
lib/jcoreee.jar
lib/jcountry-core.jar
lib/jphone-core.jar
lib/juser-core.jar
lib/juser-lib.jar
src/java/org/mxchange/addressbook/model/addressbook/AddressbookSessionBean.java

index b0ead65c4474b20f1881740895a946c1f63b4ae4..2314d5552061d032db5c327684ab92a975c5db13 100644 (file)
Binary files a/lib/jcontacts-business-core.jar and b/lib/jcontacts-business-core.jar differ
index 4bf2b793f990ceb4be6bc46a3fcbabd1234b7a7a..588f0e34e77622c6568476b940a2c8377d868844 100644 (file)
Binary files a/lib/jcontacts-core.jar and b/lib/jcontacts-core.jar differ
index 5049937263bc38db18ddd3a2d142e3f0d86881ed..ce30ba8ab061bc1a1e57a982ffaeea02ad9cb21f 100644 (file)
Binary files a/lib/jcore-logger-lib.jar and b/lib/jcore-logger-lib.jar differ
index db108dde70c9a04dcc1d5eb7468ba40659daec95..6ea5dee81a9fef485994cf2c6831b836dd543c7d 100644 (file)
Binary files a/lib/jcoreee.jar and b/lib/jcoreee.jar differ
index 9daf43639f781789907f1add123c492bbecd73a3..eaf6110dd5bb7767f1dd977ab8ec1a5ff5f8e05c 100644 (file)
Binary files a/lib/jcountry-core.jar and b/lib/jcountry-core.jar differ
index 97bdd3944061172815f3267f811233b4f4dce6c9..9637788dea980962faa7693e89d80d6fcd735f66 100644 (file)
Binary files a/lib/jphone-core.jar and b/lib/jphone-core.jar differ
index 52192afb650a52b7b7b6199a0479a2083a849665..404aa57a64c762198ae62f54693ad7854a9566bf 100644 (file)
Binary files a/lib/juser-core.jar and b/lib/juser-core.jar differ
index cf6b0ff7ab8718301ea8e9f7e5d24f2baf2f520a..3630a889aa4890818042f1154b5a653c5090c9f1 100644 (file)
Binary files a/lib/juser-lib.jar and b/lib/juser-lib.jar differ
index 8d2efc32778515874f297100cedf1c7beeabef27..c1bd4a5c3785fa49f1457c02ca629a92cc496a6f 100644 (file)
@@ -54,31 +54,6 @@ public class AddressbookSessionBean extends BaseDatabaseBean implements Addressb
                return query.getResultList();
        }
 
-       @Override
-       @SuppressWarnings ("unchecked")
-       public List<Addressbook> getUsersList (final User loggedInUser) {
-               // Trace message
-               this.getLoggerBeanLocal().logTrace(MessageFormat.format("getUsersList: loggedInUser={0} - CALLED!", loggedInUser)); //NOI18N
-
-               // Is the user instance null?
-               if (null == loggedInUser) {
-                       // Abort here
-                       throw new NullPointerException("loggedInUser is null"); //NOI18N
-               }
-
-               // Get query instance
-               Query query = this.getEntityManager().createNamedQuery("AllUsersAddressbooks", List.class); //NOI18N
-
-               // Set parameter
-               query.setParameter("param", loggedInUser); //NOI18N
-
-               // Get full list from JPA
-               List<Addressbook> addressbooks = query.getResultList();
-
-               // Return it
-               return addressbooks;
-       }
-
        @Override
        public Addressbook createAddressbook (final Addressbook addressbook) throws AddressbookNameAlreadyUsedException {
                // Is it not null?
@@ -108,6 +83,31 @@ public class AddressbookSessionBean extends BaseDatabaseBean implements Addressb
                // Return it updated
                return addressbook;
        }
+       
+       @Override
+       @SuppressWarnings ("unchecked")
+       public List<Addressbook> getUsersList (final User loggedInUser) {
+               // Trace message
+               this.getLoggerBeanLocal().logTrace(MessageFormat.format("getUsersList: loggedInUser={0} - CALLED!", loggedInUser)); //NOI18N
+               
+               // Is the user instance null?
+               if (null == loggedInUser) {
+                       // Abort here
+                       throw new NullPointerException("loggedInUser is null"); //NOI18N
+               }
+               
+               // Get query instance
+               Query query = this.getEntityManager().createNamedQuery("AllUsersAddressbooks", List.class); //NOI18N
+               
+               // Set parameter
+               query.setParameter("param", loggedInUser); //NOI18N
+               
+               // Get full list from JPA
+               List<Addressbook> addressbooks = query.getResultList();
+               
+               // Return it
+               return addressbooks;
+       }
 
        @Override
        public boolean isAddressbookIdUsed (final Long addressbookId) {