public class FormRenderContext extends Object implements IFormRenderContext
| Modifier and Type | Field and Description |
|---|---|
protected String |
baseURL |
protected List<BenutzerGruppe> |
benutzerGruppen |
protected List<com.hp.gagawa.java.Node> |
customNodes |
protected Map<String,List<String[]>> |
customValuesMap |
protected List<Attachment> |
formUploadList |
protected Map<String,String> |
hiddenInputParameters |
protected com.alibaba.fastjson.JSONObject |
i18nJson |
protected boolean |
isExternal |
protected Map<String,com.alibaba.fastjson.JSONObject> |
pluginMetaMap |
protected Map<String,List<String>> |
prozessParameters |
protected Map<String,List<String>> |
renderParameters |
protected IFormRequestContext |
requestCtx |
protected Status |
status |
protected String |
submitURL |
protected Textbaustein |
themeTextbaustein |
protected Map<String,List<String>> |
urlParameters |
protected Map<String,List<String[]>> |
valuesMap |
protected IXFormRenderConfig |
xFormConfig |
| Modifier | Constructor and Description |
|---|---|
protected |
FormRenderContext(IFormRequestContext requestCtx) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBenutzer, getBenutzerGruppen, setBenutzer, setBenutzerGruppenprotected IFormRequestContext requestCtx
protected List<com.hp.gagawa.java.Node> customNodes
protected List<Attachment> formUploadList
protected List<BenutzerGruppe> benutzerGruppen
protected boolean isExternal
protected Status status
protected Textbaustein themeTextbaustein
protected String submitURL
protected String baseURL
protected IXFormRenderConfig xFormConfig
protected com.alibaba.fastjson.JSONObject i18nJson
protected FormRenderContext(IFormRequestContext requestCtx) throws ContextBuilderException
ContextBuilderExceptionpublic UserContext getUserContext()
getUserContext in interface IFormRenderContextpublic void setUserContext(UserContext userContext)
setUserContext in interface IFormRenderContextpublic Map<String,String> getHiddenInputParameter()
getHiddenInputParameter in interface IFormRenderContextpublic void addHiddenInputParameter(String key, String value)
addHiddenInputParameter in interface IFormRenderContextpublic void setHiddenInputParameters(Map<String,String> hiddenInputParameters)
setHiddenInputParameters in interface IFormRenderContextpublic Map<String,List<String>> getProzessParameter()
getProzessParameter in interface IFormRenderContextpublic void addProzessParameter(String key, List<String> value)
addProzessParameter in interface IFormRenderContextpublic void setProzessParameter(Map<String,List<String>> prozessParameters)
setProzessParameter in interface IFormRenderContextpublic Map<String,List<String>> getRenderParameter()
getRenderParameter in interface IFormRenderContextpublic void addRenderParameter(String key, List<String> value)
addRenderParameter in interface IFormRenderContextpublic void setRenderParameter(Map<String,List<String>> renderParameters)
setRenderParameter in interface IFormRenderContextpublic Map<String,List<String>> getUrlParameter()
getUrlParameter in interface IFormRenderContextpublic void addUrlParameter(String key, List<String> value)
addUrlParameter in interface IFormRenderContextpublic void setUrlParameter(Map<String,List<String>> urlParameter)
setUrlParameter in interface IFormRenderContextpublic Map<String,com.alibaba.fastjson.JSONObject> getPluginMetaMap()
getPluginMetaMap in interface IFormRenderContextpublic void addPluginMeta(String key, com.alibaba.fastjson.JSONObject value)
addPluginMeta in interface IFormRenderContextpublic void setPluginMetaMap(Map<String,com.alibaba.fastjson.JSONObject> pluginMetaMap)
setPluginMetaMap in interface IFormRenderContextpublic List<com.hp.gagawa.java.Node> getCustomNodes()
getCustomNodes in interface IFormRenderContextpublic void addCustomNode(com.hp.gagawa.java.Node node)
addCustomNode in interface IFormRenderContextpublic void setCustomNodes(List<com.hp.gagawa.java.Node> customNodes)
setCustomNodes in interface IFormRenderContextpublic Map<String,List<String[]>> getValuesMap()
getValuesMap in interface IFormRenderContextpublic void setValuesMap(Map<String,List<String[]>> valuesMap)
setValuesMap in interface IFormRenderContextpublic Map<String,List<String[]>> getCustomValuesMap()
getCustomValuesMap in interface IFormRenderContextpublic void setCustomValuesMap(Map<String,List<String[]>> customValuesMap)
setCustomValuesMap in interface IFormRenderContextpublic FRQSession getFRQSession()
getFRQSession in interface IFormRenderContextpublic void setFRQSession(FRQSession frqSession)
setFRQSession in interface IFormRenderContextpublic XfcSession getSession()
getSession in interface IFormRenderContextpublic void setSession(XfcSession session)
setSession in interface IFormRenderContextpublic Projekt getProjekt()
getProjekt in interface IFormRenderContextpublic void setProjekt(Projekt projekt)
setProjekt in interface IFormRenderContextpublic FormVersion getFormVersion()
getFormVersion in interface IFormRenderContextpublic void setFormVersion(FormVersion formVersion)
setFormVersion in interface IFormRenderContextpublic Benutzer getUser()
getUser in interface IFormRenderContextpublic void setUser(Benutzer benutzer)
setUser in interface IFormRenderContextpublic Vorgang getVorgang()
getVorgang in interface IFormRenderContextpublic void setVorgang(Vorgang vorgang)
setVorgang in interface IFormRenderContextpublic org.pac4j.core.profile.CommonProfile getUserProfile()
getUserProfile in interface IFormRenderContextpublic void setUserProfile(org.pac4j.core.profile.CommonProfile profile)
setUserProfile in interface IFormRenderContextpublic Mandant getMandant()
getMandant in interface IFormRenderContextpublic void setMandant(Mandant mandant)
setMandant in interface IFormRenderContextpublic Locale getLocale()
getLocale in interface IFormRenderContextpublic void setLocale(Locale locale)
setLocale in interface IFormRenderContextpublic List<BenutzerGruppe> getUserGroups()
getUserGroups in interface IFormRenderContextpublic void setUserGroups(List<BenutzerGruppe> benutzerGruppen)
setUserGroups in interface IFormRenderContextpublic com.alibaba.fastjson.JSONObject createUserDataJSON()
createUserDataJSON in interface IFormRenderContextpublic Map<String,Serializable> getSessionAttributeMap()
getSessionAttributeMap in interface IFormRenderContextpublic void setSessionAttributeMap(Map<String,Serializable> sessionAttributes)
setSessionAttributeMap in interface IFormRenderContextpublic String getRequestContext()
getRequestContext in interface IFormRenderContextpublic void setRequestContext(String requestContext)
setRequestContext in interface IFormRenderContextpublic String getSessionID()
getSessionID in interface IFormRenderContextpublic void setSessionID(String sessionID)
setSessionID in interface IFormRenderContextpublic EFormRequestType getRequestType()
getRequestType in interface IFormRenderContextpublic void setRequestType(EFormRequestType requestType)
setRequestType in interface IFormRenderContextpublic ParameterWrapper getParameterWrapper()
getParameterWrapper in interface IFormRenderContext@Deprecated public void setParameterWrapper(ParameterWrapper parameterWrapper)
setParameterWrapper in interface IFormRenderContextpublic Status getStatus()
getStatus in interface IFormRenderContextpublic void setStatus(Status status)
setStatus in interface IFormRenderContextpublic String getSubmitURL()
getSubmitURL in interface IFormRenderContextpublic void setSubmitURL(String submitUrl)
setSubmitURL in interface IFormRenderContextpublic boolean isExternal()
isExternal in interface IFormRenderContextpublic void setExternal(boolean isExternal)
setExternal in interface IFormRenderContextpublic IXFormRenderConfig getXFormConfig()
getXFormConfig in interface IFormRenderContextpublic void setXFormConfig(IXFormRenderConfig xFormConfig)
setXFormConfig in interface IFormRenderContextpublic String encodeURL(String url)
encodeURL in interface IFormRenderContextpublic List<Attachment> getFormUploadList()
getFormUploadList in interface IFormRenderContextpublic void setFormUploadList(List<Attachment> formUploadList)
setFormUploadList in interface IFormRenderContextpublic void setI18nJSON(com.alibaba.fastjson.JSONObject i18nJson)
setI18nJSON in interface IFormRenderContextpublic com.alibaba.fastjson.JSONObject getI18nJSON()
getI18nJSON in interface IFormRenderContextpublic IFormRequestContext getFormRequestContext()
getFormRequestContext in interface IFormRenderContextpublic void setFormRequestContext(IFormRequestContext requestCtx)
setFormRequestContext in interface IFormRenderContextpublic Textbaustein getThemeTextbaustein()
getThemeTextbaustein in interface IFormRenderContextpublic void setThemeTextbaustein(Textbaustein themeTextbaustein)
setThemeTextbaustein in interface IFormRenderContextpublic Map<EFormResourceType,List<ProjektRessource>> getProjectResourceMap()
getProjectResourceMap in interface IFormRenderContextpublic void setProjectResourceMap(Map<EFormResourceType,List<ProjektRessource>> resMap)
setProjectResourceMap in interface IFormRenderContextpublic List<ProjektRessource> getProjectResources(EFormResourceType type)
getProjectResources in interface IFormRenderContextpublic void setProjectResources(EFormResourceType type, List<ProjektRessource> resources)
setProjectResources in interface IFormRenderContextpublic Map<EFormResourceType,List<MandantRessource>> getClientResourceMap()
getClientResourceMap in interface IFormRenderContextpublic void setClientResourceMap(Map<EFormResourceType,List<MandantRessource>> resMap)
setClientResourceMap in interface IFormRenderContextpublic List<MandantRessource> getClientResources(EFormResourceType type)
getClientResources in interface IFormRenderContextpublic void setClientResources(EFormResourceType type, List<MandantRessource> resources)
setClientResources in interface IFormRenderContextpublic Map<EFormResourceType,List<IFormResource>> getClientPluginResourceMap()
getClientPluginResourceMap in interface IFormRenderContextpublic void setClientPluginResourceMap(Map<EFormResourceType,List<IFormResource>> resMap)
setClientPluginResourceMap in interface IFormRenderContextpublic List<IFormResource> getClientPluginResources(EFormResourceType type)
getClientPluginResources in interface IFormRenderContextpublic void setClientPluginResources(EFormResourceType type, List<IFormResource> resources)
setClientPluginResources in interface IFormRenderContextpublic Map<EFormResourceType,List<IFormResource>> getSystemPluginResourceMap()
getSystemPluginResourceMap in interface IFormRenderContextpublic void setSystemPluginResourceMap(Map<EFormResourceType,List<IFormResource>> resMap)
setSystemPluginResourceMap in interface IFormRenderContextpublic List<IFormResource> getSystemPluginResources(EFormResourceType type)
getSystemPluginResources in interface IFormRenderContextpublic void setSystemPluginResources(EFormResourceType type, List<IFormResource> resources)
setSystemPluginResources in interface IFormRenderContextpublic IXForm buildXForm() throws IOException, com.alibaba.fastjson.JSONException
IFormRenderContextIXForm from the contextbuildXForm in interface IFormRenderContextIXFormIOException - on errors while reading the formcom.alibaba.fastjson.JSONException - on errors while generating the forms JSONObjectpublic IXFormRenderConfig buildXFormConfig() throws IOException
IFormRenderContextIXFormRenderConfig from the contextbuildXFormConfig in interface IFormRenderContextIXFormRenderConfigIOException - on errors while reading the formpublic com.alibaba.fastjson.JSONObject buildXFormJSON()
throws IOException,
com.alibaba.fastjson.JSONException
IFormRenderContextJSONObject from the render-contextbuildXFormJSON in interface IFormRenderContextJSONObjectIOException - on errors while reading the formcom.alibaba.fastjson.JSONException - on errors while generating the forms JSONObjectpublic String render() throws IOException, com.alibaba.fastjson.JSONException
IFormRenderContextStringrender in interface IFormRenderContextStringIOException - on errors while reading or rendering the formcom.alibaba.fastjson.JSONException - on errors while generating the forms JSONObjectpublic void render(IExtendedFormRequestContext requestCtx) throws IOException, com.alibaba.fastjson.JSONException
IFormRenderContextHttpServletResponse of the given IExtendedFormRequestContextrender in interface IFormRenderContextrequestCtx - IExtendedFormRequestContext which HttpServletResponse should be usedIOException - on errors while reading or rendering the formcom.alibaba.fastjson.JSONException - on errors while generating the forms JSONObjectpublic void render(javax.servlet.http.HttpServletResponse response)
throws IOException,
com.alibaba.fastjson.JSONException
IFormRenderContextHttpServletResponserender in interface IFormRenderContextresponse - HttpServletResponse which should be usedIOException - on errors while reading or rendering the formcom.alibaba.fastjson.JSONException - on errors while generating the forms JSONObject@Deprecated public SessionAttributes getSessionAttributes()
getSessionAttributes in interface IFormRenderContext@Deprecated public void setSessionAttributes(SessionAttributes sessionAttributes)
setSessionAttributes in interface IFormRenderContext@Deprecated public ParameterWrapper getRequestParameters()
getRequestParameters in interface IFormRenderContext@Deprecated public void setRequestParameters(ParameterWrapper requestParameters)
setRequestParameters in interface IFormRenderContext@Deprecated public Map<String,List<String>> getUrlParamMap()
getUrlParamMap in interface IFormRenderContext@Deprecated public List<MandantRessource> getMandantJsResources()
getClientResources(EFormResourceType)getMandantJsResources in interface IFormRenderContext@Deprecated public void setMandantJsResources(List<MandantRessource> jsMandantResources)
setClientResources(EFormResourceType, List)setMandantJsResources in interface IFormRenderContext@Deprecated public List<MandantRessource> getMandantCssResources()
getClientResources(EFormResourceType)getMandantCssResources in interface IFormRenderContext@Deprecated public void setMandantCssResources(List<MandantRessource> cssMandantResources)
setClientResources(EFormResourceType, List)setMandantCssResources in interface IFormRenderContext@Deprecated public List<ProjektRessource> getProjektJsResources()
getProjectResources(EFormResourceType)getProjektJsResources in interface IFormRenderContext@Deprecated public void setProjektJsResources(List<ProjektRessource> jsProjektResources)
setProjectResources(EFormResourceType, List)setProjektJsResources in interface IFormRenderContext@Deprecated public List<ProjektRessource> getProjektCssResources()
getProjectResources(EFormResourceType)getProjektCssResources in interface IFormRenderContext@Deprecated public void setProjektCssResources(List<ProjektRessource> cssProjektResources)
setProjectResources(EFormResourceType, List)setProjektCssResources in interface IFormRenderContext@Deprecated public List<IFormResource> getSystemPluginJsResources()
getSystemPluginResources(EFormResourceType)getSystemPluginJsResources in interface IFormRenderContext@Deprecated public void setSystemPluginJsResources(List<IFormResource> jsSystemPluginResources)
setSystemPluginResources(EFormResourceType, List)setSystemPluginJsResources in interface IFormRenderContext@Deprecated public List<IFormResource> getSystemPluginCssResources()
getSystemPluginResources(EFormResourceType)getSystemPluginCssResources in interface IFormRenderContext@Deprecated public void setSystemPluginCssResources(List<IFormResource> cssSystemPluginResources)
setSystemPluginResources(EFormResourceType, List)setSystemPluginCssResources in interface IFormRenderContext@Deprecated public List<IFormResource> getMandantPluginJsResources()
getClientPluginResources(EFormResourceType)getMandantPluginJsResources in interface IFormRenderContext@Deprecated public void setMandantPluginJsResources(List<IFormResource> jsMandantPluginResources)
setClientPluginResources(EFormResourceType, List)setMandantPluginJsResources in interface IFormRenderContext@Deprecated public List<IFormResource> getMandantPluginCssResources()
getClientPluginResources(EFormResourceType)getMandantPluginCssResources in interface IFormRenderContext@Deprecated public void setMandantPluginCssResources(List<IFormResource> cssMandantPluginResources)
setClientPluginResources(EFormResourceType, List)setMandantPluginCssResources in interface IFormRenderContextCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.