org.mycore.frontend.servlets
Class MCRListWorkflowServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.mycore.frontend.servlets.MCRServlet
              extended by org.mycore.frontend.servlets.MCRListWorkflowServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class MCRListWorkflowServlet
extends MCRServlet

This class contains a servlet as extention of MCRServlet. The Servlet read the object metadata files from the workflow, transform them and analyze also the appended derivates. It return a XML file with the following content.

>mcr_workflow type="..." step="..."<
>item ID="..."<
>label<Die 99 582 am Lokschuppen in Schoenheide>/label<
>data<Jens Kupferschmidt>/data<
>data<2004-06-08>/data<
>derivate ID="..." label="..."<
>file size="..." main="true|false" <...>/file<
>/derivate<
>/item<
>/mcr_workflow<
Call this servlet with .../servlets/MCRListWorkflowServlet/XSL.Style=xml&type=...&step=...

Version:
$Revision: 15270 $ $Date: 2009-05-25 17:27:57 +0200 (Mon, 25 May 2009) $
Author:
Jens Kupferschmidt
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mycore.frontend.servlets.MCRServlet
BASE_URL_ATTRIBUTE, trustedProxies
 
Constructor Summary
MCRListWorkflowServlet()
           
 
Method Summary
 void doGetPost(MCRServletJob job)
          This method overrides doGetPost of MCRServlet and put the generated DOM in the LayoutService.
 void init()
          Initialisation of the servlet
 
Methods inherited from class org.mycore.frontend.servlets.MCRServlet
buildRedirectURL, doGet, doGet, doPost, doPost, generateActiveLinkErrorpage, generateErrorPage, getBaseURL, getLastModified, getLayoutService, getProperty, getRemoteAddr, getServletBaseURL, getSession, handleException, initTrustedProxies, render, reportException, think
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, 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
 

Constructor Detail

MCRListWorkflowServlet

public MCRListWorkflowServlet()
Method Detail

init

public void init()
          throws MCRConfigurationException,
                 ServletException
Initialisation of the servlet

Overrides:
init in class MCRServlet
Throws:
MCRConfigurationException
ServletException

doGetPost

public void doGetPost(MCRServletJob job)
               throws Exception
This method overrides doGetPost of MCRServlet and put the generated DOM in the LayoutService.
Input parameter are

Overrides:
doGetPost in class MCRServlet
Parameters:
job - an instance of MCRServletJob
Throws:
Exception