use of org.ovirt.engine.core.common.action.RolesParameterBase in project ovirt-engine by oVirt.
the class RoleListModel method onRemove.
public void onRemove() {
for (Object item : getSelectedItems()) {
Role role = (Role) item;
Frontend.getInstance().runAction(ActionType.RemoveRole, new RolesParameterBase(role.getId()));
}
cancel();
// Execute search to keep list updated.
getSearchCommand().execute();
}
Aggregations