public Collection<UserRole> getAllRoles() {
return this._roleDao.getAllRoles();
}
public String edit() {
this._role = (this.id != 0) ? this._roleDao.getRoleById(this.id) : new UserRole();
this._role.setName(this.name);
this._role.setDescription(this.description);;
this._roleDao.saveRole(this._role);
return "role-details";