From 181b89b6413f2bd2f3331639ccfd63dd6892ec7a Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 5 Mar 2016 17:46:04 +0100 Subject: [PATCH] Introduced isRequiredChangePersonalDataSet() + updated jar(s) --- lib/jcontacts-core.jar | Bin 21062 -> 21062 bytes lib/juser-core.jar | Bin 29575 -> 29575 bytes .../beans/user/UserWebSessionBean.java | 12 ++++++++++++ .../beans/user/UserWebSessionController.java | 7 +++++++ 4 files changed, 19 insertions(+) diff --git a/lib/jcontacts-core.jar b/lib/jcontacts-core.jar index 0d39fc70d693bcc904f9965cae2c4637794762b7..c9e06f82084a0a9b4a489d3285e869016d64b917 100644 GIT binary patch delta 224 zcmX@Mgz?xCM&1B#W)?061`Y-WhThbPyc*1Zdr~J_%x69Wq;AQBsXrPZYO*?`5i?ND zcUch=c{P~d0x666%+G+-EqO5YM*~DnR%bK<(=m)z zV0tE_BbdI+XbYk@%QAU#f*G0I37TNW8IvzuV8&tl*$}Bj&oeB{K#L|D_*sB#nw;%t z4^lCCt)D)az7G@!@umEoz;wL77nok-9|)o+1^9xw0RiD)dR0I)nC1wK1=AUUNnrYH GU?l);WmvBO diff --git a/lib/juser-core.jar b/lib/juser-core.jar index dab758462c35b87a226d553d9ae55630dad262db..cc3761bcc952f208a7820d9d5240423e27e658c6 100644 GIT binary patch delta 238 zcmZpF&e;B(kte{LnT3mifrEj;v3DYmCX++&M)O2QAhmfGBNvFCtjMf6SwNh7@+~G; zkgy{2UM3Lzfc1qSh(0AA!2+UHWGumSyuy5TAb*p_dS;ODM(q<|x?0~<2E^awy_gk5 zhX+cDF*){5E>5=uao43gf-U`+;RUwTHfttOc(QGl%;qmy{$MHBoPLnSldt7ffvBMT kG7xnt{|<;+QIHFw#0!f+RCi%4hB$1( z+>>uHxq`$u>oc!sVv?!Z{DAd^Ac#IC9>D^lRb(u|biBfRb|8O~#(HLu@J8(uV7gl0 zR0hP~LY>S=}H3AkDY=OO`+5 zH diff --git a/src/java/org/mxchange/addressbook/beans/user/UserWebSessionBean.java b/src/java/org/mxchange/addressbook/beans/user/UserWebSessionBean.java index 5a770521..3d03dad9 100644 --- a/src/java/org/mxchange/addressbook/beans/user/UserWebSessionBean.java +++ b/src/java/org/mxchange/addressbook/beans/user/UserWebSessionBean.java @@ -716,6 +716,18 @@ public class UserWebSessionBean implements UserWebSessionController { (this.getUserPasswordRepeat() != null)); } + @Override + public boolean isRequiredChangePersonalDataSet () { + return ((this.getUserProfileMode() != null) && + (this.getGender() != null) && + (this.getFirstName() != null) && + (this.getFamilyName() != null) && + (this.getStreet() != null) && + (this.getHouseNumber() != null) && + (this.getZipCode() != null) && + (this.getCity() != null)); + } + @Override public boolean isSameEmailAddressEntered () { return (Objects.equals(this.getEmailAddress(), this.getEmailAddressRepeat())); diff --git a/src/java/org/mxchange/addressbook/beans/user/UserWebSessionController.java b/src/java/org/mxchange/addressbook/beans/user/UserWebSessionController.java index ac221cd8..bc7213b9 100644 --- a/src/java/org/mxchange/addressbook/beans/user/UserWebSessionController.java +++ b/src/java/org/mxchange/addressbook/beans/user/UserWebSessionController.java @@ -441,6 +441,13 @@ public interface UserWebSessionController extends Serializable { */ boolean isRequiredPersonalDataSet (); + /** + * Checks whether all required personal data is set for changing them + *

+ * @return Whether the required personal data is set + */ + boolean isRequiredChangePersonalDataSet (); + /** * Checks whether same email addresses have been entered *

-- 2.39.5