com.dotmarketing.velocity
Class VelocityServlet

java.lang.Object
  extended by HttpServlet
      extended by com.dotmarketing.velocity.VelocityServlet
Direct Known Subclasses:
ClientVelocityServlet

public abstract class VelocityServlet
extends HttpServlet


Constructor Summary
VelocityServlet()
           
 
Method Summary
protected abstract  void _setClientVariablesOnContext(HttpServletRequest request, ChainedContext context)
           
protected  void doAdminMode(HttpServletRequest request, HttpServletResponse response)
           
protected  void doEditMode(HttpServletRequest request, HttpServletResponse response)
           
protected  void doLiveMode(HttpServletRequest request, HttpServletResponse response)
           
protected  void doPreviewMode(HttpServletRequest request, HttpServletResponse response)
           
 void getContext(Context context, HTMLPage htmlPage, long cmsTemplateInode, java.lang.String idURI, HttpServletRequest request, boolean ADMIN_MODE, boolean EDIT_MODE, Host host)
           
 void init(ServletConfig config)
           
protected  void service(HttpServletRequest request, HttpServletResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityServlet

public VelocityServlet()
Method Detail

service

protected void service(HttpServletRequest request,
                       HttpServletResponse response)
                throws ServletException,
                       java.io.IOException
Throws:
ServletException
java.io.IOException

init

public void init(ServletConfig config)
          throws ServletException
Throws:
ServletException

doAdminMode

protected void doAdminMode(HttpServletRequest request,
                           HttpServletResponse response)
                    throws java.lang.Exception
Throws:
java.lang.Exception

doLiveMode

protected void doLiveMode(HttpServletRequest request,
                          HttpServletResponse response)
                   throws java.lang.Exception
Throws:
java.lang.Exception

doPreviewMode

protected void doPreviewMode(HttpServletRequest request,
                             HttpServletResponse response)
                      throws java.lang.Exception
Throws:
java.lang.Exception

doEditMode

protected void doEditMode(HttpServletRequest request,
                          HttpServletResponse response)
                   throws java.lang.Exception
Throws:
java.lang.Exception

getContext

public void getContext(Context context,
                       HTMLPage htmlPage,
                       long cmsTemplateInode,
                       java.lang.String idURI,
                       HttpServletRequest request,
                       boolean ADMIN_MODE,
                       boolean EDIT_MODE,
                       Host host)

_setClientVariablesOnContext

protected abstract void _setClientVariablesOnContext(HttpServletRequest request,
                                                     ChainedContext context)


Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.