uk.ac.ebi.intenz.webapp.controller
Class SearchIDCommand

java.lang.Object
  extended by uk.ac.ebi.intenz.webapp.controller.Command
      extended by uk.ac.ebi.intenz.webapp.controller.DatabaseCommand
          extended by uk.ac.ebi.intenz.webapp.controller.SearchIDCommand

public class SearchIDCommand
extends DatabaseCommand

This command handles enzyme ID requests.

Version:
0.9 - 21-July-2003
Author:
Michael Darsow

Field Summary
static org.apache.log4j.Logger LOGGER
           
 
Fields inherited from class uk.ac.ebi.intenz.webapp.controller.DatabaseCommand
con, context, databaseErrorMessage, enzymeEntryMapper, request, response
 
Constructor Summary
SearchIDCommand()
           
 
Method Summary
protected  EnzymeEntry findEnzymeEntry(Long id)
          Calls the according find() method and handles empty results and SQL exceptions.
 void process()
          TBD
 
Methods inherited from class uk.ac.ebi.intenz.webapp.controller.DatabaseCommand
close, closeConnection, finalize, forward, init
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

public static final org.apache.log4j.Logger LOGGER
Constructor Detail

SearchIDCommand

public SearchIDCommand()
Method Detail

process

public void process()
             throws javax.servlet.ServletException,
                    IOException
TBD

Specified by:
process in class Command
Throws:
javax.servlet.ServletException
IOException

findEnzymeEntry

protected EnzymeEntry findEnzymeEntry(Long id)
Calls the according find() method and handles empty results and SQL exceptions.

Parameters:
id - ID of the enzyme to search for.
Returns:
An EnzymeEntry instance or null.


Copyright © 2013 EMBL-EBI. All Rights Reserved.