HistoryEventMapper
instead.public class EventPackageMapper extends Object
Constructor and Description |
---|
EventPackageMapper()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
insertFutureCreationEvent(Long enzymeId,
Connection con)
Deprecated.
Inserts a new enzyme creation event into the
FUTURE_EVENTS table. |
void |
insertFutureDeletionEvent(Long beforeId,
Long afterId,
String comment,
Connection con)
Deprecated.
Inserts a new deletion event into the
FUTURE_EVENTS table. |
void |
insertFutureModificationEvent(Long beforeId,
Long afterId,
Connection con)
Deprecated.
Inserts a new enzyme creation event into the
FUTURE_EVENTS table. |
void |
insertFutureTransferEvent(Long beforeId,
Long afterId,
String comment,
Connection con)
Deprecated.
Inserts a new transfer event into the
FUTURE_EVENTS table. |
void |
updateFutureCreationEvent(int groupId,
int eventId,
String newStatus,
Connection con)
Deprecated.
Updates a new enzyme creation event in the
FUTURE_EVENTS table. |
void |
updateFutureDeletionEvent(int groupId,
int eventId,
String comment,
String newStatus,
Connection con)
Deprecated.
Updates a future deletion event.
|
void |
updateFutureModificationEvent(int groupId,
int eventId,
String newStatus,
Connection con)
Deprecated.
Updates a new enzyme creation event in the
FUTURE_EVENTS table. |
void |
updateFutureTransferEvent(int groupId,
int eventId,
String newHistoryComment,
String newStatus,
String historyLineOfDeletedEntry,
Connection con)
Deprecated.
Updates a transferred enzyme (target and origin) event in the
FUTURE_EVENTS table. |
public void insertFutureCreationEvent(Long enzymeId, Connection con) throws SQLException
FUTURE_EVENTS
table.enzymeId
- The enzyme ID.con
- The connection.SQLException
public void updateFutureCreationEvent(int groupId, int eventId, String newStatus, Connection con) throws SQLException
FUTURE_EVENTS
table.groupId
- The enzyme ID of the original enzyme.eventId
- The enzyme ID of the cloned enzyme.newStatus
- ...con
- ...SQLException
public void insertFutureModificationEvent(Long beforeId, Long afterId, Connection con) throws SQLException
FUTURE_EVENTS
table.beforeId
- The enzyme ID of the original enzyme.afterId
- The enzyme ID of the cloned enzyme.con
- The connection.SQLException
public void updateFutureModificationEvent(int groupId, int eventId, String newStatus, Connection con) throws SQLException
FUTURE_EVENTS
table.groupId
- The event group ID.eventId
- The event ID.newStatus
- ...con
- ...SQLException
public void insertFutureTransferEvent(Long beforeId, Long afterId, String comment, Connection con) throws SQLException
FUTURE_EVENTS
table.beforeId
- The enzyme ID of the original enzyme.afterId
- The enzyme ID of the cloned enzyme.comment
- History comment added to this transfer event.con
- The connection.SQLException
public void updateFutureTransferEvent(int groupId, int eventId, String newHistoryComment, String newStatus, String historyLineOfDeletedEntry, Connection con) throws SQLException
FUTURE_EVENTS
table.groupId
- The enzyme ID of the original enzyme.eventId
- The enzyme ID of the cloned enzyme.newHistoryComment
- ...newStatus
- ...con
- ...SQLException
public void insertFutureDeletionEvent(Long beforeId, Long afterId, String comment, Connection con) throws SQLException
FUTURE_EVENTS
table.beforeId
- The enzyme ID of the original enzyme.afterId
- The enzyme ID of the cloned enzyme.comment
- History comment added to this deletion event.con
- The connection.SQLException
public void updateFutureDeletionEvent(int groupId, int eventId, String comment, String newStatus, Connection con) throws SQLException
groupId
- ...eventId
- ...comment
- ...newStatus
- The new status of the enzyme.con
- The connection.SQLException
Copyright © 2014 EMBL-EBI. All rights reserved.