org.paneris.bibliomania
Class BibliomaniaServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.melati.servlet.ConfigServlet
              extended by org.melati.servlet.PoemServlet
                  extended by org.melati.servlet.TemplateServlet
                      extended by org.melati.template.webmacro.WebmacroMelatiServlet
                          extended by org.paneris.bibliomania.BibliomaniaServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
AllMessageboards, BatchImporter, BibliomaniaLogin, Bookmark, Buy, CreateBoard, DeliveryCharges, DownloadList, EnsureLogin, FixTextID, FramesetServlet, ListBoards, OldUrlRedirect, RegenerateNavigation, ResetAuthorSequence, Search, Serve, Shop, ShowTexLog, TotalNav, UserDetails

public abstract class BibliomaniaServlet
extends org.melati.template.webmacro.WebmacroMelatiServlet

See Also:
Serialized Form

Nested Class Summary
 class BibliomaniaServlet.BibContext
           
 
Field Summary
static java.lang.String templatePrefix
           
static java.lang.String UNROLL
           
 
Fields inherited from class org.melati.servlet.TemplateServlet
templateEngine
 
Fields inherited from class org.melati.servlet.ConfigServlet
melatiConfig, sysAdminEmail, sysAdminName
 
Constructor Summary
BibliomaniaServlet()
           
 
Method Summary
protected  org.melati.login.AccessHandler accessHandler()
           
 void assertRegisteredUser(BibliomaniaDatabase db)
           
protected  java.lang.String bibliomaniaHandle(org.melati.Melati melati, org.webmacro.servlet.WebContext context)
           
static java.lang.String bibliomaniaTemplate(java.lang.String name)
          A template name.
protected  void decipherExtraPathInfo(java.lang.String[] parts, BibliomaniaServlet.BibContext it)
           
protected  void fillContext(org.melati.Melati melati, BibliomaniaServlet.BibContext it)
           
 java.lang.String getSysAdminEmail()
           
 java.lang.String getSysAdminName()
           
protected  java.lang.String handle(org.melati.Melati melati, org.webmacro.servlet.WebContext context)
           
 void init(javax.servlet.ServletConfig config)
           
protected  org.melati.MelatiConfig melatiConfig()
           
protected  BibliomaniaServlet.BibContext melatiContext()
           
protected  org.melati.PoemContext poemContext(org.melati.Melati melati)
           
 
Methods inherited from class org.melati.template.webmacro.WebmacroMelatiServlet
doTemplateRequest
 
Methods inherited from class org.melati.servlet.TemplateServlet
addExtension, doPoemRequest, error, prePoemSession
 
Methods inherited from class org.melati.servlet.PoemServlet
_handleException, dbBusyMessage, destroy, doConfiguredRequest, handleException, poemContextWithLDB
 
Methods inherited from class org.melati.servlet.ConfigServlet
doGet, doPost, setSysAdminEmail, setSysAdminName, writeConnectionPendingException, writeError
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, 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, toString, wait, wait, wait
 

Field Detail

templatePrefix

public static final java.lang.String templatePrefix
See Also:
Constant Field Values

UNROLL

public static final java.lang.String UNROLL
See Also:
Constant Field Values
Constructor Detail

BibliomaniaServlet

public BibliomaniaServlet()
Method Detail

getSysAdminName

public java.lang.String getSysAdminName()
Overrides:
getSysAdminName in class org.melati.servlet.PoemServlet

getSysAdminEmail

public java.lang.String getSysAdminEmail()
Overrides:
getSysAdminEmail in class org.melati.servlet.PoemServlet

bibliomaniaTemplate

public static java.lang.String bibliomaniaTemplate(java.lang.String name)
A template name.

Parameters:
name - the name excluding template engine specific extension
Returns:
A template name

melatiConfig

protected org.melati.MelatiConfig melatiConfig()
Overrides:
melatiConfig in class org.melati.servlet.ConfigServlet

bibliomaniaHandle

protected java.lang.String bibliomaniaHandle(org.melati.Melati melati,
                                             org.webmacro.servlet.WebContext context)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

decipherExtraPathInfo

protected void decipherExtraPathInfo(java.lang.String[] parts,
                                     BibliomaniaServlet.BibContext it)

fillContext

protected void fillContext(org.melati.Melati melati,
                           BibliomaniaServlet.BibContext it)
                    throws org.melati.servlet.PathInfoException
Throws:
org.melati.servlet.PathInfoException

melatiContext

protected BibliomaniaServlet.BibContext melatiContext()

poemContext

protected org.melati.PoemContext poemContext(org.melati.Melati melati)
                                      throws org.melati.servlet.PathInfoException
Overrides:
poemContext in class org.melati.servlet.PoemServlet
Throws:
org.melati.servlet.PathInfoException

handle

protected final java.lang.String handle(org.melati.Melati melati,
                                        org.webmacro.servlet.WebContext context)
                                 throws java.lang.Exception
Specified by:
handle in class org.melati.template.webmacro.WebmacroMelatiServlet
Throws:
java.lang.Exception

accessHandler

protected org.melati.login.AccessHandler accessHandler()

assertRegisteredUser

public void assertRegisteredUser(BibliomaniaDatabase db)

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class org.melati.servlet.TemplateServlet
Throws:
javax.servlet.ServletException


Copyright © 2000-2009 PanEris. All Rights Reserved.