From: Roland Haeder Date: Mon, 18 Apr 2016 19:50:49 +0000 (+0200) Subject: better store the user instance locally than as property. well, now auto-complete... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=abc97cf2270191f8966d8eff630c2ee8f528df86;p=jjobs-war.git better store the user instance locally than as property. well, now auto-complete cannot help here anymore. :-( --- diff --git a/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionBean.java b/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionBean.java index b05c8d1c..3714d194 100644 --- a/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionBean.java +++ b/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionBean.java @@ -166,11 +166,6 @@ public class JobsAdminUserWebSessionBean implements JobsAdminUserWebSessionContr */ private String street; - /** - * User instance - */ - private User user; - /** * Remote user bean */ @@ -550,16 +545,6 @@ public class JobsAdminUserWebSessionBean implements JobsAdminUserWebSessionContr this.street = street; } - @Override - public User getUser () { - return this.user; - } - - @Override - public void setUser (final User user) { - this.user = user; - } - @Override public String getUserName () { return this.userName; @@ -669,9 +654,6 @@ public class JobsAdminUserWebSessionBean implements JobsAdminUserWebSessionContr this.setUserPassword(null); this.setUserPasswordRepeat(null); this.setZipCode(null); - - // - user instance - this.setUser(null); } /** diff --git a/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionController.java b/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionController.java index 3a853738..3580232d 100644 --- a/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionController.java +++ b/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionController.java @@ -317,20 +317,6 @@ public interface JobsAdminUserWebSessionController extends Serializable { */ void setStreet (final String street); - /** - * Getter for user instance (e.g. from show_user) - *

- * @return User instance - */ - User getUser (); - - /** - * Setter for user instance (e.g. from show_user) - *

- * @param user User instance - */ - void setUser (final User user); - /** * Getter for user name *

diff --git a/web/admin/user/admin_user_show.xhtml b/web/admin/user/admin_user_show.xhtml index 350b1914..629ec20c 100644 --- a/web/admin/user/admin_user_show.xhtml +++ b/web/admin/user/admin_user_show.xhtml @@ -9,7 +9,7 @@ > - + @@ -20,32 +20,32 @@ - + - + - - + + - + - + - + @@ -53,7 +53,7 @@ - + @@ -61,19 +61,19 @@ - + - + - + @@ -81,13 +81,13 @@ - + - + @@ -95,7 +95,7 @@ - + @@ -103,81 +103,81 @@ - + - + - + - + - + - + - + - + - + - - + + - + - + - - + +