org.gcube.portlets.user.speciesdiscovery.server
Class TaxonomyRowTable

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.gcube.portlets.user.speciesdiscovery.server.TaxonomyRowTable
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class TaxonomyRowTable
extends javax.servlet.http.HttpServlet

Author:
Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
See Also:
Serialized Form

Field Summary
static String BODY
           
static String BODYCLOSE
           
static String DOCTYPE
           
static String HEAD
           
static String HEADCLOSE
           
static String HTML
           
static String HTMLCLOSE
           
protected  org.apache.log4j.Logger logger
           
static String TEXT_HTML
           
static String TITLE
           
static String TITLECLOSE
           
protected static String UTF_8
           
 
Constructor Summary
TaxonomyRowTable()
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
protected  void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
 String error(String message)
           
protected  TaxonomyRow findingTaxonomyInCaches(String taxonomyServiceRowID, org.gcube.application.framework.core.session.ASLSession session)
           
protected  org.gcube.application.framework.core.session.ASLSession getASLSession(javax.servlet.http.HttpServletRequest req)
           
 String getHTMLTableForTaxonomy(TaxonomyRow row)
           
protected  SpeciesService getSpeciesService(javax.servlet.http.HttpServletRequest req)
           
static String headWithTitle(String title)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UTF_8

protected static final String UTF_8
See Also:
Constant Field Values

TEXT_HTML

public static final String TEXT_HTML
See Also:
Constant Field Values

DOCTYPE

public static final String DOCTYPE
See Also:
Constant Field Values

HTML

public static final String HTML
See Also:
Constant Field Values

HTMLCLOSE

public static final String HTMLCLOSE
See Also:
Constant Field Values

HEAD

public static final String HEAD
See Also:
Constant Field Values

HEADCLOSE

public static final String HEADCLOSE
See Also:
Constant Field Values

TITLE

public static final String TITLE
See Also:
Constant Field Values

TITLECLOSE

public static final String TITLECLOSE
See Also:
Constant Field Values

BODY

public static final String BODY
See Also:
Constant Field Values

BODYCLOSE

public static final String BODYCLOSE
See Also:
Constant Field Values

logger

protected org.apache.log4j.Logger logger
Constructor Detail

TaxonomyRowTable

public TaxonomyRowTable()
Method Detail

headWithTitle

public static String headWithTitle(String title)

getASLSession

protected org.gcube.application.framework.core.session.ASLSession getASLSession(javax.servlet.http.HttpServletRequest req)

doGet

protected void doGet(javax.servlet.http.HttpServletRequest req,
                     javax.servlet.http.HttpServletResponse resp)
              throws javax.servlet.ServletException,
                     IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException

doPost

protected void doPost(javax.servlet.http.HttpServletRequest req,
                      javax.servlet.http.HttpServletResponse resp)
               throws javax.servlet.ServletException,
                      IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException

findingTaxonomyInCaches

protected TaxonomyRow findingTaxonomyInCaches(String taxonomyServiceRowID,
                                              org.gcube.application.framework.core.session.ASLSession session)

getSpeciesService

protected SpeciesService getSpeciesService(javax.servlet.http.HttpServletRequest req)
                                    throws SearchServiceException
Throws:
SearchServiceException

error

public String error(String message)

getHTMLTableForTaxonomy

public String getHTMLTableForTaxonomy(TaxonomyRow row)


Copyright © 2014. All Rights Reserved.