Space newRoom = null;
if (infoRoomOccupation != null && infoRoomOccupation.getInfoRoom() != null) {
newRoom = SpaceUtils.findAllocatableSpaceForEducationByName(infoRoomOccupation.getInfoRoom().getNome());
}
aula.edit(newBeginDate, newEndDate, weekDay, begin, end, frequency, createLessonInstances, newRoom);
}
}
@Atomic
public static void run(final Lesson lesson, final Space space) throws FenixServiceException {