public class HistoryEventMapper extends Object
| Constructor and Description |
|---|
HistoryEventMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
insertEvent(uk.ac.ebi.intenz.domain.constants.Event event,
Long beforeId,
Long afterId,
String note,
Connection con) |
void |
updateEvent(int eventId,
int groupId,
String newNote,
Integer beforeId,
Integer afterId,
Connection con)
Modifies an event in the history.
|
void |
updateEventNote(int eventId,
int groupId,
String newNote,
Connection con)
Updates the note for an event in the history.
|
public void insertEvent(uk.ac.ebi.intenz.domain.constants.Event event,
Long beforeId,
Long afterId,
String note,
Connection con)
throws SQLException
SQLExceptionpublic void updateEventNote(int eventId,
int groupId,
String newNote,
Connection con)
throws SQLException
eventId - the ID of the event.groupId - the ID of the event group.newNote - the new note for the event.con - a database connection.SQLExceptionpublic void updateEvent(int eventId,
int groupId,
String newNote,
Integer beforeId,
Integer afterId,
Connection con)
throws SQLException
eventId - the event ID.groupId - the event group ID.newNote - the new history note.beforeId - the ID of the enzyme before the event.afterId - the ID of the enzyme after the event.con - a database connection.SQLExceptionCopyright © 2014 EMBL-EBI. All rights reserved.