Package de.xima.fc.form.request
Class FormRequestContext
- java.lang.Object
-
- de.xima.fc.form.request.FormRequestContext
-
- All Implemented Interfaces:
IFormRequestContext,Serializable
- Direct Known Subclasses:
ExtendedFormRequestContext
public class FormRequestContext extends Object implements IFormRequestContext
Context of a form-request with all data for working with further contexts likeIFormRenderContext,IFormPersistContextorIFormProcessContext- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedFormRequestContext(EFormRequestType requestType, UserContext uc)
-
Method Summary
-
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
getBenutzerGruppen, getBenutzerPostfaecher, getCurrentBenutzer, getHeaderParameters, getRequestContext, getUser, setBenutzerGruppen, setBenutzerPostfaecher, setCurrentBenutzer, setRequestContest, setRequestContext, setUser
-
-
-
-
Field Detail
-
LOG
protected static final org.slf4j.Logger LOG
-
xfcSession
protected XfcSession xfcSession
-
frqSession
protected FRQSession frqSession
-
sessionId
protected String sessionId
-
baseUrl
protected String baseUrl
-
absoluteBaseUrl
protected String absoluteBaseUrl
-
contextPath
protected String contextPath
-
fullRequestUrl
protected String fullRequestUrl
-
locale
protected Locale locale
-
mandant
protected Mandant mandant
-
formVersion
protected FormVersion formVersion
-
workflowVersion
protected WorkflowVersion workflowVersion
-
vorgang
protected Vorgang vorgang
-
formRecordLockContext
protected IFormRecordLockContext formRecordLockContext
-
projekt
protected Projekt projekt
-
doubleOptInData
protected ProjectDOIData doubleOptInData
-
identityCheckData
protected ProjectIdentityCheckData identityCheckData
-
projectPortalData
protected ProjectPortalData projectPortalData
-
user
protected IUser user
-
frontendServer
protected FrontendServer frontendServer
-
formData
protected IFormDataAdapter formData
-
uc
protected UserContext uc
-
parameterWrapper
protected ParameterWrapper parameterWrapper
-
requestType
protected EFormRequestType requestType
-
sessionAttributes
protected Map<String,Serializable> sessionAttributes
-
frqSessionAttributes
protected Map<Serializable,Serializable> frqSessionAttributes
-
sessionTimeout
protected Duration sessionTimeout
-
isSaveOnly
protected boolean isSaveOnly
-
isResubmit
protected boolean isResubmit
-
isPreview
protected boolean isPreview
-
isReview
protected boolean isReview
-
isOldVersion
protected boolean isOldVersion
-
previewWithoutSave
protected boolean previewWithoutSave
-
rerenderAfterValidationFailed
protected boolean rerenderAfterValidationFailed
-
isRunWorkflow
protected boolean isRunWorkflow
-
isCheckForm
protected boolean isCheckForm
-
isUseCurrentFv
protected boolean isUseCurrentFv
-
isFrontendServerAllowed
protected boolean isFrontendServerAllowed
-
isBenutzerZugriffAllowed
protected boolean isBenutzerZugriffAllowed
-
isContinueProcessing
protected boolean isContinueProcessing
-
skipSubmitButtonValidation
protected boolean skipSubmitButtonValidation
-
singleFileUploadLimit
protected Long singleFileUploadLimit
-
userGroups
@Deprecated protected List<BenutzerGruppe> userGroups
Deprecated.useIUser.getClientUserGroups(String, Mandant)instead.
-
userInboxes
@Deprecated protected List<Postfach> userInboxes
Deprecated.useIUser.getClientInboxes(String, Mandant)instead.
-
-
Constructor Detail
-
FormRequestContext
protected FormRequestContext(EFormRequestType requestType, UserContext uc) throws ContextBuilderException
- Throws:
ContextBuilderException
-
-
Method Detail
-
getFormData
public IFormDataAdapter getFormData()
- Specified by:
getFormDatain interfaceIFormRequestContext- Returns:
- An
IFormDataAdapterthat can be used to access the current form data, ie. the submitted or already present values for each form field.
-
setFormData
public void setFormData(IFormDataAdapter formData)
- Specified by:
setFormDatain interfaceIFormRequestContext- Parameters:
formData- AnIFormDataAdapterthat can be used to access the current form data, ie. the submitted or already present values for each form field.
-
getFormVersion
public FormVersion getFormVersion()
- Specified by:
getFormVersionin interfaceIFormRequestContext- Returns:
- The current
FormVersionthat was requested.
-
getWorkflowVersion
public WorkflowVersion getWorkflowVersion()
- Specified by:
getWorkflowVersionin interfaceIFormRequestContext- Returns:
- The current
WorkflowVersionthat was requested.
-
setFrontendServer
public void setFrontendServer(FrontendServer frontendServer)
- Specified by:
setFrontendServerin interfaceIFormRequestContext- Parameters:
frontendServer- When the form request is made to aFrontendServer, that frontend server. Otherwise, when the form request is made directly to the master server, this returnnull.
-
getFrontendServer
public FrontendServer getFrontendServer()
- Specified by:
getFrontendServerin interfaceIFormRequestContext- Returns:
- When the form request is made to a
FrontendServer, that frontend server. Otherwise, when the form request is made directly to the master server, this returnnull.
-
getFRQSession
public FRQSession getFRQSession()
- Specified by:
getFRQSessionin interfaceIFormRequestContext- Returns:
- The current form request session. A form request session is opened each time a form is requested. A
single
IFormRequestContext.getSession()may contain multipleFRQSessions.
-
getLocale
public Locale getLocale()
- Specified by:
getLocalein interfaceIFormRequestContext- Returns:
- The current locale that is to be used for locale-dependent operations.
-
getMandant
public Mandant getMandant()
- Specified by:
getMandantin interfaceIFormRequestContext- Returns:
- The
Mandantto which the current form belongs to.
-
getParameterWrapper
public ParameterWrapper getParameterWrapper()
Description copied from interface:IFormRequestContext!READ-ONLY model of the parsed request parameters. To initialize data userIFormRequestContext.initFormData(ParameterWrapper)orIFormRequestContext.getFormData()andIFormDataAdapter.init(Map)orIFormRequestContext.setFormData(IFormDataAdapter)- Specified by:
getParameterWrapperin interfaceIFormRequestContext- Returns:
ParameterWrapper
-
getProjekt
public Projekt getProjekt()
- Specified by:
getProjektin interfaceIFormRequestContext- Returns:
- The
Projektwhich contains the form that was requested.
-
getBaseUrl
public String getBaseUrl()
- Specified by:
getBaseUrlin interfaceIFormRequestContext- Returns:
- The base URL for this application, may not include the host.
-
setBaseUrl
public void setBaseUrl(String baseUrl)
- Specified by:
setBaseUrlin interfaceIFormRequestContext- Parameters:
baseUrl- The base URL for this application, may not include the host.
-
getAbsoluteBaseUrl
public String getAbsoluteBaseUrl()
Description copied from interface:IFormRequestContextThis method returns the absolute base URL of this request context.- Specified by:
getAbsoluteBaseUrlin interfaceIFormRequestContext- Returns:
- the absolute base URL of the application
-
getContextPath
public String getContextPath()
- Specified by:
getContextPathin interfaceIFormRequestContext- Returns:
- Returns the portion of the request URI that indicates the context of the request. The context path always comes first in a request URI. The path starts with a "/" character but does not end with a "/" character. For servlets in the default (root) context, this method returns "". The container does not decode this string.
-
setContextPath
public void setContextPath(String contextPath)
- Specified by:
setContextPathin interfaceIFormRequestContext- Parameters:
contextPath- Returns the portion of the request URI that indicates the context of the request. The context path always comes first in a request URI. The path starts with a "/" character but does not end with a "/" character. For servlets in the default (root) context, this method returns "". The container does not decode this string.
-
getFullRequestUrl
public String getFullRequestUrl()
- Specified by:
getFullRequestUrlin interfaceIFormRequestContext- Returns:
- The full URL that was used to request the form, including all query params.
-
setFullRequestUrl
public void setFullRequestUrl(String fullRequestUrl)
- Specified by:
setFullRequestUrlin interfaceIFormRequestContext- Parameters:
fullRequestUrl- The full URL that was used to request the form, including all query params.
-
getRequestType
public EFormRequestType getRequestType()
- Specified by:
getRequestTypein interfaceIFormRequestContext- Returns:
- The type of request that was made, eg. whether a new form was requested or a form was submitted.
-
getSession
public XfcSession getSession()
- Specified by:
getSessionin interfaceIFormRequestContext- Returns:
- The current formcycle session that contains additional information not contained in the
HttpSession.
-
getSessionID
public String getSessionID()
- Specified by:
getSessionIDin interfaceIFormRequestContext- Returns:
- The current
HttpSessionID.
-
getUseCurrentFv
public Boolean getUseCurrentFv()
- Specified by:
getUseCurrentFvin interfaceIFormRequestContext
-
getUserContext
public UserContext getUserContext()
- Specified by:
getUserContextin interfaceIFormRequestContext- Returns:
- The current user context that contains information about the user that is currently logged in. This context is also used when you would like to open a connection to the database.
-
setUserContext
public void setUserContext(UserContext uc)
- Specified by:
setUserContextin interfaceIFormRequestContext- Parameters:
uc- The current user context that contains information about the user that is currently logged in. This context is also used when you would like to open a connection to the database.
-
getVorgang
public Vorgang getVorgang()
- Specified by:
getVorgangin interfaceIFormRequestContext- Returns:
- The current
Vorgangwhen the form was submitted; ornullwhen a new empty form was just requested. Note that this may not represent the current state of the form record: for example, when submitting a form and the workflow is run, the workflow might modify some data of the form record, this will not be reflected here.
-
getFormRecordLockContext
public IFormRecordLockContext getFormRecordLockContext()
- Specified by:
getFormRecordLockContextin interfaceIFormRequestContext- Returns:
- the form record locking context that is locking the form record of this request context
-
setFormRecordLockContext
public void setFormRecordLockContext(IFormRecordLockContext formRecordLockContext)
- Specified by:
setFormRecordLockContextin interfaceIFormRequestContext- Parameters:
formRecordLockContext- the form record locking context that is locking the form record of this request context
-
isBenutzerZugriffAllowed
public boolean isBenutzerZugriffAllowed()
- Specified by:
isBenutzerZugriffAllowedin interfaceIFormRequestContext- Returns:
trueto indicate that the currentBenutzeris allowed access to the request form, orfalseotherwise.
-
setBenutzerZugriffAllowed
public void setBenutzerZugriffAllowed(boolean isBenutzerZugriffAllowed)
- Specified by:
setBenutzerZugriffAllowedin interfaceIFormRequestContext- Parameters:
isBenutzerZugriffAllowed-trueto indicate that the currentBenutzeris allowed access to the request form, orfalseotherwise.
-
isFrontendServerAllowed
public boolean isFrontendServerAllowed()
- Specified by:
isFrontendServerAllowedin interfaceIFormRequestContext- Returns:
trueif the requested form may be served by theIFormRequestContext.getFrontendServer(), orfalseotherwise.
-
setFrontenServerAllowed
public void setFrontenServerAllowed(boolean isFrontendServerAllowed)
- Specified by:
setFrontenServerAllowedin interfaceIFormRequestContext- Parameters:
isFrontendServerAllowed-trueif the requested form may be served by theIFormRequestContext.getFrontendServer(), orfalseotherwise.
-
getUserInboxes
public List<Postfach> getUserInboxes()
- Specified by:
getUserInboxesin interfaceIFormRequestContext- Returns:
- A
ListofPostfachs which the currentBenutzercan access.
-
setUserInboxes
@Deprecated public void setUserInboxes(List<Postfach> userInboxes)
Deprecated.User inboxes should be determined by the user. UsesetUserModel(IUser)with a user that has inboxes instead.- Specified by:
setUserInboxesin interfaceIFormRequestContext
-
getUserGroups
public List<BenutzerGruppe> getUserGroups()
- Specified by:
getUserGroupsin interfaceIFormRequestContext- Returns:
- A
ListofBenutzerGruppes to which the currentBenutzerbelongs to.
-
setUserGroups
@Deprecated public void setUserGroups(List<BenutzerGruppe> userGroups)
Deprecated.User groups should be determined by the user. UsesetUserModel(IUser)with a user that has user groups instead.- Specified by:
setUserGroupsin interfaceIFormRequestContext
-
createUserDataJSON
public com.alibaba.fastjson.JSONObject createUserDataJSON()
- Specified by:
createUserDataJSONin interfaceIFormRequestContext
-
initFormData
public void initFormData(ParameterWrapper rp)
- Specified by:
initFormDatain interfaceIFormRequestContext
-
isAnonymize
public boolean isAnonymize()
- Specified by:
isAnonymizein interfaceIFormRequestContext- Returns:
trueto indicate the form submission should be made anonymously, orfalseotherwise. When the form is anonymized, no meta data is saved regarding the user who submitted the form.
-
isCheckForm
public boolean isCheckForm()
- Specified by:
isCheckFormin interfaceIFormRequestContext- Returns:
trueto indicate the form should be validated on the server, orfalseotherwise.
-
isContinueProcessing
public boolean isContinueProcessing()
- Specified by:
isContinueProcessingin interfaceIFormRequestContext- Returns:
trueif this form request should be processed further, orfalseto indicate that processing should be aborted.
-
isOldVersion
public boolean isOldVersion()
- Specified by:
isOldVersionin interfaceIFormRequestContext- Returns:
trueif an old version was requested, orfalseotherwise.
-
isResubmit
public boolean isResubmit()
- Specified by:
isResubmitin interfaceIFormRequestContext- Returns:
truewhen the form was not submitted for the first time and aVorgangexists already,falseotherwise.
-
isReview
public boolean isReview()
- Specified by:
isReviewin interfaceIFormRequestContext- Returns:
trueif a review was requested (when opening a form in the inbox), orfalseotherwise.
-
isSaveOnly
public boolean isSaveOnly()
- Specified by:
isSaveOnlyin interfaceIFormRequestContext- Returns:
trueif a save button was used to submit the form. For the old workflow engine, this only saves the form data to the database and does not trigger the workflow. For the new workflow engine, the workflow is still processed, but thesaved flagis set on the form record.
-
setSaveOnly
public void setSaveOnly(boolean saveOnly)
- Specified by:
setSaveOnlyin interfaceIFormRequestContext- Parameters:
saveOnly-trueif a save button was used to submit the form. For the old workflow engine, this only saves the form data to the database and does not trigger the workflow. For the new workflow engine, the workflow is still processed, but thesaved flagis set on the form record.
-
isUseCurrentFv
public boolean isUseCurrentFv()
- Specified by:
isUseCurrentFvin interfaceIFormRequestContext- Returns:
trueif the latest version of the form is to be used,falseif a specific form version was requested.
-
isSkipSubmitButtonValidation
public boolean isSkipSubmitButtonValidation()
- Specified by:
isSkipSubmitButtonValidationin interfaceIFormRequestContext- Returns:
- When
true, the xf-action is not checked for whether it represents a valid submit button.
-
setAnonymize
public void setAnonymize(boolean anonymize)
- Specified by:
setAnonymizein interfaceIFormRequestContext- Parameters:
anonymize-trueto indicate the form submission should be made anonymously, orfalseotherwise. When the form is anonymized, no meta data is saved regarding the user who submitted the form.
-
setCheckForm
public void setCheckForm(boolean checkForm)
- Specified by:
setCheckFormin interfaceIFormRequestContext- Parameters:
checkForm- Whentrue, the xf-action is not checked for whether it represents a valid submit button.
-
setContinueProcessing
public void setContinueProcessing(boolean isContinueProcessing)
- Specified by:
setContinueProcessingin interfaceIFormRequestContext- Parameters:
isContinueProcessing-trueif this form request should be processed further, orfalseto indicate that processing should be aborted.
-
getUserModel
public IUser getUserModel()
- Specified by:
getUserModelin interfaceIFormRequestContext- 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.
-
setUserModel
public void setUserModel(IUser user)
- Specified by:
setUserModelin interfaceIFormRequestContext- Parameters:
user- 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.
-
setFormVersion
public void setFormVersion(FormVersion formVersion)
- Specified by:
setFormVersionin interfaceIFormRequestContext- Parameters:
formVersion- The currentFormVersionthat was requested.
-
setWorkflowVersion
public void setWorkflowVersion(WorkflowVersion workflowVersion)
- Specified by:
setWorkflowVersionin interfaceIFormRequestContext- Parameters:
workflowVersion- The currentWorkflowVersionthat was requested.
-
setFRQSession
public void setFRQSession(FRQSession frqSession)
- Specified by:
setFRQSessionin interfaceIFormRequestContext- Parameters:
frqSession- The current form request session. A form request session is opened each time a form is requested. A singleIFormRequestContext.getSession()may contain multipleFRQSessions.
-
setLocale
public void setLocale(Locale locale)
- Specified by:
setLocalein interfaceIFormRequestContext- Parameters:
locale- The current locale that is to be used for locale-dependent operations.
-
setMandant
public void setMandant(Mandant mandant)
- Specified by:
setMandantin interfaceIFormRequestContext- Parameters:
mandant- TheMandantto which the current form belongs to.
-
setOldVersion
public void setOldVersion(boolean isOldVersion)
- Specified by:
setOldVersionin interfaceIFormRequestContext- Parameters:
isOldVersion-trueif an old version was requested, orfalseotherwise.
-
setProjekt
public void setProjekt(Projekt projekt)
- Specified by:
setProjektin interfaceIFormRequestContext- Parameters:
projekt- TheProjektwhich contains the form that was requested.
-
setRequestType
public void setRequestType(EFormRequestType requestType)
- Specified by:
setRequestTypein interfaceIFormRequestContext- Parameters:
requestType- The type of request that was made, eg. whether a new form was requested or a form was submitted.F
-
setResubmit
public void setResubmit(boolean isResubmit)
- Specified by:
setResubmitin interfaceIFormRequestContext- Parameters:
isResubmit-truewhen the form was not submitted for the first time and aVorgangexists already,falseotherwise.
-
setReview
public void setReview(boolean isReview)
- Specified by:
setReviewin interfaceIFormRequestContext- Parameters:
isReview-trueif a review was requested (when opening a form in the inbox), orfalseotherwise.
-
isPreview
public boolean isPreview()
- Specified by:
isPreviewin interfaceIFormRequestContext- Returns:
trueif a preview was requested,falseotherwise.
-
setPreview
public void setPreview(boolean isPreview)
- Specified by:
setPreviewin interfaceIFormRequestContext- Parameters:
isPreview-trueif a preview was requested,falseotherwise.
-
setSessionID
public void setSessionID(String sessionID)
- Specified by:
setSessionIDin interfaceIFormRequestContext- Parameters:
sessionID- The currentHttpSessionID.
-
setSkipSubmitButtonValidation
public void setSkipSubmitButtonValidation(boolean skipSubmitButtonValidation)
- Specified by:
setSkipSubmitButtonValidationin interfaceIFormRequestContext- Parameters:
skipSubmitButtonValidation- Whentrue, the xf-action is not checked for whether it represents a valid submit button.
-
setUseCurrentFv
public void setUseCurrentFv(boolean isUseCurrentFv)
- Specified by:
setUseCurrentFvin interfaceIFormRequestContext- Parameters:
isUseCurrentFv-trueif the latest version of the form is to be used,falseif a specific form version was requested.
-
getValueParameters
public ValueParameters getValueParameters()
- Specified by:
getValueParametersin interfaceIFormRequestContext- Returns:
- All values that were submitted with this form request, ie. the values of the individual form elements.
This excludes uploaded files, see
IFormRequestContext.getUploadParameters().
-
setVorgang
public void setVorgang(Vorgang vorgang)
- Specified by:
setVorgangin interfaceIFormRequestContext- Parameters:
vorgang- The currentVorgangwhen the form was submitted; ornullwhen a new empty form was just requested.
-
setSession
public void setSession(XfcSession xfcSession)
- Specified by:
setSessionin interfaceIFormRequestContext- Parameters:
xfcSession- The current formcycle session that contains additional information not contained in theHttpSession.
-
getUploadParameters
public UploadParameters getUploadParameters()
- Specified by:
getUploadParametersin interfaceIFormRequestContext- Returns:
- All files that were uploaded with this form request, usually via upload form elements.
-
getSingleFileUploadLimitBytes
public Long getSingleFileUploadLimitBytes()
- Specified by:
getSingleFileUploadLimitBytesin interfaceIFormRequestContext- Returns:
- The upload limit in bytes for a single file upload.
nullwhen there is no restriction.
-
setSingleFileUploadLimitBytes
public void setSingleFileUploadLimitBytes(Long limit)
- Specified by:
setSingleFileUploadLimitBytesin interfaceIFormRequestContext- Parameters:
limit- The upload limit in bytes for a single file upload.nullwhen there is no restriction.
-
isPreviewWithoutSave
public boolean isPreviewWithoutSave()
- Specified by:
isPreviewWithoutSavein interfaceIFormRequestContext- Returns:
trueif the workflow should be processed, but the form data should not be saved. Used e.g. for generating a PDF preview.
-
setPreviewWithoutSave
public void setPreviewWithoutSave(boolean previewWithoutSave)
- Specified by:
setPreviewWithoutSavein interfaceIFormRequestContext- Parameters:
previewWithoutSave-trueif the workflow should be processed, but the form data should not be saved. Used e.g. for generating a PDF preview.
-
getFrqSessionAttributeMap
public Map<Serializable,Serializable> getFrqSessionAttributeMap()
- Specified by:
getFrqSessionAttributeMapin interfaceIFormRequestContext- Returns:
- A
Mapof all key-value pairs in the currentHttpSession. Please note that changes to this map will not affect theHttpSession.
-
getSessionAttributeMap
public Map<String,Serializable> getSessionAttributeMap()
- Specified by:
getSessionAttributeMapin interfaceIFormRequestContext- Returns:
- A
Mapof all key-value pairs in the currentHttpSession. Please note that changes to this map will not affect theHttpSession.
-
setSessionAttributeMap
public void setSessionAttributeMap(Map<String,Serializable> sessionAttributes)
- Specified by:
setSessionAttributeMapin interfaceIFormRequestContext- Parameters:
sessionAttributes- AMapof all key-value pairs in the currentHttpSession. Please note that changes to this map will not affect theHttpSession.
-
getSessionTimeout
public Duration getSessionTimeout()
- Specified by:
getSessionTimeoutin interfaceIFormRequestContext- Returns:
- The time it takes for an HTTP session on the server to timeout. This relates to the server which provided the form, the timeout may be different depending on the server.
-
setSessionTimeout
public void setSessionTimeout(Duration sessionTimeout)
- Specified by:
setSessionTimeoutin interfaceIFormRequestContext- Parameters:
sessionTimeout- The time it takes for an HTTP session on the server to timeout. This relates to the server which provided the form, the timeout may be different depending on the server.
-
getDoubleOptInData
public ProjectDOIData getDoubleOptInData()
- Specified by:
getDoubleOptInDatain interfaceIFormRequestContext- Returns:
- The double opt-in settings for the current form.
-
setDoubleOptInData
public void setDoubleOptInData(ProjectDOIData doubleOptInData)
- Specified by:
setDoubleOptInDatain interfaceIFormRequestContext- Parameters:
doubleOptInData- The double opt-in settings for the current form.
-
getProjectPortalData
public ProjectPortalData getProjectPortalData()
- Specified by:
getProjectPortalDatain interfaceIFormRequestContext- Returns:
- The portal settings for the current form.
-
setProjectPortalData
public void setProjectPortalData(ProjectPortalData projectPortalData)
- Specified by:
setProjectPortalDatain interfaceIFormRequestContext- Parameters:
projectPortalData- The portal settings for the current form.
-
getIdentityCheckData
public ProjectIdentityCheckData getIdentityCheckData()
- Specified by:
getIdentityCheckDatain interfaceIFormRequestContext- Returns:
- The identity check settings for the current form.
-
setIdentityCheckData
public void setIdentityCheckData(ProjectIdentityCheckData identityCheckData)
- Specified by:
setIdentityCheckDatain interfaceIFormRequestContext- Parameters:
identityCheckData- The identity check settings for the current form.
-
isRerenderAfterValidationFailed
public boolean isRerenderAfterValidationFailed()
- Specified by:
isRerenderAfterValidationFailedin interfaceIFormRequestContext
-
setRerenderAfterValidationFailed
public void setRerenderAfterValidationFailed(boolean rerenderAfterValidationFailed)
- Specified by:
setRerenderAfterValidationFailedin interfaceIFormRequestContext
-
loadUserData
@Deprecated public void loadUserData(FormUserRequestData userData)
Deprecated.UseIUserto get user data.- Specified by:
loadUserDatain interfaceIFormRequestContext
-
setUserProfile
@Deprecated public void setUserProfile(org.pac4j.core.profile.CommonProfile userData)
Deprecated.- Specified by:
setUserProfilein interfaceIFormRequestContext
-
getUserProfile
@Deprecated public org.pac4j.core.profile.CommonProfile getUserProfile()
Deprecated.- Specified by:
getUserProfilein interfaceIFormRequestContext
-
setParameterWrapper
@Deprecated public void setParameterWrapper(ParameterWrapper parameterWrapper)
Deprecated.- Specified by:
setParameterWrapperin interfaceIFormRequestContext
-
getSessionAttributes
@Deprecated public SessionAttributes getSessionAttributes()
Deprecated.- Specified by:
getSessionAttributesin interfaceIFormRequestContext
-
setSessionAttributes
@Deprecated public void setSessionAttributes(SessionAttributes sessionAttributes)
Deprecated.- Specified by:
setSessionAttributesin interfaceIFormRequestContext
-
-