Package de.xima.fc.form.request
Class ExtendedFormRequestContext
- java.lang.Object
-
- de.xima.fc.form.request.FormRequestContext
-
- de.xima.fc.form.request.ExtendedFormRequestContext
-
- All Implemented Interfaces:
IExtendedFormContext
,IExtendedFormRequestContext
,IFormRequestContext
,Serializable
,AutoCloseable
public class ExtendedFormRequestContext extends FormRequestContext implements IExtendedFormRequestContext
Context of an form-request extended withHttpServletRequest
andHttpServletResponse
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Logger
LOG
-
Fields inherited from class de.xima.fc.form.request.FormRequestContext
absoluteBaseUrl, baseUrl, contextPath, doubleOptInData, formData, formRecordLockContext, formVersion, frontendServer, frqSession, frqSessionAttributes, fullRequestUrl, identityCheckData, isBenutzerZugriffAllowed, isCheckForm, isContinueProcessing, isFrontendServerAllowed, isOldVersion, isPreview, isResubmit, isReview, isRunWorkflow, isSaveOnly, isUseCurrentFv, locale, mandant, parameterWrapper, previewWithoutSave, projectPortalData, projekt, requestType, rerenderAfterValidationFailed, sessionAttributes, sessionId, sessionTimeout, singleFileUploadLimit, skipSubmitButtonValidation, uc, user, userGroups, userInboxes, vorgang, workflowVersion, xfcSession
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ExtendedFormRequestContext(EFormRequestType requestType, UserContext uc, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
destory()
javax.servlet.http.HttpServletRequest
getRequest()
javax.servlet.http.HttpServletResponse
getResponse()
IUser
getUserModel()
org.pac4j.core.profile.CommonProfile
getUserProfile()
String
toString()
-
Methods inherited from class de.xima.fc.form.request.FormRequestContext
createUserDataJSON, getAbsoluteBaseUrl, getBaseUrl, getContextPath, getDoubleOptInData, getFormData, getFormRecordLockContext, getFormVersion, getFrontendServer, getFRQSession, getFrqSessionAttributeMap, getFullRequestUrl, getIdentityCheckData, getLocale, getMandant, getParameterWrapper, getProjectPortalData, getProjekt, getRequestType, getSession, getSessionAttributeMap, getSessionAttributes, getSessionID, getSessionTimeout, getSingleFileUploadLimitBytes, getUploadParameters, getUseCurrentFv, getUserContext, getUserGroups, getUserInboxes, getValueParameters, getVorgang, getWorkflowVersion, initFormData, isAnonymize, isBenutzerZugriffAllowed, isCheckForm, isContinueProcessing, isFrontendServerAllowed, isOldVersion, isPreview, isPreviewWithoutSave, isRerenderAfterValidationFailed, isResubmit, isReview, isSaveOnly, isSkipSubmitButtonValidation, isUseCurrentFv, loadUserData, setAnonymize, setBaseUrl, setBenutzerZugriffAllowed, setCheckForm, setContextPath, setContinueProcessing, setDoubleOptInData, setFormData, setFormRecordLockContext, setFormVersion, setFrontendServer, setFrontenServerAllowed, setFRQSession, setFullRequestUrl, setIdentityCheckData, setLocale, setMandant, setOldVersion, setParameterWrapper, setPreview, setPreviewWithoutSave, setProjectPortalData, setProjekt, setRequestType, setRerenderAfterValidationFailed, setResubmit, setReview, setSaveOnly, setSession, setSessionAttributeMap, setSessionAttributes, setSessionID, setSessionTimeout, setSingleFileUploadLimitBytes, setSkipSubmitButtonValidation, setUseCurrentFv, setUserContext, setUserGroups, setUserInboxes, setUserModel, setUserProfile, setVorgang, setWorkflowVersion
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.xima.fc.interfaces.form.IFormRequestContext
createUserDataJSON, getAbsoluteBaseUrl, getBaseUrl, getBenutzerGruppen, getBenutzerPostfaecher, getContextPath, getCurrentBenutzer, getDoubleOptInData, getFormData, getFormRecordLockContext, getFormVersion, getFrontendServer, getFRQSession, getFrqSessionAttributeMap, getFullRequestUrl, getHeaderParameters, getIdentityCheckData, getLocale, getMandant, getParameterWrapper, getProjectPortalData, getProjekt, getRequestContext, getRequestType, getSession, getSessionAttributeMap, getSessionAttributes, getSessionID, getSessionTimeout, getSingleFileUploadLimitBytes, getUploadParameters, getUseCurrentFv, getUser, getUserContext, getUserGroups, getUserInboxes, getValueParameters, getVorgang, getWorkflowVersion, initFormData, isAnonymize, isBenutzerZugriffAllowed, isCheckForm, isContinueProcessing, isFrontendServerAllowed, isOldVersion, isPreview, isPreviewWithoutSave, isRerenderAfterValidationFailed, isResubmit, isReview, isSaveOnly, isSkipSubmitButtonValidation, isUseCurrentFv, loadUserData, setAnonymize, setBaseUrl, setBenutzerGruppen, setBenutzerPostfaecher, setBenutzerZugriffAllowed, setCheckForm, setContextPath, setContinueProcessing, setCurrentBenutzer, setDoubleOptInData, setFormData, setFormRecordLockContext, setFormVersion, setFrontendServer, setFrontenServerAllowed, setFRQSession, setFullRequestUrl, setIdentityCheckData, setLocale, setMandant, setOldVersion, setParameterWrapper, setPreview, setPreviewWithoutSave, setProjectPortalData, setProjekt, setRequestContest, setRequestContext, setRequestType, setRerenderAfterValidationFailed, setResubmit, setReview, setSaveOnly, setSession, setSessionAttributeMap, setSessionAttributes, setSessionID, setSessionTimeout, setSingleFileUploadLimitBytes, setSkipSubmitButtonValidation, setUseCurrentFv, setUser, setUserContext, setUserGroups, setUserInboxes, setUserModel, setUserProfile, setVorgang, setWorkflowVersion
-
-
-
-
Constructor Detail
-
ExtendedFormRequestContext
protected ExtendedFormRequestContext(EFormRequestType requestType, UserContext uc, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ContextBuilderException
- Throws:
ContextBuilderException
-
-
Method Detail
-
getResponse
public javax.servlet.http.HttpServletResponse getResponse()
- Specified by:
getResponse
in interfaceIExtendedFormContext
-
getRequest
public javax.servlet.http.HttpServletRequest getRequest()
- Specified by:
getRequest
in interfaceIExtendedFormContext
-
getUserModel
public IUser getUserModel()
- Specified by:
getUserModel
in interfaceIFormRequestContext
- Overrides:
getUserModel
in classFormRequestContext
- Returns:
- The user who is currently logged in and requested the form. In case the user is not logged in, this will be an anonymous user.
-
getUserProfile
public org.pac4j.core.profile.CommonProfile getUserProfile()
- Specified by:
getUserProfile
in interfaceIFormRequestContext
- Overrides:
getUserProfile
in classFormRequestContext
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceIExtendedFormRequestContext
-
destory
public void destory()
- Specified by:
destory
in interfaceIExtendedFormRequestContext
-
toString
public String toString()
- Overrides:
toString
in classFormRequestContext
-
-