}
public List<SelectItem> getAvailableRooms() {
List<SelectItem> result = new ArrayList<SelectItem>();
WrittenTest writtenTest = (WrittenTest) getEvaluation();
Teacher teacher = AccessControl.getPerson().getTeacher();
for (Space room : writtenTest.getAvailableRooms()) {
SelectItem selectItem;
selectItem = new SelectItem(room.getExternalId(), room.getName());
selectItem.setDisabled(!writtenTest.canTeacherRemoveRoom(getExecutionCourse().getExecutionPeriod(), teacher, room));
result.add(selectItem);