return e.getId();
}
@Override
public long storeReport(ReportDTO report) {
Report r = new Report();
r.setApprovedSupervisorKey(report.approvedSupervisorKey);
r.setCreated(report.created);
r.setDepartment(report.department);
r.setNotes(report.notes);
r.setPurpose(report.purpose);
r.setReporterKey(report.reporterKey);
r.persist();
return r.getId();
}
};
}
try {