org.mycore.frontend.servlets
Class MCRUserEditorServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.mycore.frontend.servlets.MCRServlet
org.mycore.frontend.servlets.MCRUserAdminGUICommons
org.mycore.frontend.servlets.MCRUserEditorServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class MCRUserEditorServlet
- extends MCRUserAdminGUICommons
This servlet provides a web interface for the editors of the user management
of the mycore system.
- Version:
- $Revision: 14994 $ $Date: 2009-03-24 13:01:57 +0100 (Tue, 24 Mar 2009) $
- Author:
- Detlev Degenhardt
- See Also:
- Serialized Form
|
Method Summary |
void |
doGetPost(MCRServletJob job)
This method overrides doGetPost of MCRServlet and handles HTTP requests. |
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 |
MCRUserEditorServlet
public MCRUserEditorServlet()
init
public void init()
throws ServletException
- Initialisation of the servlet
- Overrides:
init in class MCRUserAdminGUICommons
- Throws:
ServletException
doGetPost
public void doGetPost(MCRServletJob job)
throws IOException
- This method overrides doGetPost of MCRServlet and handles HTTP requests.
Depending on the mode parameter in the request, the method dispatches
actions to be done by subsequent private methods. In contrast to the
MCRUserAdminServlet - which serves as an entry point and dispatcher for
all use cases of the user management GUI - this servlet is called by the
MyCoRe editor framework, triggered by the editor definition files of the
user management GUI. In addition, this servlet is the target of the
MyCoRe editor framework for the user management GUI, i.e. it reads the
editor submission and acts accordingly.
- Overrides:
doGetPost in class MCRServlet
- Parameters:
job - The MCRServletJob instance
- Throws:
IOException - for java I/O errors.
ServletException - for errors from the servlet engine.