com.xmlserv.app.agenda
Class AgendaList

java.lang.Object
  |
  +--com.xmlserv.main.XMLServBackendImpl
        |
        +--com.xmlserv.app.AppBase
              |
              +--com.xmlserv.app.agenda.AgendaList
All Implemented Interfaces:
XMLServBackend

public class AgendaList
extends AppBase

An application to list the contents of an agenda style DB. The listing includes only entries with a start date after 'now'-12:00. To see a complete listing of all entries in the DB, provide the parameter 'CompleteList'. See SQL/agenda.sql for the DB definition.

Version:
$Id: AgendaList.java,v 1.11 2003/01/13 15:30:44 muecke Exp $
Author:
Wolfram Saringer

Constructor Summary
AgendaList()
          Create empty object. init() must be called before this object can be used.
 
Method Summary
 void init()
          Initialize object.
static void main(java.lang.String[] args)
           
 org.jdom.Document process(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest req, SecurityManager securitymanager)
          Main processing method.
 
Methods inherited from class com.xmlserv.app.AppBase
checkoutConn, destroy, errorPage, errorPage, getUrl, newElement, process, redirect, redirect, returnConn
 
Methods inherited from class com.xmlserv.main.XMLServBackendImpl
addParam, getParam, getReqCount, getStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgendaList

public AgendaList()
Create empty object. init() must be called before this object can be used.
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Initialize object.
Overrides:
init in class AppBase
Following copied from class: com.xmlserv.app.AppBase
Throws:
javax.servlet.ServletException - On any error.
See Also:
PGConnectionPool

process

public org.jdom.Document process(javax.servlet.ServletContext context,
                                 javax.servlet.http.HttpServletRequest req,
                                 SecurityManager securitymanager)
                          throws XMLServException,
                                 javax.servlet.ServletException,
                                 java.io.IOException
Main processing method. This reads all events from the agenda table and returns a XML document with the summary data.
Overrides:
process in class AppBase
See Also:
XMLServBackendImpl.process(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest, com.xmlserv.security.SecurityManager)

main

public static void main(java.lang.String[] args)