Package de.xima.fc.form.request
Class FormRequestContextFactory
- java.lang.Object
-
- de.xima.fc.form.request.FormRequestContextFactory
-
public class FormRequestContextFactory extends Object
Factory for creating different form-contexts- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description FormRequestContextFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IFormRequestContext
forActiveForm(EFormRequestType requestType, UserContext uc, long projektId)
static IExtendedFormRequestContext
forActiveForm(EFormRequestType requestType, UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, long projektId)
static IExtendedFormRequestContext
forCopyRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
static IExtendedFormRequestContext
forDesignerPreviewRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, long projektId)
static IExtendedFormRequestContext
forDOIRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
static IExtendedFormRequestContext
forPreviewRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
static IExtendedFormRequestContext
forPrintRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, PrintJob pj)
static IExtendedFormRequestContext
forProcessRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
static IExtendedFormRequestContext
forProvideRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
static IExtendedFormRequestContext
forReviewRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
static IFormRequestContext
forSpecifiedForm(EFormRequestType requestType, UserContext uc, long projektId, Integer formVersionNum)
static IExtendedFormRequestContext
forSpecifiedForm(EFormRequestType requestType, UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
static IExtendedFormRequestContext
forSpecifiedForm(EFormRequestType requestType, UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, long projektId, Integer formVersionNum)
static IExtendedFormRequestContext
forSpecifiedVorgang(EFormRequestType requestType, UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
static IExtendedFormRequestContext
forSpecifiedVorgang(EFormRequestType requestType, UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, long projektId, Integer formVersionNum, String fcpuid)
static IExtendedFormRequestContext
forWorkflowRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
-
-
-
Method Detail
-
forDesignerPreviewRequest
public static IExtendedFormRequestContext forDesignerPreviewRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, long projektId) throws ContextBuilderException
- Throws:
ContextBuilderException
-
forPreviewRequest
public static IExtendedFormRequestContext forPreviewRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws ContextBuilderException
- Throws:
ContextBuilderException
-
forWorkflowRequest
public static IExtendedFormRequestContext forWorkflowRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws ContextBuilderException
- Throws:
ContextBuilderException
-
forProcessRequest
public static IExtendedFormRequestContext forProcessRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws ContextBuilderException
- Throws:
ContextBuilderException
-
forProvideRequest
public static IExtendedFormRequestContext forProvideRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws ContextBuilderException
- Throws:
ContextBuilderException
-
forDOIRequest
public static IExtendedFormRequestContext forDOIRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws ContextBuilderException
- Throws:
ContextBuilderException
-
forReviewRequest
public static IExtendedFormRequestContext forReviewRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws ContextBuilderException
- Throws:
ContextBuilderException
-
forCopyRequest
public static IExtendedFormRequestContext forCopyRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws ContextBuilderException
- Throws:
ContextBuilderException
-
forPrintRequest
public static IExtendedFormRequestContext forPrintRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, PrintJob pj) throws ContextBuilderException
- Throws:
ContextBuilderException
-
forSpecifiedForm
public static IExtendedFormRequestContext forSpecifiedForm(EFormRequestType requestType, UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws ContextBuilderException
- Throws:
ContextBuilderException
-
forActiveForm
public static IExtendedFormRequestContext forActiveForm(EFormRequestType requestType, UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, long projektId) throws ContextBuilderException
- Throws:
ContextBuilderException
-
forActiveForm
public static IFormRequestContext forActiveForm(EFormRequestType requestType, UserContext uc, long projektId) throws ContextBuilderException
- Throws:
ContextBuilderException
-
forSpecifiedForm
public static IExtendedFormRequestContext forSpecifiedForm(EFormRequestType requestType, UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, long projektId, Integer formVersionNum) throws ContextBuilderException
- Throws:
ContextBuilderException
-
forSpecifiedForm
public static IFormRequestContext forSpecifiedForm(EFormRequestType requestType, UserContext uc, long projektId, Integer formVersionNum) throws ContextBuilderException
- Throws:
ContextBuilderException
-
forSpecifiedVorgang
public static IExtendedFormRequestContext forSpecifiedVorgang(EFormRequestType requestType, UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, long projektId, Integer formVersionNum, String fcpuid) throws ContextBuilderException
- Throws:
ContextBuilderException
-
forSpecifiedVorgang
public static IExtendedFormRequestContext forSpecifiedVorgang(EFormRequestType requestType, UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws ContextBuilderException
- Throws:
ContextBuilderException
-
-