public class FormRenderContext extends Object implements IFormRenderContext
| Modifier | Constructor and Description |
|---|---|
protected |
FormRenderContext(IFormRequestContext requestCtx) |
protected IFormRequestContext requestCtx
protected List<MandantRessource> mandantCssResources
protected List<MandantRessource> mandantJsResources
protected List<ProjektRessource> projektCssResources
protected List<ProjektRessource> projektJsResources
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)
public 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 getBenutzer()
getBenutzer in interface IFormRenderContextpublic void setBenutzer(Benutzer benutzer)
setBenutzer in interface IFormRenderContextpublic Vorgang getVorgang()
getVorgang in interface IFormRenderContextpublic void setVorgang(Vorgang vorgang)
setVorgang 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> getBenutzerGruppen()
getBenutzerGruppen in interface IFormRenderContextpublic void setBenutzerGruppen(List<BenutzerGruppe> benutzerGruppen)
setBenutzerGruppen 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 IFormRenderContextpublic 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 List<MandantRessource> getMandantCssResources()
getMandantCssResources in interface IFormRenderContextpublic void setMandantCssResources(List<MandantRessource> mandantCssResources)
setMandantCssResources in interface IFormRenderContextpublic List<MandantRessource> getMandantJsResources()
getMandantJsResources in interface IFormRenderContextpublic void setMandantJsResources(List<MandantRessource> mandantJsResources)
setMandantJsResources in interface IFormRenderContextpublic List<ProjektRessource> getProjektCssResources()
getProjektCssResources in interface IFormRenderContextpublic void setProjektCssResources(List<ProjektRessource> projektCssResources)
setProjektCssResources in interface IFormRenderContextpublic List<ProjektRessource> getProjektJsResources()
getProjektJsResources in interface IFormRenderContextpublic void setProjektJsResources(List<ProjektRessource> projektJsResources)
setProjektJsResources in interface IFormRenderContextpublic IXForm buildXForm() throws IOException, com.alibaba.fastjson.JSONException
IFormRenderContextIXForm from the contextbuildXForm in interface IFormRenderContextIXFormIOExceptioncom.alibaba.fastjson.JSONExceptionpublic IXFormRenderConfig buildXFormConfig() throws IOException
IFormRenderContextXFormRenderConfig from the contextbuildXFormConfig in interface IFormRenderContextXFormRenderConfigIOExceptionpublic com.alibaba.fastjson.JSONObject buildXFormJSON()
throws IOException,
com.alibaba.fastjson.JSONException
IFormRenderContextJSONObject from the render-contextbuildXFormJSON in interface IFormRenderContextJSONObjectIOExceptioncom.alibaba.fastjson.JSONExceptionpublic String render() throws IOException, com.alibaba.fastjson.JSONException
IFormRenderContextStringrender in interface IFormRenderContextStringIOExceptioncom.alibaba.fastjson.JSONExceptionpublic void render(IExtendedFormRequestContext requestCtx) throws IOException, com.alibaba.fastjson.JSONException
IFormRenderContextHttpServletResponse of the given IExtendedFormRequestContextrender in interface IFormRenderContextrequestCtx - IExtendedFormRequestContext which HttpServletResponse should be usedIOExceptioncom.alibaba.fastjson.JSONExceptionpublic void render(javax.servlet.http.HttpServletResponse response)
throws IOException,
com.alibaba.fastjson.JSONException
IFormRenderContextHttpServletResponserender in interface IFormRenderContextresponse - HttpServletResponse which should be usedIOExceptioncom.alibaba.fastjson.JSONException@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 IFormRenderContextCopyright © 2018 XIMA MEDIA GmbH. All rights reserved.