From 9ed0c72b1fda5efd137867e75c35902ab36e42da Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 13 Mar 2018 01:22:30 +0100 Subject: [PATCH] Continued: - removed no longer recommended named queries, please use JCache in your application and AllFoos named queries to archive the same but with lesser EJB invocations. - updated copyright year MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../jusercore/events/user/add/AdminAddedUserEvent.java | 2 +- .../events/user/add/ObservableAdminAddedUserEvent.java | 2 +- .../events/user/clear/password/ClearUserPasswordEvent.java | 2 +- .../clear/password/ObservableClearUserPasswordEvent.java | 2 +- .../events/user/clear/username/ClearUserNameEvent.java | 2 +- .../user/clear/username/ObservableClearUserNameEvent.java | 2 +- .../jusercore/events/user/created/CreatedUserEvent.java | 2 +- .../events/user/created/ObservableCreatedUserEvent.java | 2 +- .../jusercore/events/user/delete/AdminDeletedUserEvent.java | 2 +- .../events/user/delete/ObservableAdminDeletedUserEvent.java | 2 +- .../jusercore/events/user/linked/AdminLinkedUserEvent.java | 2 +- .../events/user/linked/ObservableAdminLinkedUserEvent.java | 2 +- .../jusercore/events/user/locked/AdminLockedUserEvent.java | 2 +- .../events/user/locked/ObservableAdminLockedUserEvent.java | 2 +- .../events/user/unlocked/AdminUnlockedUserEvent.java | 2 +- .../user/unlocked/ObservableAdminUnlockedUserEvent.java | 2 +- .../events/user/update/AdminUpdatedUserDataEvent.java | 2 +- .../user/update/ObservableAdminUpdatedUserDataEvent.java | 2 +- .../user/update/ObservableUpdatedUserPersonalDataEvent.java | 2 +- .../events/user/update/UpdatedUserPersonalDataEvent.java | 2 +- .../jusercore/exceptions/DataRepeatMismatchException.java | 2 +- .../exceptions/EmailAddressAlreadyRegisteredException.java | 2 +- .../exceptions/UserEmailAddressNotFoundException.java | 2 +- .../exceptions/UserNameAlreadyRegisteredException.java | 2 +- .../jusercore/exceptions/UserNotFoundException.java | 2 +- .../jusercore/exceptions/UserStatusConfirmedException.java | 2 +- .../jusercore/exceptions/UserStatusLockedException.java | 2 +- .../exceptions/UserStatusUnconfirmedException.java | 2 +- .../model/email_address/ChangeableEmailAddress.java | 2 +- .../jusercore/model/email_address/EmailAddressChange.java | 2 +- .../model/email_address/status/EmailChangeStatus.java | 2 +- src/org/mxchange/jusercore/model/user/LoginUser.java | 6 ++---- src/org/mxchange/jusercore/model/user/User.java | 2 +- src/org/mxchange/jusercore/model/user/UserUtils.java | 2 +- .../model/user/password_history/PasswordHistory.java | 2 +- .../model/user/password_history/UserPasswordHistory.java | 2 +- .../jusercore/model/user/profilemodes/ProfileMode.java | 2 +- .../jusercore/model/user/status/UserAccountStatus.java | 2 +- 38 files changed, 39 insertions(+), 41 deletions(-) diff --git a/src/org/mxchange/jusercore/events/user/add/AdminAddedUserEvent.java b/src/org/mxchange/jusercore/events/user/add/AdminAddedUserEvent.java index 4bf339e..320eb42 100644 --- a/src/org/mxchange/jusercore/events/user/add/AdminAddedUserEvent.java +++ b/src/org/mxchange/jusercore/events/user/add/AdminAddedUserEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/add/ObservableAdminAddedUserEvent.java b/src/org/mxchange/jusercore/events/user/add/ObservableAdminAddedUserEvent.java index 2b17333..adc299a 100644 --- a/src/org/mxchange/jusercore/events/user/add/ObservableAdminAddedUserEvent.java +++ b/src/org/mxchange/jusercore/events/user/add/ObservableAdminAddedUserEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/clear/password/ClearUserPasswordEvent.java b/src/org/mxchange/jusercore/events/user/clear/password/ClearUserPasswordEvent.java index 8dceef4..acdd57f 100644 --- a/src/org/mxchange/jusercore/events/user/clear/password/ClearUserPasswordEvent.java +++ b/src/org/mxchange/jusercore/events/user/clear/password/ClearUserPasswordEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/clear/password/ObservableClearUserPasswordEvent.java b/src/org/mxchange/jusercore/events/user/clear/password/ObservableClearUserPasswordEvent.java index 9e7204c..8b38f12 100644 --- a/src/org/mxchange/jusercore/events/user/clear/password/ObservableClearUserPasswordEvent.java +++ b/src/org/mxchange/jusercore/events/user/clear/password/ObservableClearUserPasswordEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/clear/username/ClearUserNameEvent.java b/src/org/mxchange/jusercore/events/user/clear/username/ClearUserNameEvent.java index 8647912..3b03cc9 100644 --- a/src/org/mxchange/jusercore/events/user/clear/username/ClearUserNameEvent.java +++ b/src/org/mxchange/jusercore/events/user/clear/username/ClearUserNameEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/clear/username/ObservableClearUserNameEvent.java b/src/org/mxchange/jusercore/events/user/clear/username/ObservableClearUserNameEvent.java index 9b90d67..e992200 100644 --- a/src/org/mxchange/jusercore/events/user/clear/username/ObservableClearUserNameEvent.java +++ b/src/org/mxchange/jusercore/events/user/clear/username/ObservableClearUserNameEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/created/CreatedUserEvent.java b/src/org/mxchange/jusercore/events/user/created/CreatedUserEvent.java index 6c6177e..c3b82e6 100644 --- a/src/org/mxchange/jusercore/events/user/created/CreatedUserEvent.java +++ b/src/org/mxchange/jusercore/events/user/created/CreatedUserEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Free Software Foundation + * Copyright (C) 2017, 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/created/ObservableCreatedUserEvent.java b/src/org/mxchange/jusercore/events/user/created/ObservableCreatedUserEvent.java index 980a5ca..d7129d5 100644 --- a/src/org/mxchange/jusercore/events/user/created/ObservableCreatedUserEvent.java +++ b/src/org/mxchange/jusercore/events/user/created/ObservableCreatedUserEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Free Software Foundation + * Copyright (C) 2017, 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/delete/AdminDeletedUserEvent.java b/src/org/mxchange/jusercore/events/user/delete/AdminDeletedUserEvent.java index 8017d46..3c6ce59 100644 --- a/src/org/mxchange/jusercore/events/user/delete/AdminDeletedUserEvent.java +++ b/src/org/mxchange/jusercore/events/user/delete/AdminDeletedUserEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/delete/ObservableAdminDeletedUserEvent.java b/src/org/mxchange/jusercore/events/user/delete/ObservableAdminDeletedUserEvent.java index e63875d..cf6d28c 100644 --- a/src/org/mxchange/jusercore/events/user/delete/ObservableAdminDeletedUserEvent.java +++ b/src/org/mxchange/jusercore/events/user/delete/ObservableAdminDeletedUserEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/linked/AdminLinkedUserEvent.java b/src/org/mxchange/jusercore/events/user/linked/AdminLinkedUserEvent.java index 4446560..994bb7b 100644 --- a/src/org/mxchange/jusercore/events/user/linked/AdminLinkedUserEvent.java +++ b/src/org/mxchange/jusercore/events/user/linked/AdminLinkedUserEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/linked/ObservableAdminLinkedUserEvent.java b/src/org/mxchange/jusercore/events/user/linked/ObservableAdminLinkedUserEvent.java index 5ed5802..6acd289 100644 --- a/src/org/mxchange/jusercore/events/user/linked/ObservableAdminLinkedUserEvent.java +++ b/src/org/mxchange/jusercore/events/user/linked/ObservableAdminLinkedUserEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/locked/AdminLockedUserEvent.java b/src/org/mxchange/jusercore/events/user/locked/AdminLockedUserEvent.java index 0177c09..cbbe747 100644 --- a/src/org/mxchange/jusercore/events/user/locked/AdminLockedUserEvent.java +++ b/src/org/mxchange/jusercore/events/user/locked/AdminLockedUserEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/locked/ObservableAdminLockedUserEvent.java b/src/org/mxchange/jusercore/events/user/locked/ObservableAdminLockedUserEvent.java index 0f00ec0..18c257a 100644 --- a/src/org/mxchange/jusercore/events/user/locked/ObservableAdminLockedUserEvent.java +++ b/src/org/mxchange/jusercore/events/user/locked/ObservableAdminLockedUserEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/unlocked/AdminUnlockedUserEvent.java b/src/org/mxchange/jusercore/events/user/unlocked/AdminUnlockedUserEvent.java index dfbcaf3..e3b5364 100644 --- a/src/org/mxchange/jusercore/events/user/unlocked/AdminUnlockedUserEvent.java +++ b/src/org/mxchange/jusercore/events/user/unlocked/AdminUnlockedUserEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/unlocked/ObservableAdminUnlockedUserEvent.java b/src/org/mxchange/jusercore/events/user/unlocked/ObservableAdminUnlockedUserEvent.java index 3c1a844..3135085 100644 --- a/src/org/mxchange/jusercore/events/user/unlocked/ObservableAdminUnlockedUserEvent.java +++ b/src/org/mxchange/jusercore/events/user/unlocked/ObservableAdminUnlockedUserEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/update/AdminUpdatedUserDataEvent.java b/src/org/mxchange/jusercore/events/user/update/AdminUpdatedUserDataEvent.java index b9292d7..eb972c9 100644 --- a/src/org/mxchange/jusercore/events/user/update/AdminUpdatedUserDataEvent.java +++ b/src/org/mxchange/jusercore/events/user/update/AdminUpdatedUserDataEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/update/ObservableAdminUpdatedUserDataEvent.java b/src/org/mxchange/jusercore/events/user/update/ObservableAdminUpdatedUserDataEvent.java index 241163a..0984d9b 100644 --- a/src/org/mxchange/jusercore/events/user/update/ObservableAdminUpdatedUserDataEvent.java +++ b/src/org/mxchange/jusercore/events/user/update/ObservableAdminUpdatedUserDataEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/update/ObservableUpdatedUserPersonalDataEvent.java b/src/org/mxchange/jusercore/events/user/update/ObservableUpdatedUserPersonalDataEvent.java index dc33fbc..25836fa 100644 --- a/src/org/mxchange/jusercore/events/user/update/ObservableUpdatedUserPersonalDataEvent.java +++ b/src/org/mxchange/jusercore/events/user/update/ObservableUpdatedUserPersonalDataEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/events/user/update/UpdatedUserPersonalDataEvent.java b/src/org/mxchange/jusercore/events/user/update/UpdatedUserPersonalDataEvent.java index 55597b1..087d6c3 100644 --- a/src/org/mxchange/jusercore/events/user/update/UpdatedUserPersonalDataEvent.java +++ b/src/org/mxchange/jusercore/events/user/update/UpdatedUserPersonalDataEvent.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/exceptions/DataRepeatMismatchException.java b/src/org/mxchange/jusercore/exceptions/DataRepeatMismatchException.java index e9348ce..dff6427 100644 --- a/src/org/mxchange/jusercore/exceptions/DataRepeatMismatchException.java +++ b/src/org/mxchange/jusercore/exceptions/DataRepeatMismatchException.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/exceptions/EmailAddressAlreadyRegisteredException.java b/src/org/mxchange/jusercore/exceptions/EmailAddressAlreadyRegisteredException.java index 45ed4b4..912d7be 100644 --- a/src/org/mxchange/jusercore/exceptions/EmailAddressAlreadyRegisteredException.java +++ b/src/org/mxchange/jusercore/exceptions/EmailAddressAlreadyRegisteredException.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/exceptions/UserEmailAddressNotFoundException.java b/src/org/mxchange/jusercore/exceptions/UserEmailAddressNotFoundException.java index 6cea590..c10a6a9 100644 --- a/src/org/mxchange/jusercore/exceptions/UserEmailAddressNotFoundException.java +++ b/src/org/mxchange/jusercore/exceptions/UserEmailAddressNotFoundException.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/exceptions/UserNameAlreadyRegisteredException.java b/src/org/mxchange/jusercore/exceptions/UserNameAlreadyRegisteredException.java index e8bd08f..e32db37 100644 --- a/src/org/mxchange/jusercore/exceptions/UserNameAlreadyRegisteredException.java +++ b/src/org/mxchange/jusercore/exceptions/UserNameAlreadyRegisteredException.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/exceptions/UserNotFoundException.java b/src/org/mxchange/jusercore/exceptions/UserNotFoundException.java index 8f70779..3f6946b 100644 --- a/src/org/mxchange/jusercore/exceptions/UserNotFoundException.java +++ b/src/org/mxchange/jusercore/exceptions/UserNotFoundException.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/exceptions/UserStatusConfirmedException.java b/src/org/mxchange/jusercore/exceptions/UserStatusConfirmedException.java index 89c0bcd..72e3047 100644 --- a/src/org/mxchange/jusercore/exceptions/UserStatusConfirmedException.java +++ b/src/org/mxchange/jusercore/exceptions/UserStatusConfirmedException.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/exceptions/UserStatusLockedException.java b/src/org/mxchange/jusercore/exceptions/UserStatusLockedException.java index 2150164..0ddd5e2 100644 --- a/src/org/mxchange/jusercore/exceptions/UserStatusLockedException.java +++ b/src/org/mxchange/jusercore/exceptions/UserStatusLockedException.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/exceptions/UserStatusUnconfirmedException.java b/src/org/mxchange/jusercore/exceptions/UserStatusUnconfirmedException.java index 66ebaa6..c12c24d 100644 --- a/src/org/mxchange/jusercore/exceptions/UserStatusUnconfirmedException.java +++ b/src/org/mxchange/jusercore/exceptions/UserStatusUnconfirmedException.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/model/email_address/ChangeableEmailAddress.java b/src/org/mxchange/jusercore/model/email_address/ChangeableEmailAddress.java index edd049d..9425831 100644 --- a/src/org/mxchange/jusercore/model/email_address/ChangeableEmailAddress.java +++ b/src/org/mxchange/jusercore/model/email_address/ChangeableEmailAddress.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java b/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java index a41f654..6d2c4d4 100644 --- a/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java +++ b/src/org/mxchange/jusercore/model/email_address/EmailAddressChange.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/model/email_address/status/EmailChangeStatus.java b/src/org/mxchange/jusercore/model/email_address/status/EmailChangeStatus.java index cf04269..cc9575f 100644 --- a/src/org/mxchange/jusercore/model/email_address/status/EmailChangeStatus.java +++ b/src/org/mxchange/jusercore/model/email_address/status/EmailChangeStatus.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/model/user/LoginUser.java b/src/org/mxchange/jusercore/model/user/LoginUser.java index 3f3f795..e5d6eca 100644 --- a/src/org/mxchange/jusercore/model/user/LoginUser.java +++ b/src/org/mxchange/jusercore/model/user/LoginUser.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -46,6 +46,7 @@ import org.mxchange.jusercore.model.user.status.UserAccountStatus; * A generic user entity class *

* @author Roland Häder + * @todo Remove AllUserNames after cleanup of deprecations in EJB/JSF */ @Entity (name = "users") @Table ( @@ -54,14 +55,11 @@ import org.mxchange.jusercore.model.user.status.UserAccountStatus; @NamedQueries ( { @NamedQuery (name = "AllUserNames", query = "SELECT DISTINCT u.userName FROM users AS u ORDER BY u.userId ASC"), - @NamedQuery (name = "AllEmailAddresses", query = "SELECT DISTINCT c.contactEmailAddress FROM contacts AS c INNER JOIN users AS u ON u.userContact = c ORDER BY c.contactId ASC"), @NamedQuery (name = "SearchUserByName", query = "SELECT u FROM users AS u WHERE LOWER(u.userName) LIKE LOWER(:userName)"), @NamedQuery (name = "SearchUserByEmailAddress", query = "SELECT u FROM users AS u INNER JOIN contacts AS c ON u.userContact = c WHERE LOWER(c.contactEmailAddress) LIKE LOWER(:emailAddress)"), @NamedQuery (name = "SearchUserByConfirmKey", query = "SELECT u FROM users AS u WHERE u.userConfirmKey = :confirmKey"), @NamedQuery (name = "SearchAllUsersExcept", query = "SELECT u FROM users AS u WHERE u != :user ORDER BY u.userId ASC"), @NamedQuery (name = "AllUsers", query = "SELECT u FROM users AS u ORDER BY u.userId ASC"), - @NamedQuery (name = "AllPublicUsers", query = "SELECT u FROM users AS u WHERE u.userAccountStatus = :status AND u.userProfileMode = :mode ORDER BY u.userId ASC"), - @NamedQuery (name = "AllMemberPublicUsers", query = "SELECT u FROM users AS u WHERE u.userAccountStatus = :status AND u.userProfileMode IN (:public, :members) ORDER BY u.userId ASC") } ) @SuppressWarnings ("PersistenceUnitPresent") diff --git a/src/org/mxchange/jusercore/model/user/User.java b/src/org/mxchange/jusercore/model/user/User.java index 31ab284..b71412f 100644 --- a/src/org/mxchange/jusercore/model/user/User.java +++ b/src/org/mxchange/jusercore/model/user/User.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/model/user/UserUtils.java b/src/org/mxchange/jusercore/model/user/UserUtils.java index eccfcbf..cd8263f 100644 --- a/src/org/mxchange/jusercore/model/user/UserUtils.java +++ b/src/org/mxchange/jusercore/model/user/UserUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/model/user/password_history/PasswordHistory.java b/src/org/mxchange/jusercore/model/user/password_history/PasswordHistory.java index b6fef62..0553f05 100644 --- a/src/org/mxchange/jusercore/model/user/password_history/PasswordHistory.java +++ b/src/org/mxchange/jusercore/model/user/password_history/PasswordHistory.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/model/user/password_history/UserPasswordHistory.java b/src/org/mxchange/jusercore/model/user/password_history/UserPasswordHistory.java index f8f8956..9a9cbd5 100644 --- a/src/org/mxchange/jusercore/model/user/password_history/UserPasswordHistory.java +++ b/src/org/mxchange/jusercore/model/user/password_history/UserPasswordHistory.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/model/user/profilemodes/ProfileMode.java b/src/org/mxchange/jusercore/model/user/profilemodes/ProfileMode.java index 17c96a4..0c0db06 100644 --- a/src/org/mxchange/jusercore/model/user/profilemodes/ProfileMode.java +++ b/src/org/mxchange/jusercore/model/user/profilemodes/ProfileMode.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/org/mxchange/jusercore/model/user/status/UserAccountStatus.java b/src/org/mxchange/jusercore/model/user/status/UserAccountStatus.java index 9670bf7..82dfea3 100644 --- a/src/org/mxchange/jusercore/model/user/status/UserAccountStatus.java +++ b/src/org/mxchange/jusercore/model/user/status/UserAccountStatus.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 Free Software Foundation + * Copyright (C) 2016 - 2018 Free Software Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by -- 2.39.5