package edu.northwestern.bioinformatics.studycalendar.dao;

import edu.northwestern.bioinformatics.studycalendar.domain.Period;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author Rhett Sutphin
 */
@Transactional(readOnly = true)
public class PeriodDao extends StudyCalendarMutableDomainObjectDao<Period> {
    @Override
    public Class<Period> domainClass() {
        return Period.class;
    }

    public void evict(Period period) {
        getHibernateTemplate().evict(period);
    }

    public void delete(Period period) {
        getHibernateTemplate().delete(period);
    }
}

@@ -412,32 +412,227 @@
 d.class;%0A    %7D%0A%0A
+    /**%0A    * To manage caching of a period, this method will remove the period specified from hibernate's first level cache%0A    *%0A    * @param  period the period to remove from the cache%0A    */%0A
     public void 
@@ -703,24 +703,110 @@
 od);%0A    %7D%0A%0A
+    /**%0A    * Deletes a period%0A    *%0A    * @param  period the period to delete%0A    */%0A
     public v

Add javadoc to period dao.