From 5d7a7905f4212c09e6c625d642bbfdc3ec22e7a3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 13 Mar 2018 23:05:44 +0100 Subject: [PATCH] Please cherry-pick/rename: - Headquarter is enough for bean name (please rename) - removed some no longer recommended business methods - removed no longer used private methods - made some local variables final which helps the Java compiler in optimization of resulting byte-code - added session EJB for user activity - other improvements (?) - changed copyright to Free Software Foundation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- src/java/log4j2.xml | 2 +- .../contact/JobsAdminContactSessionBean.java | 2 +- .../model/contact/JobsContactSessionBean.java | 121 +--------- .../JobsAdminContactPhoneSessionBean.java | 2 +- .../JobsAdminBusinessDataSessionBean.java | 14 +- .../JobsBusinessDataSessionBean.java | 2 +- .../JobsAdminBranchOfficeSessionBean.java | 4 +- .../JobsBranchOfficeSessionBean.java | 2 +- .../JobsAdminDepartmentSessionBean.java | 18 +- .../department/JobsDepartmentSessionBean.java | 2 +- .../JobsAdminCompanyEmployeeSessionBean.java | 207 +++++++++++++++++- .../JobsCompanyEmployeeSessionBean.java | 4 +- .../JobsAdminHeadquartersSessionBean.java | 48 ++-- .../JobsHeadquartersSessionBean.java | 12 +- .../JobsAdminOpeningTimesSessionBean.java | 2 +- .../JobsOpeningTimesSessionBean.java | 2 +- .../data/JobsAdminCountrySingletonBean.java | 2 +- .../model/data/JobsCountrySingletonBean.java | 2 +- .../JobsAdminMobileProviderSessionBean.java | 2 +- .../JobsMobileProviderSingletonBean.java | 2 +- .../phone/JobsAdminPhoneSessionBean.java | 2 +- .../phone/JobsPhoneSessionBean.java | 139 +----------- .../model/user/JobsAdminUserSessionBean.java | 6 +- .../model/user/JobsUserSessionBean.java | 73 +----- .../JobsUserActivityLogMessageBean.java | 196 +++++++++-------- .../JobsUserEmailChangeSessionBean.java | 2 +- .../JobsUserPasswordHistorySessionBean.java | 2 +- .../user/login/JobsUserLoginSessionBean.java | 3 +- .../JobsUserRegistrationSessionBean.java | 2 +- .../resendlink/JobsResendLinkSessionBean.java | 2 +- 30 files changed, 410 insertions(+), 469 deletions(-) rename src/java/org/mxchange/jcontactsbusiness/model/{headquarters => headquarter}/JobsAdminHeadquartersSessionBean.java (68%) rename src/java/org/mxchange/jcontactsbusiness/model/{headquarters => headquarter}/JobsHeadquartersSessionBean.java (75%) diff --git a/src/java/log4j2.xml b/src/java/log4j2.xml index 98e9a65..90439ed 100644 --- a/src/java/log4j2.xml +++ b/src/java/log4j2.xml @@ -1,6 +1,6 @@