private IPeriod createPeriod(final Calendar startDate, final Calendar endDate) throws ExcepcaoPersistencia { final IPeriod period = new Period();
private IPeriod createPeriod(final Calendar startDate, final Calendar endDate) { final IPeriod period = DomainFactory.makePeriod();
    private IPeriod createPeriod(final Calendar startDate, final Calendar endDate)            throws ExcepcaoPersistencia {        final IPeriod period = new Period();        period.setStartDate(startDate);        period.setEndDate(endDate);        period.setNextPeriod(null);        periodDAO.simpleLockWrite(period);        return period;    }