gov.nasa.pds.report.profile.manager.servlets
Class SaveServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by gov.nasa.pds.report.profile.manager.servlets.SaveServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class SaveServlet
extends javax.servlet.http.HttpServlet

Servlet implementation class SaveServlet

See Also:
Serialized Form

Field Summary
protected  boolean isNew
           
protected  String localPath
           
protected  gov.nasa.pds.report.update.model.LogPath logPath
           
protected  List<gov.nasa.pds.report.update.model.LogSet> newLogSets
           
protected  gov.nasa.pds.report.update.model.Profile profile
           
 
Constructor Summary
SaveServlet()
           
 
Method Summary
protected  void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void updateDB(boolean isNew)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, 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

localPath

protected String localPath

profile

protected gov.nasa.pds.report.update.model.Profile profile

newLogSets

protected List<gov.nasa.pds.report.update.model.LogSet> newLogSets

logPath

protected gov.nasa.pds.report.update.model.LogPath logPath

isNew

protected boolean isNew
Constructor Detail

SaveServlet

public SaveServlet()
See Also:
HttpServlet.HttpServlet()
Method Detail

doPost

protected final void doPost(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)
                     throws javax.servlet.ServletException,
                            IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException
See Also:
HttpServlet.doPost(HttpServletRequest request, HttpServletResponse response)

updateDB

protected void updateDB(boolean isNew)
                 throws SQLException,
                        FileNotFoundException
Throws:
SQLException
FileNotFoundException


Copyright © 2010-2014 Planetary Data System. All Rights Reserved.