uk.ac.ebi.intenz.mapper
Class EventPackageMapper

java.lang.Object
  extended by uk.ac.ebi.intenz.mapper.EventPackageMapper

Deprecated. use HistoryEventMapper instead.

public class EventPackageMapper
extends Object

Provides methods for event package access.

Version:
$Revision: 1.2 $ $Date: 2008/01/28 12:33:08 $
Author:
Michael Darsow

Constructor Summary
EventPackageMapper()
          Deprecated.  
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventPackageMapper

public EventPackageMapper()
Deprecated. 
Method Detail

insertFutureCreationEvent

public void insertFutureCreationEvent(Long enzymeId,
                                      Connection con)
                               throws SQLException
Deprecated. 
Inserts a new enzyme creation event into the FUTURE_EVENTS table.

Parameters:
enzymeId - The enzyme ID.
con - The connection.
Throws:
SQLException

updateFutureCreationEvent

public void updateFutureCreationEvent(int groupId,
                                      int eventId,
                                      String newStatus,
                                      Connection con)
                               throws SQLException
Deprecated. 
Updates a new enzyme creation event in the FUTURE_EVENTS table.

Parameters:
groupId - The enzyme ID of the original enzyme.
eventId - The enzyme ID of the cloned enzyme.
newStatus - ...
con - ...
Throws:
SQLException

insertFutureModificationEvent

public void insertFutureModificationEvent(Long beforeId,
                                          Long afterId,
                                          Connection con)
                                   throws SQLException
Deprecated. 
Inserts a new enzyme creation event into the FUTURE_EVENTS table.

Parameters:
beforeId - The enzyme ID of the original enzyme.
afterId - The enzyme ID of the cloned enzyme.
con - The connection.
Throws:
SQLException

updateFutureModificationEvent

public void updateFutureModificationEvent(int groupId,
                                          int eventId,
                                          String newStatus,
                                          Connection con)
                                   throws SQLException
Deprecated. 
Updates a new enzyme creation event in the FUTURE_EVENTS table.

Parameters:
groupId - The event group ID.
eventId - The event ID.
newStatus - ...
con - ...
Throws:
SQLException

insertFutureTransferEvent

public void insertFutureTransferEvent(Long beforeId,
                                      Long afterId,
                                      String comment,
                                      Connection con)
                               throws SQLException
Deprecated. 
Inserts a new transfer event into the FUTURE_EVENTS table.

Parameters:
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.
Throws:
SQLException

updateFutureTransferEvent

public void updateFutureTransferEvent(int groupId,
                                      int eventId,
                                      String newHistoryComment,
                                      String newStatus,
                                      String historyLineOfDeletedEntry,
                                      Connection con)
                               throws SQLException
Deprecated. 
Updates a transferred enzyme (target and origin) event in the FUTURE_EVENTS table.

Parameters:
groupId - The enzyme ID of the original enzyme.
eventId - The enzyme ID of the cloned enzyme.
newHistoryComment - ...
newStatus - ...
con - ...
Throws:
SQLException

insertFutureDeletionEvent

public void insertFutureDeletionEvent(Long beforeId,
                                      Long afterId,
                                      String comment,
                                      Connection con)
                               throws SQLException
Deprecated. 
Inserts a new deletion event into the FUTURE_EVENTS table.

Parameters:
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.
Throws:
SQLException

updateFutureDeletionEvent

public void updateFutureDeletionEvent(int groupId,
                                      int eventId,
                                      String comment,
                                      String newStatus,
                                      Connection con)
                               throws SQLException
Deprecated. 
Updates a future deletion event.

Parameters:
groupId - ...
eventId - ...
comment - ...
newStatus - The new status of the enzyme.
con - The connection.
Throws:
SQLException


Copyright © 2013 EMBL-EBI. All Rights Reserved.