|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ebi.intenz.mapper.EnzymeNameMapper
public class EnzymeNameMapper
Maps enzyme names information to the corresponding database tables.
| Constructor Summary | |
|---|---|
EnzymeNameMapper()
|
|
| Method Summary | |
|---|---|
void |
deleteNames(Long enzymeId,
EnzymeNameTypeConstant nameType,
Connection con)
|
List<EnzymeName> |
exportSibNames(Long enzymeId,
Connection con)
Exports all names which are displayed in the ENZYME view. |
List<EnzymeName> |
find(Long enzymeId,
Connection con)
Tries to find name information about an enzyme. |
List<EnzymeName> |
findCommonNames(Long enzymeId,
Connection con)
Finds only the common name of an entry. |
EnzymeName |
findSystematicName(Long enzymeId,
Connection con)
Finds only the systematic name of an entry. |
void |
insert(EnzymeName enzymeName,
Long enzymeId,
Status status,
int orderIn,
Connection con)
|
void |
insertNames(List<EnzymeName> names,
Long enzymeId,
Status status,
Connection con)
|
void |
reload(List<EnzymeName> names,
Long enzymeId,
EnzymeNameTypeConstant type,
Status status,
Connection con)
|
void |
update(EnzymeName name,
Long enzymeId,
Status status,
int orderIn,
Connection con)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnzymeNameMapper()
| Method Detail |
|---|
public List<EnzymeName> find(Long enzymeId,
Connection con)
throws SQLException
enzymeId - Enzyme ID of entry.con - The logical connection.
Vector containing EnzymeNameinstances or null if nothing has been found.
SQLException
public List<EnzymeName> exportSibNames(Long enzymeId,
Connection con)
throws SQLException
enzymeId - The enzyme ID used to retreive the related names.con - The database connection.
ArrayList of names or null if no name could be found.
SQLException - if a database error occured.
NullPointerException - if either of the parameters is null.
public List<EnzymeName> findCommonNames(Long enzymeId,
Connection con)
throws SQLException
enzymeId - Enzyme ID of entry.con - The logical connection.
null if nothing has been found.
SQLException
public EnzymeName findSystematicName(Long enzymeId,
Connection con)
throws SQLException
enzymeId - Enzyme ID of entry.con - The logical connection.
null if nothing has been found.
SQLException
public void update(EnzymeName name,
Long enzymeId,
Status status,
int orderIn,
Connection con)
throws SQLException
SQLException
public void insertNames(List<EnzymeName> names,
Long enzymeId,
Status status,
Connection con)
throws SQLException
SQLException
public void insert(EnzymeName enzymeName,
Long enzymeId,
Status status,
int orderIn,
Connection con)
throws SQLException
SQLException
public void reload(List<EnzymeName> names,
Long enzymeId,
EnzymeNameTypeConstant type,
Status status,
Connection con)
throws SQLException
SQLException
public void deleteNames(Long enzymeId,
EnzymeNameTypeConstant nameType,
Connection con)
throws SQLException
SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||