Updated cataloguePermission to Boolean in order to fix:

https://support.d4science.org/issues/4878

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@131025 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2016-08-29 09:07:52 +00:00
parent 1decd8c40e
commit db62aaa5cc
1 changed files with 5 additions and 5 deletions

View File

@ -8,10 +8,10 @@ public class UserBean implements Serializable {
private String firstName; private String firstName;
private String lastName; private String lastName;
private String email; private String email;
private boolean cataloguePermission; private Boolean cataloguePermission;
public UserBean(String username, String firstName, String lastName, public UserBean(String username, String firstName, String lastName,
String email, boolean cataloguePermission) { String email, Boolean cataloguePermission) {
super(); super();
this.cataloguePermission = cataloguePermission; this.cataloguePermission = cataloguePermission;
this.username = username; this.username = username;
@ -45,10 +45,10 @@ public class UserBean implements Serializable {
public void setEmail(String email) { public void setEmail(String email) {
this.email = email; this.email = email;
} }
public boolean hasCataloguePermission() { public Boolean hasCataloguePermission() {
return cataloguePermission; return cataloguePermission;
} }
public void setCataloguePermission(boolean cataloguePermission) { public void setCataloguePermission(Boolean cataloguePermission) {
this.cataloguePermission = cataloguePermission; this.cataloguePermission = cataloguePermission;
} }