|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.mycore.frontend.servlets.MCRServlet
org.mycore.frontend.servlets.MCRStartEditorServlet
public class MCRStartEditorServlet
The servlet start the MyCoRe editor session or other workflow actions with
some parameters from a HTML form. The parameters are:
| Nested Class Summary | |
|---|---|
protected static class |
MCRStartEditorServlet.CommonData
|
| Field Summary | |
|---|---|
protected static String |
cancelpage
|
protected static String |
deleteerrorpage
|
protected static String |
deletepage
|
protected static Logger |
LOGGER
|
protected static String |
mcriderrorpage
|
protected static String |
pagedir
|
protected static String |
SLASH
|
protected static String |
storeerrorpage
|
protected static String |
usererrorpage
|
protected static MCRSimpleWorkflowManager |
WFM
|
| Fields inherited from class org.mycore.frontend.servlets.MCRServlet |
|---|
BASE_URL_ATTRIBUTE, trustedProxies |
| Constructor Summary | |
|---|---|
MCRStartEditorServlet()
|
|
| Method Summary | |
|---|---|
void |
deleteDedivate(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method start the editor to modify a derivate object that is stored in the server. |
void |
deleteObject(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method start the editor to modify a derivate object that is stored in the server. |
void |
doGetPost(MCRServletJob job)
This method overrides doGetPost of MCRServlet. |
protected String |
getNextMCRTFID(String myproject,
String mytype)
This method return a next new MCRObjectID for the given type and project ID. |
void |
init()
Initialisation of the servlet |
void |
saddfile(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method start the editor add a file to a derivate object that is stored in the server. |
void |
saddnbn(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method add a new NBN to the dataset with type document or disshab. |
void |
sdelder(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method delete a derivate object that is stored in the server. |
void |
sdelfile(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method delete a file from a derivate object that is stored in the server. |
void |
sdelobj(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method delete a metadata object that is stored in the server. |
void |
seditacl(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method start the editor to modify ACL of a metadata object that is stored in the server. |
void |
seditder(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method start the editor to modify a derivate object that is stored in the server. |
void |
seditobj(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method start the editor to modify a metadata object that is stored in the server. |
void |
snewder(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method set a new derivate object that is stored in the server. |
void |
ssetfile(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method set the main file of a derivate object that is stored in the server. |
void |
waddfile(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method start the file upload to add to the metadata object that is stored in the workflow. |
void |
wcommit(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method commit a object including all derivates that is stored in the workflow to the server. |
void |
wcopyobj(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method copy a object in the workflow with a a new MCRObjectID. |
void |
wdelder(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method delete a derivate from an object that is stored in the workflow. |
void |
wdelfile(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method delete a file from the derivate object that is stored in the workflow. |
void |
wdelobj(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method delete a metadata object that is stored in the workflow. |
void |
weditacl(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method start the editor to modify the metadata object ACL that is stored in the workflow. |
void |
weditder(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method start the editor modify derivate metadata that is stored in the workflow. |
void |
weditobj(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method start the editor to modify a metadata object that is stored in the workflow. |
void |
wnewder(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method build a new derivate and start the file upload to add to the metadata object that is stored in the workflow. |
void |
wnewobj(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method start the editor to create new metadata object that will be stored in the workflow. |
void |
wrongtodo(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
This method implements the error exit to index.xml if the action method was not found or has an error. |
void |
wsetfile(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
The method start the editor to modify a derivate object that is stored in the workflow. |
| 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 |
| Field Detail |
|---|
protected static Logger LOGGER
protected static MCRSimpleWorkflowManager WFM
protected static String SLASH
protected static String pagedir
protected static String cancelpage
protected static String deletepage
protected static String usererrorpage
protected static String mcriderrorpage
protected static String storeerrorpage
protected static String deleteerrorpage
| Constructor Detail |
|---|
public MCRStartEditorServlet()
| Method Detail |
|---|
public void init()
throws ServletException
init in class MCRServletServletException
public void doGetPost(MCRServletJob job)
throws Exception
doGetPost in class MCRServletException
protected final String getNextMCRTFID(String myproject,
String mytype)
projectid - The MCRObjectID project ID
public void saddfile(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void saddnbn(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws Exception
job - the MCRServletJob instance
Exception
public void sdelder(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void sdelfile(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void sdelobj(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void seditacl(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void seditder(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void deleteDedivate(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void deleteObject(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void seditobj(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void snewder(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void ssetfile(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void waddfile(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void wcommit(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void wdelder(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void wdelfile(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void wdelobj(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void weditacl(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void weditder(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void wcopyobj(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
cd - the common data stackjob - the MCRServletJob instance
IOException
public void weditobj(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void wnewder(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void wnewobj(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void wsetfile(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
public void wrongtodo(MCRServletJob job,
MCRStartEditorServlet.CommonData cd)
throws IOException
job - the MCRServletJob instance
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||