private boolean validNoInterceptingLesson(InfoRoomOccupation infoRoomOccupation) {
private boolean validNoInterceptingLesson(InfoRoomOccupationEditor infoRoomOccupation) {
    private boolean validNoInterceptingLesson(InfoRoomOccupation infoRoomOccupation) {        final OldRoom room = OldRoom.findOldRoomByName(infoRoomOccupation.getInfoRoom().getNome());        final List<RoomOccupation> roomOccupations = room.getRoomOccupations();        for (final RoomOccupation roomOccupation : roomOccupations) {            if (roomOccupation.roomOccupationForDateAndTime(                    infoRoomOccupation.getInfoPeriod().getStartDate(),                    infoRoomOccupation.getInfoPeriod().getEndDate(),                    infoRoomOccupation.getStartTime(),                    infoRoomOccupation.getEndTime(),                    infoRoomOccupation.getDayOfWeek(),                    infoRoomOccupation.getFrequency(),                    infoRoomOccupation.getWeekOfQuinzenalStart())) {                return false;            }        }        return true;    }