public Collection<UserRole> getAllRoles() {
return this._roleDao.getAllRoles();
}
public String edit() {
this._user = (!this.login.equals("")) ? this._userDao.getUserByLogin(this.login) : new User();
this._user.setLogin(this.login);
this._user.setPassword(this.password);
this._user.setName(this.name);
this._user.setSurname(this.surname);
this._user.setRoles(this.roles);