com.day.cq.workflow.servlet
Class ModelServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by org.apache.sling.api.servlets.SlingSafeMethodsServlet
          extended by org.apache.sling.api.servlets.SlingAllMethodsServlet
              extended by com.day.cq.workflow.servlet.ServletBase
                  extended by com.day.cq.workflow.servlet.ModelServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ModelServlet
extends ServletBase

InstancesPostServlet handles POST requests to workflow model resources.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.day.cq.workflow.servlet.ServletBase
DEFAULT_META_DATA_EXCLUDES
 
Constructor Summary
ModelServlet()
           
 
Method Summary
protected  void doDelete(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response)
           
protected  void doGet(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response)
           
protected  void doPost(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response)
           
protected  void doPut(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response)
           
protected  List<String> getMetaDataExcludes()
           
 
Methods inherited from class com.day.cq.workflow.servlet.ServletBase
getUrl, sendResourceCreatedResponse, sendResponse, updateMetaData
 
Methods inherited from class org.apache.sling.api.servlets.SlingAllMethodsServlet
getAllowedRequestMethods, isMethodValid, mayService
 
Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet
doGeneric, doHead, doOptions, doTrace, getServletInfo, handleMethodNotImplemented, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelServlet

public ModelServlet()
Method Detail

doGet

protected void doGet(org.apache.sling.api.SlingHttpServletRequest request,
                     org.apache.sling.api.SlingHttpServletResponse response)
              throws javax.servlet.ServletException,
                     IOException
Overrides:
doGet in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
Throws:
javax.servlet.ServletException
IOException
See Also:
SlingSafeMethodsServlet.doGet(org.apache.sling.api.SlingHttpServletRequest, org.apache.sling.api.SlingHttpServletResponse)

doPost

protected void doPost(org.apache.sling.api.SlingHttpServletRequest request,
                      org.apache.sling.api.SlingHttpServletResponse response)
               throws javax.servlet.ServletException,
                      IOException
Overrides:
doPost in class org.apache.sling.api.servlets.SlingAllMethodsServlet
Throws:
javax.servlet.ServletException
IOException
See Also:
SlingAllMethodsServlet.doPost(org.apache.sling.api.SlingHttpServletRequest, org.apache.sling.api.SlingHttpServletResponse)

doPut

protected void doPut(org.apache.sling.api.SlingHttpServletRequest request,
                     org.apache.sling.api.SlingHttpServletResponse response)
              throws javax.servlet.ServletException,
                     IOException
Overrides:
doPut in class org.apache.sling.api.servlets.SlingAllMethodsServlet
Throws:
javax.servlet.ServletException
IOException
See Also:
SlingAllMethodsServlet.doPut(org.apache.sling.api.SlingHttpServletRequest, org.apache.sling.api.SlingHttpServletResponse)

doDelete

protected void doDelete(org.apache.sling.api.SlingHttpServletRequest request,
                        org.apache.sling.api.SlingHttpServletResponse response)
                 throws javax.servlet.ServletException,
                        IOException
Overrides:
doDelete in class org.apache.sling.api.servlets.SlingAllMethodsServlet
Throws:
javax.servlet.ServletException
IOException
See Also:
SlingAllMethodsServlet.doDelete(org.apache.sling.api.SlingHttpServletRequest, org.apache.sling.api.SlingHttpServletResponse)

getMetaDataExcludes

protected List<String> getMetaDataExcludes()
Specified by:
getMetaDataExcludes in class ServletBase
See Also:
ServletBase.getMetaDataExcludes()


Copyright © 2008 Day Management AG. All Rights Reserved.