dke.smwp.wrapper
Class Show_SystemID
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--dke.smwp.wrapper.Show_SystemID
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class Show_SystemID
- extends javax.servlet.http.HttpServlet
generates index of all generated XML documents;
containing systemIDs and fragmentation parameter information for
for all generated XML documents.
- Version:
- 1.0
- Author:
- Werner Enser
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.http.HttpServlet |
HEADER_IFMODSINCE, HEADER_LASTMOD, LSTRING_FILE, lStrings, METHOD_DELETE, METHOD_GET, METHOD_HEAD, METHOD_OPTIONS, METHOD_POST, METHOD_PUT, METHOD_TRACE |
Fields inherited from class javax.servlet.GenericServlet |
config |
Method Summary |
void |
destroy()
Clean up resources |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
processes the HTTP get request
fetching overview over all stored XML documents as XML document |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
processes the HTTP post request
fetching overview over all stored XML documents as XML document |
private java.lang.String |
getSystemIDs()
gets systemIDs for all saved xml documents and returns them as XML document |
void |
init()
Initialize global variables |
Methods inherited from class javax.servlet.http.HttpServlet |
, doDelete, doHead, doOptions, doPut, doTrace, getAllDeclaredMethods, getLastModified, maybeSetLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
CONTENT_TYPE
private static final java.lang.String CONTENT_TYPE
- content type of return string
DB_SCHEMA_NAME
private static final java.lang.String DB_SCHEMA_NAME
- database schema-name
TABLE_SMWP_XML_DOCUMENT
private static final java.lang.String TABLE_SMWP_XML_DOCUMENT
- tablename for stored XML documents
TABLE_SMWP_XML_DOCUMENT_PARAMS
private static final java.lang.String TABLE_SMWP_XML_DOCUMENT_PARAMS
- tablename for metadata of stored XML documents
Show_SystemID
public Show_SystemID()
init
public void init()
throws javax.servlet.ServletException
- Initialize global variables
- Overrides:
init
in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
-
doPost
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- processes the HTTP post request
fetching overview over all stored XML documents as XML document
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Parameters:
request
- HTTP Post request (no parameters required)response
- list of all stored XML documentes as XML document- Throws:
javax.servlet.ServletException
- java.io.IOException
- fetching XML documents
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- processes the HTTP get request
fetching overview over all stored XML documents as XML document
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Parameters:
request
- HTTP Post request (no parameters required)response
- list of all stored XML documentes as XML document- Throws:
javax.servlet.ServletException
- java.io.IOException
- fetching XML documents failed
getSystemIDs
private java.lang.String getSystemIDs()
throws java.sql.SQLException
- gets systemIDs for all saved xml documents and returns them as XML document
- Returns:
- systemIds in XML formated list
- Throws:
java.sql.SQLException
- fetching systemIds failed
destroy
public void destroy()
- Clean up resources
- Overrides:
destroy
in class javax.servlet.GenericServlet