Package de.xima.fc.form.render
Class FormRenderContextWrapper
- java.lang.Object
-
- de.xima.fc.form.render.FormRenderContextWrapper
-
- All Implemented Interfaces:
IFormRenderContext,Serializable
- Direct Known Subclasses:
ExtendedFormRenderContextWrapper
public abstract class FormRenderContextWrapper extends Object implements IFormRenderContext
Wrapper for anIFormRenderContextthat delegates all calls to the wrapped instance.- Since:
- 8.4.1
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected IFormRenderContextwrapped
-
Constructor Summary
Constructors Modifier Constructor Description protectedFormRenderContextWrapper(IFormRenderContext wrapped)
-
Method Summary
-
-
-
Field Detail
-
wrapped
protected final IFormRenderContext wrapped
-
-
Constructor Detail
-
FormRenderContextWrapper
protected FormRenderContextWrapper(IFormRenderContext wrapped)
-
-
Method Detail
-
addCustomNode
public void addCustomNode(com.hp.gagawa.java.Node node)
- Specified by:
addCustomNodein interfaceIFormRenderContext
-
addHiddenInputParameter
public void addHiddenInputParameter(String key, String value)
- Specified by:
addHiddenInputParameterin interfaceIFormRenderContext
-
addPluginMeta
public void addPluginMeta(String key, com.alibaba.fastjson.JSONObject value)
- Specified by:
addPluginMetain interfaceIFormRenderContext
-
addProzessParameter
public void addProzessParameter(String key, List<String> value)
- Specified by:
addProzessParameterin interfaceIFormRenderContext
-
addRenderParameter
public void addRenderParameter(String key, List<String> value)
- Specified by:
addRenderParameterin interfaceIFormRenderContext
-
addUrlParameter
public void addUrlParameter(String key, List<String> value)
- Specified by:
addUrlParameterin interfaceIFormRenderContext
-
buildXForm
public IXForm buildXForm() throws IOException, com.alibaba.fastjson.JSONException
Description copied from interface:IFormRenderContextbuilds theIXFormfrom the context- Specified by:
buildXFormin interfaceIFormRenderContext- Returns:
- the created
IXForm - Throws:
IOException- on errors while reading the formcom.alibaba.fastjson.JSONException- on errors while generating the formsJSONObject
-
buildXFormConfig
public IXFormRenderConfig buildXFormConfig() throws IOException
Description copied from interface:IFormRenderContextbuilds theIXFormRenderConfigfrom the context- Specified by:
buildXFormConfigin interfaceIFormRenderContext- Returns:
- the created
IXFormRenderConfig - Throws:
IOException- on errors while reading the form
-
buildXFormJSON
public com.alibaba.fastjson.JSONObject buildXFormJSON() throws IOException, com.alibaba.fastjson.JSONExceptionDescription copied from interface:IFormRenderContextbuilds theJSONObjectfrom the render-context- Specified by:
buildXFormJSONin interfaceIFormRenderContext- Returns:
- the created
JSONObject - Throws:
IOException- on errors while reading the formcom.alibaba.fastjson.JSONException- on errors while generating the formsJSONObject
-
createUserDataJSON
public com.alibaba.fastjson.JSONObject createUserDataJSON()
- Specified by:
createUserDataJSONin interfaceIFormRenderContext
-
encodeURL
public String encodeURL(String url)
- Specified by:
encodeURLin interfaceIFormRenderContext
-
getBaseUrl
public String getBaseUrl()
- Specified by:
getBaseUrlin interfaceIFormRenderContext
-
setBaseUrl
public void setBaseUrl(String baseUrl)
- Specified by:
setBaseUrlin interfaceIFormRenderContext
-
getBenutzer
@Deprecated public Benutzer getBenutzer()
Deprecated.- Specified by:
getBenutzerin interfaceIFormRenderContext
-
setBenutzer
@Deprecated public void setBenutzer(Benutzer benutzer)
Deprecated.- Specified by:
setBenutzerin interfaceIFormRenderContext
-
getBenutzerGruppen
@Deprecated public List<BenutzerGruppe> getBenutzerGruppen()
Deprecated.- Specified by:
getBenutzerGruppenin interfaceIFormRenderContext
-
setBenutzerGruppen
@Deprecated public void setBenutzerGruppen(List<BenutzerGruppe> benutzerGruppen)
Deprecated.- Specified by:
setBenutzerGruppenin interfaceIFormRenderContext
-
getButtonDescriptor
public XButtonDescriptor getButtonDescriptor()
- Specified by:
getButtonDescriptorin interfaceIFormRenderContext
-
setButtonDescriptor
public void setButtonDescriptor(XButtonDescriptor buttonDescriptor)
- Specified by:
setButtonDescriptorin interfaceIFormRenderContext
-
getClientPluginResourceMap
public Map<EFormResourceType,List<IFormResource>> getClientPluginResourceMap()
- Specified by:
getClientPluginResourceMapin interfaceIFormRenderContext
-
setClientPluginResourceMap
public void setClientPluginResourceMap(Map<EFormResourceType,List<IFormResource>> resMap)
- Specified by:
setClientPluginResourceMapin interfaceIFormRenderContext
-
getClientPluginResources
public List<IFormResource> getClientPluginResources(EFormResourceType type)
- Specified by:
getClientPluginResourcesin interfaceIFormRenderContext
-
getClientResourceMap
public Map<EFormResourceType,List<MandantRessource>> getClientResourceMap()
- Specified by:
getClientResourceMapin interfaceIFormRenderContext
-
setClientResourceMap
public void setClientResourceMap(Map<EFormResourceType,List<MandantRessource>> resMap)
- Specified by:
setClientResourceMapin interfaceIFormRenderContext
-
getClientResources
public List<MandantRessource> getClientResources(EFormResourceType type)
- Specified by:
getClientResourcesin interfaceIFormRenderContext
-
getCustomNodes
public List<com.hp.gagawa.java.Node> getCustomNodes()
- Specified by:
getCustomNodesin interfaceIFormRenderContext
-
setCustomNodes
public void setCustomNodes(List<com.hp.gagawa.java.Node> customNodes)
- Specified by:
setCustomNodesin interfaceIFormRenderContext
-
getCustomValuesMap
public Map<String,List<String[]>> getCustomValuesMap()
- Specified by:
getCustomValuesMapin interfaceIFormRenderContext
-
setCustomValuesMap
public void setCustomValuesMap(Map<String,List<String[]>> customValuesMap)
- Specified by:
setCustomValuesMapin interfaceIFormRenderContext
-
getDynContainerMap
@Deprecated public Map<String,FormContainerMetaData> getDynContainerMap()
Deprecated.Description copied from interface:IFormRenderContext*- Specified by:
getDynContainerMapin interfaceIFormRenderContext- Returns:
- A map between the name of a repeated container and its metadata. No mapping is present when the containeris not repeated.
-
setDynContainerMap
@Deprecated public void setDynContainerMap(Map<String,FormContainerMetaData> fieldContainerMap)
Deprecated.- Specified by:
setDynContainerMapin interfaceIFormRenderContext- Parameters:
fieldContainerMap- A map between the name of a form field and the (repetition) container that contains the form field. No mapping is present when the form field is not repeated.
-
getFRQSession
public FRQSession getFRQSession()
- Specified by:
getFRQSessionin interfaceIFormRenderContext
-
setFRQSession
public void setFRQSession(FRQSession frqSession)
- Specified by:
setFRQSessionin interfaceIFormRenderContext
-
getFormRequestContext
public IFormRequestContext getFormRequestContext()
- Specified by:
getFormRequestContextin interfaceIFormRenderContext
-
setFormRequestContext
public void setFormRequestContext(IFormRequestContext requestCtx)
- Specified by:
setFormRequestContextin interfaceIFormRenderContext
-
getFormThemeResourceMap
public Map<EFormResourceType,List<IFormThemeResource>> getFormThemeResourceMap()
Description copied from interface:IFormRenderContextGets the map with all resources from theIFormThemethat was selected for the currently rendered form.- Specified by:
getFormThemeResourceMapin interfaceIFormRenderContext- Returns:
- A map with all resources from the selected
IFormTheme.
-
setFormThemeResourceMap
public void setFormThemeResourceMap(Map<EFormResourceType,List<IFormThemeResource>> resourceMap)
Description copied from interface:IFormRenderContextSets the map with all resources from theIFormThemethat was selected for the currently rendered form.- Specified by:
setFormThemeResourceMapin interfaceIFormRenderContext- Parameters:
resourceMap- A map with all resources from the selectedIFormTheme.
-
getFormThemeResources
public List<IFormThemeResource> getFormThemeResources(EFormResourceType type)
Description copied from interface:IFormRenderContextGets all resources of the given type from theIFormThemethat was selected for the currently rendered form.- Specified by:
getFormThemeResourcesin interfaceIFormRenderContext- Parameters:
type- The type of the resources to get.- Returns:
- A list with all resources of the given type from the selected
IFormTheme.
-
getFormUploadList
public List<Attachment> getFormUploadList()
- Specified by:
getFormUploadListin interfaceIFormRenderContext
-
setFormUploadList
public void setFormUploadList(List<Attachment> formUploadList)
- Specified by:
setFormUploadListin interfaceIFormRenderContext
-
getFormVersion
public FormVersion getFormVersion()
- Specified by:
getFormVersionin interfaceIFormRenderContext
-
setFormVersion
public void setFormVersion(FormVersion formVersion)
- Specified by:
setFormVersionin interfaceIFormRenderContext
-
getHiddenInputParameter
public Map<String,String> getHiddenInputParameter()
- Specified by:
getHiddenInputParameterin interfaceIFormRenderContext
-
getI18nJSON
public com.alibaba.fastjson.JSONObject getI18nJSON()
- Specified by:
getI18nJSONin interfaceIFormRenderContext
-
setI18nJSON
public void setI18nJSON(com.alibaba.fastjson.JSONObject i18nJson)
- Specified by:
setI18nJSONin interfaceIFormRenderContext
-
getIDynContainerMap
public Map<String,IFormContainerMetaData> getIDynContainerMap()
Description copied from interface:IFormRenderContext*- Specified by:
getIDynContainerMapin interfaceIFormRenderContext- Returns:
- A map between the name of a repeated container and its metadata. No mapping is present when the containeris not repeated.
-
setIDynContainerMap
public void setIDynContainerMap(Map<String,IFormContainerMetaData> fieldContainerMap)
- Specified by:
setIDynContainerMapin interfaceIFormRenderContext- Parameters:
fieldContainerMap- A map between the name of a form field and the (repetition) container that contains the form field. No mapping is present when the form field is not repeated.
-
getLocale
public Locale getLocale()
- Specified by:
getLocalein interfaceIFormRenderContext
-
setLocale
public void setLocale(Locale locale)
- Specified by:
setLocalein interfaceIFormRenderContext
-
getMandant
public Mandant getMandant()
- Specified by:
getMandantin interfaceIFormRenderContext
-
setMandant
public void setMandant(Mandant mandant)
- Specified by:
setMandantin interfaceIFormRenderContext
-
getMandantCssResources
@Deprecated public List<MandantRessource> getMandantCssResources()
Deprecated.- Specified by:
getMandantCssResourcesin interfaceIFormRenderContext
-
setMandantCssResources
@Deprecated public void setMandantCssResources(List<MandantRessource> cssMandantResources)
Deprecated.- Specified by:
setMandantCssResourcesin interfaceIFormRenderContext
-
getMandantJsResources
@Deprecated public List<MandantRessource> getMandantJsResources()
Deprecated.- Specified by:
getMandantJsResourcesin interfaceIFormRenderContext
-
setMandantJsResources
@Deprecated public void setMandantJsResources(List<MandantRessource> jsMandantResources)
Deprecated.- Specified by:
setMandantJsResourcesin interfaceIFormRenderContext
-
getMandantPluginCssResources
@Deprecated public List<IFormResource> getMandantPluginCssResources()
Deprecated.- Specified by:
getMandantPluginCssResourcesin interfaceIFormRenderContext
-
setMandantPluginCssResources
@Deprecated public void setMandantPluginCssResources(List<IFormResource> cssMandantPluginResources)
Deprecated.- Specified by:
setMandantPluginCssResourcesin interfaceIFormRenderContext
-
getMandantPluginJsResources
@Deprecated public List<IFormResource> getMandantPluginJsResources()
Deprecated.- Specified by:
getMandantPluginJsResourcesin interfaceIFormRenderContext
-
setMandantPluginJsResources
@Deprecated public void setMandantPluginJsResources(List<IFormResource> jsMandantPluginResources)
Deprecated.- Specified by:
setMandantPluginJsResourcesin interfaceIFormRenderContext
-
getParameterWrapper
public ParameterWrapper getParameterWrapper()
- Specified by:
getParameterWrapperin interfaceIFormRenderContext
-
setParameterWrapper
public void setParameterWrapper(ParameterWrapper parameterWrapper)
- Specified by:
setParameterWrapperin interfaceIFormRenderContext
-
getPluginMetaMap
public Map<String,com.alibaba.fastjson.JSONObject> getPluginMetaMap()
- Specified by:
getPluginMetaMapin interfaceIFormRenderContext
-
setPluginMetaMap
public void setPluginMetaMap(Map<String,com.alibaba.fastjson.JSONObject> pluginMetaMap)
- Specified by:
setPluginMetaMapin interfaceIFormRenderContext
-
getProjectResourceMap
public Map<EFormResourceType,List<ProjektRessource>> getProjectResourceMap()
- Specified by:
getProjectResourceMapin interfaceIFormRenderContext
-
setProjectResourceMap
public void setProjectResourceMap(Map<EFormResourceType,List<ProjektRessource>> resMap)
- Specified by:
setProjectResourceMapin interfaceIFormRenderContext
-
getProjectResources
public List<ProjektRessource> getProjectResources(EFormResourceType type)
- Specified by:
getProjectResourcesin interfaceIFormRenderContext
-
getProjekt
public Projekt getProjekt()
- Specified by:
getProjektin interfaceIFormRenderContext
-
setProjekt
public void setProjekt(Projekt projekt)
- Specified by:
setProjektin interfaceIFormRenderContext
-
getProjektCssResources
@Deprecated public List<ProjektRessource> getProjektCssResources()
Deprecated.- Specified by:
getProjektCssResourcesin interfaceIFormRenderContext
-
setProjektCssResources
@Deprecated public void setProjektCssResources(List<ProjektRessource> cssProjektResources)
Deprecated.- Specified by:
setProjektCssResourcesin interfaceIFormRenderContext
-
getProjektJsResources
@Deprecated public List<ProjektRessource> getProjektJsResources()
Deprecated.- Specified by:
getProjektJsResourcesin interfaceIFormRenderContext
-
setProjektJsResources
@Deprecated public void setProjektJsResources(List<ProjektRessource> jsProjektResources)
Deprecated.- Specified by:
setProjektJsResourcesin interfaceIFormRenderContext
-
getProzessParameter
public Map<String,List<String>> getProzessParameter()
- Specified by:
getProzessParameterin interfaceIFormRenderContext
-
setProzessParameter
public void setProzessParameter(Map<String,List<String>> prozessParameters)
- Specified by:
setProzessParameterin interfaceIFormRenderContext
-
getRenderParameter
public Map<String,List<String>> getRenderParameter()
- Specified by:
getRenderParameterin interfaceIFormRenderContext
-
setRenderParameter
public void setRenderParameter(Map<String,List<String>> renderParameters)
- Specified by:
setRenderParameterin interfaceIFormRenderContext
-
getRequestContext
@Deprecated public String getRequestContext()
Deprecated.- Specified by:
getRequestContextin interfaceIFormRenderContext
-
setRequestContext
@Deprecated public void setRequestContext(String requestContext)
Deprecated.- Specified by:
setRequestContextin interfaceIFormRenderContext
-
getRequestParameters
@Deprecated public ParameterWrapper getRequestParameters()
Deprecated.- Specified by:
getRequestParametersin interfaceIFormRenderContext
-
setRequestParameters
@Deprecated public void setRequestParameters(ParameterWrapper requestParameters)
Deprecated.- Specified by:
setRequestParametersin interfaceIFormRenderContext
-
getRequestType
public EFormRequestType getRequestType()
- Specified by:
getRequestTypein interfaceIFormRenderContext
-
setRequestType
public void setRequestType(EFormRequestType requestType)
- Specified by:
setRequestTypein interfaceIFormRenderContext
-
getSession
public XfcSession getSession()
- Specified by:
getSessionin interfaceIFormRenderContext
-
setSession
public void setSession(XfcSession session)
- Specified by:
setSessionin interfaceIFormRenderContext
-
getSessionAttributeMap
public Map<String,Serializable> getSessionAttributeMap()
- Specified by:
getSessionAttributeMapin interfaceIFormRenderContext- 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 interfaceIFormRenderContext- Parameters:
sessionAttributes- AMapof all key-value pairs in the currentHttpSession. Please note that changes to this map will not affect theHttpSession.
-
getSessionAttributes
@Deprecated public SessionAttributes getSessionAttributes()
Deprecated.- Specified by:
getSessionAttributesin interfaceIFormRenderContext
-
setSessionAttributes
@Deprecated public void setSessionAttributes(SessionAttributes sessionAttributes)
Deprecated.- Specified by:
setSessionAttributesin interfaceIFormRenderContext
-
getSessionID
public String getSessionID()
- Specified by:
getSessionIDin interfaceIFormRenderContext
-
setSessionID
public void setSessionID(String sessionID)
- Specified by:
setSessionIDin interfaceIFormRenderContext
-
getSessionTimeout
public Duration getSessionTimeout()
- Specified by:
getSessionTimeoutin interfaceIFormRenderContext- 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 timeout)
- Specified by:
setSessionTimeoutin interfaceIFormRenderContext- Parameters:
timeout- 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.
-
getStatus
@Deprecated public Status getStatus()
Deprecated.- Specified by:
getStatusin interfaceIFormRenderContext- Returns:
- A state of the form record to use for rendering the form.
-
setStatus
@Deprecated public void setStatus(Status status)
Deprecated.- Specified by:
setStatusin interfaceIFormRenderContext- Parameters:
status- A state of the form record to use for rendering the form.
-
getSubmitURL
public String getSubmitURL()
- Specified by:
getSubmitURLin interfaceIFormRenderContext
-
setSubmitURL
public void setSubmitURL(String submitUrl)
- Specified by:
setSubmitURLin interfaceIFormRenderContext
-
getSystemPluginCssResources
@Deprecated public List<IFormResource> getSystemPluginCssResources()
Deprecated.- Specified by:
getSystemPluginCssResourcesin interfaceIFormRenderContext
-
setSystemPluginCssResources
@Deprecated public void setSystemPluginCssResources(List<IFormResource> cssSystemPluginResources)
Deprecated.- Specified by:
setSystemPluginCssResourcesin interfaceIFormRenderContext
-
getSystemPluginJsResources
@Deprecated public List<IFormResource> getSystemPluginJsResources()
Deprecated.- Specified by:
getSystemPluginJsResourcesin interfaceIFormRenderContext
-
setSystemPluginJsResources
@Deprecated public void setSystemPluginJsResources(List<IFormResource> jsSystemPluginResources)
Deprecated.- Specified by:
setSystemPluginJsResourcesin interfaceIFormRenderContext
-
getSystemPluginResourceMap
public Map<EFormResourceType,List<IFormResource>> getSystemPluginResourceMap()
- Specified by:
getSystemPluginResourceMapin interfaceIFormRenderContext
-
setSystemPluginResourceMap
public void setSystemPluginResourceMap(Map<EFormResourceType,List<IFormResource>> resMap)
- Specified by:
setSystemPluginResourceMapin interfaceIFormRenderContext
-
getSystemPluginResources
public List<IFormResource> getSystemPluginResources(EFormResourceType type)
- Specified by:
getSystemPluginResourcesin interfaceIFormRenderContext
-
getThemeTextbaustein
@Deprecated public Textbaustein getThemeTextbaustein()
Deprecated.Description copied from interface:IFormRenderContextGets thetext templatewith the CSS content to be used as the theme for the form.- Specified by:
getThemeTextbausteinin interfaceIFormRenderContext- Returns:
- The text template with the theme CSS.
-
setThemeTextbaustein
@Deprecated public void setThemeTextbaustein(Textbaustein themeTextbaustein)
Deprecated.Description copied from interface:IFormRenderContextSets thetext templatewith the CSS content to be used as the theme for the form.- Specified by:
setThemeTextbausteinin interfaceIFormRenderContext- Parameters:
themeTextbaustein- The text template with the theme CSS.
-
getUrlParamMap
@Deprecated public Map<String,List<String>> getUrlParamMap()
Deprecated.- Specified by:
getUrlParamMapin interfaceIFormRenderContext
-
getUrlParameter
public Map<String,List<String>> getUrlParameter()
- Specified by:
getUrlParameterin interfaceIFormRenderContext
-
setUrlParameter
public void setUrlParameter(Map<String,List<String>> urlParameter)
- Specified by:
setUrlParameterin interfaceIFormRenderContext
-
getUser
@Deprecated public Benutzer getUser()
Deprecated.- Specified by:
getUserin interfaceIFormRenderContext
-
setUser
@Deprecated public void setUser(Benutzer user)
Deprecated.- Specified by:
setUserin interfaceIFormRenderContext
-
getUserContext
public UserContext getUserContext()
- Specified by:
getUserContextin interfaceIFormRenderContext
-
setUserContext
public void setUserContext(UserContext userContext)
- Specified by:
setUserContextin interfaceIFormRenderContext
-
getUserGroups
public List<BenutzerGruppe> getUserGroups()
- Specified by:
getUserGroupsin interfaceIFormRenderContext
-
setUserGroups
@Deprecated public void setUserGroups(List<BenutzerGruppe> userGroups)
Deprecated.- Specified by:
setUserGroupsin interfaceIFormRenderContext
-
getUserModel
public IUser getUserModel()
- Specified by:
getUserModelin interfaceIFormRenderContext
-
setUserModel
public void setUserModel(IUser user)
- Specified by:
setUserModelin interfaceIFormRenderContext
-
getUserPortal
public UserPortal getUserPortal()
- Specified by:
getUserPortalin interfaceIFormRenderContext
-
getUserProfile
@Deprecated public org.pac4j.core.profile.CommonProfile getUserProfile()
Deprecated.- Specified by:
getUserProfilein interfaceIFormRenderContext
-
setUserProfile
@Deprecated public void setUserProfile(org.pac4j.core.profile.CommonProfile profile)
Deprecated.- Specified by:
setUserProfilein interfaceIFormRenderContext
-
getValuesMap
public Map<String,List<String[]>> getValuesMap()
- Specified by:
getValuesMapin interfaceIFormRenderContext
-
setValuesMap
public void setValuesMap(Map<String,List<String[]>> valuesMap)
- Specified by:
setValuesMapin interfaceIFormRenderContext
-
getVorgang
public Vorgang getVorgang()
- Specified by:
getVorgangin interfaceIFormRenderContext
-
setVorgang
public void setVorgang(Vorgang vorgang)
- Specified by:
setVorgangin interfaceIFormRenderContext
-
getWorkflowState
public WorkflowState getWorkflowState()
- Specified by:
getWorkflowStatein interfaceIFormRenderContext
-
setWorkflowState
public void setWorkflowState(WorkflowState workflowState)
- Specified by:
setWorkflowStatein interfaceIFormRenderContext
-
getXFormConfig
public IXFormRenderConfig getXFormConfig()
- Specified by:
getXFormConfigin interfaceIFormRenderContext
-
setXFormConfig
public void setXFormConfig(IXFormRenderConfig xFormConfig)
- Specified by:
setXFormConfigin interfaceIFormRenderContext
-
isExternal
public boolean isExternal()
- Specified by:
isExternalin interfaceIFormRenderContext
-
setExternal
public void setExternal(boolean isExternal)
- Specified by:
setExternalin interfaceIFormRenderContext
-
isHideRequiredHint
public boolean isHideRequiredHint()
- Specified by:
isHideRequiredHintin interfaceIFormRenderContext
-
setHideRequiredHint
public void setHideRequiredHint(boolean isHideRequiredHint)
- Specified by:
setHideRequiredHintin interfaceIFormRenderContext
-
isUsesNewWorkflow
public boolean isUsesNewWorkflow()
- Specified by:
isUsesNewWorkflowin interfaceIFormRenderContext
-
setUsesNewWorkflow
public void setUsesNewWorkflow(boolean usesNewWorkflow)
- Specified by:
setUsesNewWorkflowin interfaceIFormRenderContext
-
render
public String render() throws IOException, com.alibaba.fastjson.JSONException
Description copied from interface:IFormRenderContextrenders the context and returns the result asString- Specified by:
renderin interfaceIFormRenderContext- Returns:
- the rendered form as
String - Throws:
IOException- on errors while reading or rendering the formcom.alibaba.fastjson.JSONException- on errors while generating the formsJSONObject
-
render
public void render(IExtendedFormRequestContext requestCtx) throws IOException, com.alibaba.fastjson.JSONException
Description copied from interface:IFormRenderContextrenders the context to theHttpServletResponseof the givenIExtendedFormRequestContext- Specified by:
renderin interfaceIFormRenderContext- Parameters:
requestCtx-IExtendedFormRequestContextwhichHttpServletResponseshould be used- Throws:
IOException- on errors while reading or rendering the formcom.alibaba.fastjson.JSONException- on errors while generating the formsJSONObject
-
render
public void render(javax.servlet.http.HttpServletResponse response) throws IOException, com.alibaba.fastjson.JSONExceptionDescription copied from interface:IFormRenderContextrenders the context to the givenHttpServletResponse- Specified by:
renderin interfaceIFormRenderContext- Parameters:
response-HttpServletResponsewhich should be used- Throws:
IOException- on errors while reading or rendering the formcom.alibaba.fastjson.JSONException- on errors while generating the formsJSONObject
-
setClientPluginResources
public void setClientPluginResources(EFormResourceType type, List<IFormResource> resources)
- Specified by:
setClientPluginResourcesin interfaceIFormRenderContext
-
setClientResources
public void setClientResources(EFormResourceType type, List<MandantRessource> resources)
- Specified by:
setClientResourcesin interfaceIFormRenderContext
-
setHiddenInputParameters
public void setHiddenInputParameters(Map<String,String> hiddenInputParameters)
- Specified by:
setHiddenInputParametersin interfaceIFormRenderContext
-
setProjectResources
public void setProjectResources(EFormResourceType type, List<ProjektRessource> resources)
- Specified by:
setProjectResourcesin interfaceIFormRenderContext
-
setSystemPluginResources
public void setSystemPluginResources(EFormResourceType type, List<IFormResource> resources)
- Specified by:
setSystemPluginResourcesin interfaceIFormRenderContext
-
-