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 IFormRequestContextforActiveForm(EFormRequestType requestType, UserContext uc, long projektId)static IExtendedFormRequestContextforActiveForm(EFormRequestType requestType, UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, long projektId)static IExtendedFormRequestContextforCopyRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)static IExtendedFormRequestContextforDesignerPreviewRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, long projektId, FormThemeReference formTheme)static IExtendedFormRequestContextforDOIRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)static IExtendedFormRequestContextforPreviewRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)static IExtendedFormRequestContextforPrintRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, PrintJob printJob)static IExtendedFormRequestContextforProcessRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)static IExtendedFormRequestContextforProvideRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)static IExtendedFormRequestContextforReviewRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)static IFormRequestContextforSpecifiedForm(EFormRequestType requestType, UserContext uc, long projektId, Integer formVersionNum)static IExtendedFormRequestContextforSpecifiedForm(EFormRequestType requestType, UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)static IExtendedFormRequestContextforSpecifiedForm(EFormRequestType requestType, UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, long projektId, Integer formVersionNum)static IExtendedFormRequestContextforSpecifiedVorgang(EFormRequestType requestType, UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)static IExtendedFormRequestContextforSpecifiedVorgang(EFormRequestType requestType, UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, long projektId, Integer formVersionNum, String fcpuid)static IExtendedFormRequestContextforWorkflowRequest(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
-
-
-
Method Detail
-
forDesignerPreviewRequest
public static IExtendedFormRequestContext forDesignerPreviewRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, long projektId, FormThemeReference formTheme) 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 printJob) 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
-
-