org.mycore.frontend.servlets
Class MCRListWorkflowServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.mycore.frontend.servlets.MCRServlet
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
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCRListWorkflowServlet
public MCRListWorkflowServlet()
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
- type - the MyCoRe type
- step - the workflow step
- Overrides:
doGetPost in class MCRServlet
- Parameters:
job - an instance of MCRServletJob
- Throws:
Exception