org.mycore.frontend.servlets
Class MCRCheckACLBase
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.mycore.frontend.servlets.MCRServlet
org.mycore.frontend.servlets.MCRCheckBase
org.mycore.frontend.servlets.MCRCheckACLBase
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
- Direct Known Subclasses:
- MCRCheckCommitACLServlet, MCRCheckEditACLServlet
public abstract class MCRCheckACLBase
- extends MCRCheckBase
This class is a special to work wit the interactive input from the dialog of
ACL (Access Control List) changes.
- Version:
- $Revision: 15202 $ $Date: 2009-05-15 17:00:44 +0200 (Fri, 15 May 2009) $
- Author:
- Jens Kupferschmidt, Thomas Scheffler (yagee)
- See Also:
- Serialized Form
| Methods inherited from class org.mycore.frontend.servlets.MCRServlet |
buildRedirectURL, doGet, doGet, doPost, doPost, generateActiveLinkErrorpage, generateErrorPage, getBaseURL, getLastModified, getLayoutService, getProperty, getRemoteAddr, getServletBaseURL, getSession, handleException, init, initTrustedProxies, render, reportException, think |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCRCheckACLBase
public MCRCheckACLBase()
doGetPost
public void doGetPost(MCRServletJob job)
throws Exception
- This method overrides doGetPost of MCRServlet and handels all actions
against the ACL data.
- Overrides:
doGetPost in class MCRServlet
- Parameters:
job - the MCRServlet job instance
- Throws:
Exception
storeService
public abstract boolean storeService(Element outelm,
MCRServletJob job,
MCRObjectID ID)
- The method store the incoming service data from the ACL editor to the
workflow.
- Parameters:
outelm - the service subelement of an MCRObjectjob - the MCRServletJob instanceID - the MCRObjectID
prepareService
protected Element prepareService(Document jdom_in,
MCRObjectID ID,
MCRServletJob job,
String lang)
throws Exception
- The method read the incoming servacls JDOM tree in a MCRService and
prepare this by the following rules. After them it return a JDOM Element
of servacls as clone of the prepared data.
- Parameters:
jdom_in - the JDOM tree from the editorID - the MCRObjectID of the MCRObjectjob - the MCRServletJob datalang - the current language
- Throws:
Exception