Search in sources :

Example 16 with ImportedToCalendar

use of org.olat.commons.calendar.model.ImportedToCalendar in project openolat by klemens.

the class ImportedToCalendarDAO method delete.

public void delete(ImportedToCalendar importedToCalendar) {
    ImportedToCalendar reloadedImportedToCalendar = dbInstance.getCurrentEntityManager().getReference(ImportedToCalendar.class, importedToCalendar.getKey());
    dbInstance.getCurrentEntityManager().remove(reloadedImportedToCalendar);
}
Also used : ImportedToCalendar(org.olat.commons.calendar.model.ImportedToCalendar)

Aggregations

ImportedToCalendar (org.olat.commons.calendar.model.ImportedToCalendar)16 Date (java.util.Date)12 Test (org.junit.Test)6 InputStream (java.io.InputStream)4 URL (java.net.URL)4 Kalendar (org.olat.commons.calendar.model.Kalendar)4 Calendar (java.util.Calendar)2 StringTokenizer (java.util.StringTokenizer)2 ImportedCalendar (org.olat.commons.calendar.model.ImportedCalendar)2