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 IFormRenderContext
public void setUserContext(UserContext userContext)
setUserContext
in interface IFormRenderContext
public Map<String,String> getHiddenInputParameter()
getHiddenInputParameter
in interface IFormRenderContext
public void addHiddenInputParameter(String key, String value)
addHiddenInputParameter
in interface IFormRenderContext
public void setHiddenInputParameters(Map<String,String> hiddenInputParameters)
setHiddenInputParameters
in interface IFormRenderContext
public Map<String,List<String>> getProzessParameter()
getProzessParameter
in interface IFormRenderContext
public void addProzessParameter(String key, List<String> value)
addProzessParameter
in interface IFormRenderContext
public void setProzessParameter(Map<String,List<String>> prozessParameters)
setProzessParameter
in interface IFormRenderContext
public Map<String,List<String>> getRenderParameter()
getRenderParameter
in interface IFormRenderContext
public void addRenderParameter(String key, List<String> value)
addRenderParameter
in interface IFormRenderContext
public void setRenderParameter(Map<String,List<String>> renderParameters)
setRenderParameter
in interface IFormRenderContext
public Map<String,List<String>> getUrlParameter()
getUrlParameter
in interface IFormRenderContext
public void addUrlParameter(String key, List<String> value)
addUrlParameter
in interface IFormRenderContext
public void setUrlParameter(Map<String,List<String>> urlParameter)
setUrlParameter
in interface IFormRenderContext
public Map<String,com.alibaba.fastjson.JSONObject> getPluginMetaMap()
getPluginMetaMap
in interface IFormRenderContext
public void addPluginMeta(String key, com.alibaba.fastjson.JSONObject value)
addPluginMeta
in interface IFormRenderContext
public void setPluginMetaMap(Map<String,com.alibaba.fastjson.JSONObject> pluginMetaMap)
setPluginMetaMap
in interface IFormRenderContext
public List<com.hp.gagawa.java.Node> getCustomNodes()
getCustomNodes
in interface IFormRenderContext
public void addCustomNode(com.hp.gagawa.java.Node node)
addCustomNode
in interface IFormRenderContext
public void setCustomNodes(List<com.hp.gagawa.java.Node> customNodes)
setCustomNodes
in interface IFormRenderContext
public Map<String,List<String[]>> getValuesMap()
getValuesMap
in interface IFormRenderContext
public void setValuesMap(Map<String,List<String[]>> valuesMap)
setValuesMap
in interface IFormRenderContext
public Map<String,List<String[]>> getCustomValuesMap()
getCustomValuesMap
in interface IFormRenderContext
public void setCustomValuesMap(Map<String,List<String[]>> customValuesMap)
setCustomValuesMap
in interface IFormRenderContext
public FRQSession getFRQSession()
getFRQSession
in interface IFormRenderContext
public void setFRQSession(FRQSession frqSession)
setFRQSession
in interface IFormRenderContext
public XfcSession getSession()
getSession
in interface IFormRenderContext
public void setSession(XfcSession session)
setSession
in interface IFormRenderContext
public Projekt getProjekt()
getProjekt
in interface IFormRenderContext
public void setProjekt(Projekt projekt)
setProjekt
in interface IFormRenderContext
public FormVersion getFormVersion()
getFormVersion
in interface IFormRenderContext
public void setFormVersion(FormVersion formVersion)
setFormVersion
in interface IFormRenderContext
public Benutzer getBenutzer()
getBenutzer
in interface IFormRenderContext
public void setBenutzer(Benutzer benutzer)
setBenutzer
in interface IFormRenderContext
public Vorgang getVorgang()
getVorgang
in interface IFormRenderContext
public void setVorgang(Vorgang vorgang)
setVorgang
in interface IFormRenderContext
public Mandant getMandant()
getMandant
in interface IFormRenderContext
public void setMandant(Mandant mandant)
setMandant
in interface IFormRenderContext
public Locale getLocale()
getLocale
in interface IFormRenderContext
public void setLocale(Locale locale)
setLocale
in interface IFormRenderContext
public List<BenutzerGruppe> getBenutzerGruppen()
getBenutzerGruppen
in interface IFormRenderContext
public void setBenutzerGruppen(List<BenutzerGruppe> benutzerGruppen)
setBenutzerGruppen
in interface IFormRenderContext
public Map<String,Serializable> getSessionAttributeMap()
getSessionAttributeMap
in interface IFormRenderContext
public void setSessionAttributeMap(Map<String,Serializable> sessionAttributes)
setSessionAttributeMap
in interface IFormRenderContext
public String getRequestContext()
getRequestContext
in interface IFormRenderContext
public void setRequestContext(String requestContext)
setRequestContext
in interface IFormRenderContext
public String getSessionID()
getSessionID
in interface IFormRenderContext
public void setSessionID(String sessionID)
setSessionID
in interface IFormRenderContext
public EFormRequestType getRequestType()
getRequestType
in interface IFormRenderContext
public void setRequestType(EFormRequestType requestType)
setRequestType
in interface IFormRenderContext
public ParameterWrapper getParameterWrapper()
getParameterWrapper
in interface IFormRenderContext
public void setParameterWrapper(ParameterWrapper parameterWrapper)
setParameterWrapper
in interface IFormRenderContext
public Status getStatus()
getStatus
in interface IFormRenderContext
public void setStatus(Status status)
setStatus
in interface IFormRenderContext
public String getSubmitURL()
getSubmitURL
in interface IFormRenderContext
public void setSubmitURL(String submitUrl)
setSubmitURL
in interface IFormRenderContext
public boolean isExternal()
isExternal
in interface IFormRenderContext
public void setExternal(boolean isExternal)
setExternal
in interface IFormRenderContext
public IXFormRenderConfig getXFormConfig()
getXFormConfig
in interface IFormRenderContext
public void setXFormConfig(IXFormRenderConfig xFormConfig)
setXFormConfig
in interface IFormRenderContext
public String encodeURL(String url)
encodeURL
in interface IFormRenderContext
public List<Attachment> getFormUploadList()
getFormUploadList
in interface IFormRenderContext
public void setFormUploadList(List<Attachment> formUploadList)
setFormUploadList
in interface IFormRenderContext
public void setI18nJSON(com.alibaba.fastjson.JSONObject i18nJson)
setI18nJSON
in interface IFormRenderContext
public com.alibaba.fastjson.JSONObject getI18nJSON()
getI18nJSON
in interface IFormRenderContext
public IFormRequestContext getFormRequestContext()
getFormRequestContext
in interface IFormRenderContext
public void setFormRequestContext(IFormRequestContext requestCtx)
setFormRequestContext
in interface IFormRenderContext
public Textbaustein getThemeTextbaustein()
getThemeTextbaustein
in interface IFormRenderContext
public void setThemeTextbaustein(Textbaustein themeTextbaustein)
setThemeTextbaustein
in interface IFormRenderContext
public List<MandantRessource> getMandantCssResources()
getMandantCssResources
in interface IFormRenderContext
public void setMandantCssResources(List<MandantRessource> mandantCssResources)
setMandantCssResources
in interface IFormRenderContext
public List<MandantRessource> getMandantJsResources()
getMandantJsResources
in interface IFormRenderContext
public void setMandantJsResources(List<MandantRessource> mandantJsResources)
setMandantJsResources
in interface IFormRenderContext
public List<ProjektRessource> getProjektCssResources()
getProjektCssResources
in interface IFormRenderContext
public void setProjektCssResources(List<ProjektRessource> projektCssResources)
setProjektCssResources
in interface IFormRenderContext
public List<ProjektRessource> getProjektJsResources()
getProjektJsResources
in interface IFormRenderContext
public void setProjektJsResources(List<ProjektRessource> projektJsResources)
setProjektJsResources
in interface IFormRenderContext
public IXForm buildXForm() throws IOException, com.alibaba.fastjson.JSONException
IFormRenderContext
IXForm
from the contextbuildXForm
in interface IFormRenderContext
IXForm
IOException
com.alibaba.fastjson.JSONException
public IXFormRenderConfig buildXFormConfig() throws IOException
IFormRenderContext
XFormRenderConfig
from the contextbuildXFormConfig
in interface IFormRenderContext
XFormRenderConfig
IOException
public com.alibaba.fastjson.JSONObject buildXFormJSON() throws IOException, com.alibaba.fastjson.JSONException
IFormRenderContext
JSONObject
from the render-contextbuildXFormJSON
in interface IFormRenderContext
JSONObject
IOException
com.alibaba.fastjson.JSONException
public String render() throws IOException, com.alibaba.fastjson.JSONException
IFormRenderContext
String
render
in interface IFormRenderContext
String
IOException
com.alibaba.fastjson.JSONException
public void render(IExtendedFormRequestContext requestCtx) throws IOException, com.alibaba.fastjson.JSONException
IFormRenderContext
HttpServletResponse
of the given IExtendedFormRequestContext
render
in interface IFormRenderContext
requestCtx
- IExtendedFormRequestContext
which HttpServletResponse
should be usedIOException
com.alibaba.fastjson.JSONException
public void render(javax.servlet.http.HttpServletResponse response) throws IOException, com.alibaba.fastjson.JSONException
IFormRenderContext
HttpServletResponse
render
in interface IFormRenderContext
response
- HttpServletResponse
which should be usedIOException
com.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 IFormRenderContext
Copyright © 2018 XIMA MEDIA GmbH. All rights reserved.