This commit is contained in:
@@ -160,19 +160,4 @@ public class User implements Serializable{
|
|||||||
this.roles = roles;
|
this.roles = roles;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public List<Conference> getConferences(){
|
|
||||||
Conference conf;
|
|
||||||
List<Conference> list = new ArrayList<Conference>();
|
|
||||||
List<Role> tmpList = getRoles();
|
|
||||||
|
|
||||||
for (Role role : tmpList) {
|
|
||||||
conf = role.getConference();
|
|
||||||
if(!list.contains(conf)){
|
|
||||||
list.add(conf);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return list;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user