public interface IFormRequestContext extends Serializable
UserContext getUserContext()
void setUserContext(UserContext uc)
Benutzer getUser()
void setUser(Benutzer benutzer)
org.pac4j.core.profile.CommonProfile getUserProfile()
void setUserProfile(org.pac4j.core.profile.CommonProfile userData)
void setProjekt(Projekt projekt)
ProjectDOIData getDoubleOptInData()
void setDoubleOptInData(ProjectDOIData projekt)
void setMandant(Mandant mandant)
FormVersion getFormVersion()
FormVersion
that was requested.void setFormVersion(FormVersion formVersion)
FrontendServer getFrontendServer()
FrontendServer
, that frontend server. Otherwise, when the form
request is made directly to the master server, this return null
.void setFrontendServer(FrontendServer frontendServer)
Vorgang getVorgang()
Vorgang
when the form was submitted; or null
when a new empty form was just
requested.void setVorgang(Vorgang vorgang)
Locale getLocale()
void setLocale(Locale locale)
boolean isUseCurrentFv()
true
if the latest version of the form is to be used, false
if a specific form version was
requested.void setUseCurrentFv(boolean useCurrentFv)
EFormRequestType getRequestType()
void setRequestType(EFormRequestType requestType)
String getSessionID()
HttpSession
ID.void setSessionID(String sessionID)
String getBaseUrl()
void setBaseUrl(String baseUrl)
Map<String,Serializable> getSessionAttributeMap()
Map
of all key-value pairs in the current HttpSession
. Please note that changes to this
map will not affect the HttpSession
.void setSessionAttributeMap(Map<String,Serializable> attributes)
XfcSession getSession()
HttpSession
.void setSession(XfcSession session)
FRQSession getFRQSession()
getSession()
may contain multiple FRQSession
s.void setFRQSession(FRQSession formRequestSession)
boolean isSaveOnly()
void setSaveOnly(boolean saveOnly)
boolean isReview()
true
if a review was requested (when opening a form in the inbox), or false
otherwise.void setReview(boolean isReview)
boolean isOldVersion()
true
if an old version was requested, or false
otherwise.void setOldVersion(boolean isOldVersion)
boolean isContinueProcessing()
true
if this form request should be processed further, or false
to indicate that processing
should be aborted.void setContinueProcessing(boolean continueProcessing)
boolean isCheckForm()
true
to indicate the form should be validated on the server, or false
otherwise.void setCheckForm(boolean checkForm)
boolean isAnonymize()
true
to indicate the form submission should be made anonymously, or false
otherwise. When
the form is anonymized, no meta data is saved regarding the user who submitted the form.void setAnonymize(boolean anonymize)
boolean isResubmit()
true
when the form was not submitted for the first time and a Vorgang
exists already,
false
otherwise.void setResubmit(boolean isResubmit)
boolean isPreview()
true
if a preview was requested, false
otherwise.void setPreview(boolean isPreview)
IFormDataAdapter getFormData()
IFormDataAdapter
that can be used to access the current form data, ie. the submitted or already
present values for each form field.void setFormData(IFormDataAdapter formData)
void initFormData(ParameterWrapper rp)
ParameterWrapper getParameterWrapper()
initFormData(ParameterWrapper)
or getFormData()
and IFormDataAdapter.init(Map)
or
setFormData(IFormDataAdapter)
ParameterWrapper
boolean isBenutzerZugriffAllowed()
true
to indicate that the current Benutzer
is allowed access to the request form, or
false
otherwise.void setBenutzerZugriffAllowed(boolean isBenutzerZugriffAllowed)
boolean isFrontendServerAllowed()
true
if the requested form may be served by the getFrontendServer()
, or false
otherwise.void setFrontenServerAllowed(boolean isFrontendServerAllowed)
List<BenutzerGruppe> getUserGroups()
List
of BenutzerGruppe
s to which the current Benutzer
belongs to.void setUserGroups(List<BenutzerGruppe> userGroups)
com.alibaba.fastjson.JSONObject createUserDataJSON()
ValueParameters getValueParameters()
getUploadParameters()
.UploadParameters getUploadParameters()
void loadUserData(FormUserRequestData userData)
@Deprecated default List<Postfach> getBenutzerPostfaecher()
getUserInboxes()
@Deprecated default void setBenutzerPostfaecher(List<Postfach> benutzerPostfaecher)
setUserInboxes(List)
@Deprecated default List<BenutzerGruppe> getBenutzerGruppen()
getUserGroups()
@Deprecated default void setBenutzerGruppen(List<BenutzerGruppe> benutzerGruppen)
setUserGroups(List)
@Deprecated SessionAttributes getSessionAttributes()
getSessionAttributeMap()
@Deprecated void setSessionAttributes(SessionAttributes sessionAttributes)
setSessionAttributeMap(Map)
@Deprecated void setParameterWrapper(ParameterWrapper parameterWrapper)
@Deprecated default Benutzer getCurrentBenutzer()
getUser()
@Deprecated default void setCurrentBenutzer(Benutzer benutzer)
setUser(Benutzer)
benutzer
- the user to set@Deprecated Boolean getUseCurrentFv()
isUseCurrentFv()
@Deprecated default String getRequestContext()
getBaseUrl()
@Deprecated default void setRequestContext(String requestContext)
setBaseUrl(String)
@Deprecated default void setRequestContest(String requestContext)
setBaseUrl(String)
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.