@WebServlet(name="InboxWorkflowServlet",
urlPatterns="/inbox/workflow/*",
asyncSupported=true)
public class InboxWorkflowServlet
extends AFormProcessingServlet
| Modifier and Type | Class and Description |
|---|---|
static class |
InboxWorkflowServlet.EAction |
| Constructor and Description |
|---|
InboxWorkflowServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkProcessCtx(IExtendedFormRequestContext ctx)
Validates the form request context, ie. if the user is allowed to perform the requested action.
|
protected IExtendedFormRequestContext |
createFormRequestContext(UserContext uc,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
respondWorkflowAfterSubmit(IFormProcessContext processCtx,
IExtendedFormRequestContext requestCtx) |
protected void |
startCorrection(IExtendedFormRequestContext requestCtx,
IXForm xform,
InboxWorkflowServlet.EAction action,
boolean runWorkflow,
String targetStateAlias) |
protected void |
startStateChange(IExtendedFormRequestContext requestCtx,
IXForm xform,
String targetStateAlias) |
protected boolean |
startVorgang(IExtendedFormRequestContext requestCtx,
IXForm xform) |
doGet, doPost, exec, process, processHttpdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected IExtendedFormRequestContext createFormRequestContext(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws ContextBuilderException
createFormRequestContext in class AFormProcessingServletuc - Current user context.req - Current HTTP request.resp - Current HTTP response.ContextBuilderException - Allowed to be thrown when the processing context could not be built.protected boolean checkProcessCtx(IExtendedFormRequestContext ctx)
AFormProcessingServletcheckProcessCtx in class AFormProcessingServletctx - Current request context.protected boolean startVorgang(IExtendedFormRequestContext requestCtx, IXForm xform)
startVorgang in class AFormProcessingServletprotected void startStateChange(IExtendedFormRequestContext requestCtx, IXForm xform, String targetStateAlias) throws IOException, ContextBuilderException
IOExceptionContextBuilderExceptionprotected void startCorrection(IExtendedFormRequestContext requestCtx, IXForm xform, InboxWorkflowServlet.EAction action, boolean runWorkflow, String targetStateAlias)
protected void respondWorkflowAfterSubmit(IFormProcessContext processCtx, IExtendedFormRequestContext requestCtx) throws IOException
respondWorkflowAfterSubmit in class AFormProcessingServletIOExceptionCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.