Package de.xima.fc.mdl.form
Class FormRenderData
- java.lang.Object
-
- de.xima.fc.mdl.form.FormRenderData
-
- All Implemented Interfaces:
Serializable
public class FormRenderData extends Object implements Serializable
Class with data for an form-render-request- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormRenderData()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Map<EFormResourceType,List<IFormResource>>
getClientPluginResourceMap()
List<IFormResource>
getClientPluginResources(EFormResourceType type)
Map<EFormResourceType,List<MandantRessource>>
getClientResourceMap()
List<MandantRessource>
getClientResources(EFormResourceType type)
List<IFormResource>
getCssMandantPluginResources()
Deprecated, for removal: This API element is subject to removal in a future version.List<MandantRessource>
getCssMandantResources()
Deprecated.List<ProjektRessource>
getCssProjektResources()
Deprecated, for removal: This API element is subject to removal in a future version.List<IFormResource>
getCssSystemPluginResources()
Deprecated, for removal: This API element is subject to removal in a future version.IFormDataAdapter
getFormData()
Map<EFormResourceType,List<IFormThemeResource>>
getFormThemResourceMap()
Gets the map with all resources from the form theme that was selected for the currently rendered form.List<Attachment>
getFormUploadList()
com.alibaba.fastjson.JSONObject
getI18nJson()
List<IFormResource>
getJsMandantPluginResources()
Deprecated, for removal: This API element is subject to removal in a future version.List<MandantRessource>
getJsMandantResources()
Deprecated, for removal: This API element is subject to removal in a future version.List<ProjektRessource>
getJsProjektResources()
Deprecated, for removal: This API element is subject to removal in a future version.List<IFormResource>
getJsSystemPluginResources()
Deprecated, for removal: This API element is subject to removal in a future version.Map<String,IPluginFormPreRenderRetVal>
getPreRenderPluginVals()
Map<EFormResourceType,List<ProjektRessource>>
getProjectResourceMap()
List<ProjektRessource>
getProjectResources(EFormResourceType type)
List<Status>
getProjektStatusList()
Map<EFormResourceType,List<IFormResource>>
getSystemPluginResourceMap()
List<IFormResource>
getSystemPluginResources(EFormResourceType type)
String
getThemeCss()
Deprecated, for removal: This API element is subject to removal in a future version.Themes are more than a single CSS file now.Set<String>
getThemeCssClasses()
Gets the additional CSS classes that should be added to the form, as indicated by the selected form theme.boolean
isLegacyUseOptionTextForAutocomplete()
boolean
isValidateSubmitAction()
void
setClientPluginResources(EFormResourceType type, List<IFormResource> resources)
void
setClientResources(EFormResourceType type, List<MandantRessource> resources)
void
setCssMandantPluginResources(List<IFormResource> cssMandantPluginResources)
Deprecated, for removal: This API element is subject to removal in a future version.void
setCssMandantResources(List<MandantRessource> cssMandantResources)
Deprecated, for removal: This API element is subject to removal in a future version.void
setCssProjektResources(List<ProjektRessource> cssProjektResources)
Deprecated, for removal: This API element is subject to removal in a future version.void
setCssSystemPluginResources(List<IFormResource> cssSystemPluginResources)
Deprecated, for removal: This API element is subject to removal in a future version.void
setFormData(IFormDataAdapter formData)
void
setFormUploadList(List<Attachment> formUploadList)
void
setI18nJson(com.alibaba.fastjson.JSONObject i18nJson)
void
setJsMandantPluginResources(List<IFormResource> jsMandantPluginResources)
Deprecated, for removal: This API element is subject to removal in a future version.void
setJsMandantResources(List<MandantRessource> jsMandantResources)
Deprecated, for removal: This API element is subject to removal in a future version.void
setJsProjektResources(List<ProjektRessource> jsProjektResources)
Deprecated, for removal: This API element is subject to removal in a future version.void
setJsSystemPluginResources(List<IFormResource> jsSystemPluginResources)
Deprecated, for removal: This API element is subject to removal in a future version.void
setLegacyUseOptionTextForAutocomplete(boolean legacyUseOptionTextForAutocomplete)
void
setPreRenderPluginVals(Map<String,IPluginFormPreRenderRetVal> preRenderPluginVals)
void
setProjectResources(EFormResourceType type, List<ProjektRessource> resources)
void
setProjektStatusList(List<Status> projektStatusList)
void
setSystemPluginResources(EFormResourceType type, List<IFormResource> resources)
void
setThemeCss(String themeCss)
Deprecated, for removal: This API element is subject to removal in a future version.Themes are more than a single CSS file now.void
setThemeCssClasses(Set<String> themeCssClasses)
Sets the additional CSS classes that should be added to the form, as indicated by the selected form theme.void
setValidateSubmitAction(boolean validateSubmitAction)
-
-
-
Method Detail
-
getProjectResourceMap
public Map<EFormResourceType,List<ProjektRessource>> getProjectResourceMap()
-
getProjectResources
public List<ProjektRessource> getProjectResources(EFormResourceType type)
-
setProjectResources
public void setProjectResources(EFormResourceType type, List<ProjektRessource> resources)
-
getClientResourceMap
public Map<EFormResourceType,List<MandantRessource>> getClientResourceMap()
-
getClientResources
public List<MandantRessource> getClientResources(EFormResourceType type)
-
setClientResources
public void setClientResources(EFormResourceType type, List<MandantRessource> resources)
-
getClientPluginResourceMap
public Map<EFormResourceType,List<IFormResource>> getClientPluginResourceMap()
-
getClientPluginResources
public List<IFormResource> getClientPluginResources(EFormResourceType type)
-
setClientPluginResources
public void setClientPluginResources(EFormResourceType type, List<IFormResource> resources)
-
getFormThemResourceMap
public Map<EFormResourceType,List<IFormThemeResource>> getFormThemResourceMap()
Gets the map with all resources from the form theme that was selected for the currently rendered form.- Returns:
- All resources from the currently selected form theme.
-
getSystemPluginResourceMap
public Map<EFormResourceType,List<IFormResource>> getSystemPluginResourceMap()
-
getSystemPluginResources
public List<IFormResource> getSystemPluginResources(EFormResourceType type)
-
setSystemPluginResources
public void setSystemPluginResources(EFormResourceType type, List<IFormResource> resources)
-
getFormUploadList
public List<Attachment> getFormUploadList()
-
setFormUploadList
public void setFormUploadList(List<Attachment> formUploadList)
-
getI18nJson
public com.alibaba.fastjson.JSONObject getI18nJson()
-
setI18nJson
public void setI18nJson(com.alibaba.fastjson.JSONObject i18nJson)
-
getThemeCssClasses
public Set<String> getThemeCssClasses()
Gets the additional CSS classes that should be added to the form, as indicated by the selected form theme.- Returns:
- The additional CSS classes that should be added to the form.
- Since:
- 8.3.0
-
setThemeCssClasses
public void setThemeCssClasses(Set<String> themeCssClasses)
Sets the additional CSS classes that should be added to the form, as indicated by the selected form theme.- Parameters:
themeCssClasses
- The additional CSS classes that should be added to the form.- Since:
- 8.3.0
-
getThemeCss
@Deprecated(forRemoval=true, since="8.3.0") public String getThemeCss()
Deprecated, for removal: This API element is subject to removal in a future version.Themes are more than a single CSS file now. UsegetFormThemResourceMap()
.Gets the CSS from the form theme, to be included in the final form.- Returns:
- The CSS from the form theme.
-
setThemeCss
@Deprecated(forRemoval=true, since="8.3.0") public void setThemeCss(String themeCss)
Deprecated, for removal: This API element is subject to removal in a future version.Themes are more than a single CSS file now. UsegetFormThemResourceMap()
.Sets the CSS from the form theme, to be included in the final form.- Parameters:
themeCss
- The CSS from the form theme.
-
isValidateSubmitAction
public boolean isValidateSubmitAction()
-
isLegacyUseOptionTextForAutocomplete
public boolean isLegacyUseOptionTextForAutocomplete()
-
getPreRenderPluginVals
public Map<String,IPluginFormPreRenderRetVal> getPreRenderPluginVals()
-
setPreRenderPluginVals
public void setPreRenderPluginVals(Map<String,IPluginFormPreRenderRetVal> preRenderPluginVals)
-
getFormData
public IFormDataAdapter getFormData()
-
setFormData
public void setFormData(IFormDataAdapter formData)
-
getJsMandantResources
@Deprecated(forRemoval=true) public List<MandantRessource> getJsMandantResources()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setJsMandantResources
@Deprecated(forRemoval=true) public void setJsMandantResources(List<MandantRessource> jsMandantResources)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getCssMandantResources
@Deprecated public List<MandantRessource> getCssMandantResources()
Deprecated.
-
setCssMandantResources
@Deprecated(forRemoval=true) public void setCssMandantResources(List<MandantRessource> cssMandantResources)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getJsProjektResources
@Deprecated(forRemoval=true) public List<ProjektRessource> getJsProjektResources()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setJsProjektResources
@Deprecated(forRemoval=true) public void setJsProjektResources(List<ProjektRessource> jsProjektResources)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getCssProjektResources
@Deprecated(forRemoval=true) public List<ProjektRessource> getCssProjektResources()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setCssProjektResources
@Deprecated(forRemoval=true) public void setCssProjektResources(List<ProjektRessource> cssProjektResources)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getJsSystemPluginResources
@Deprecated(forRemoval=true) public List<IFormResource> getJsSystemPluginResources()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setJsSystemPluginResources
@Deprecated(forRemoval=true) public void setJsSystemPluginResources(List<IFormResource> jsSystemPluginResources)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getCssSystemPluginResources
@Deprecated(forRemoval=true) public List<IFormResource> getCssSystemPluginResources()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setCssSystemPluginResources
@Deprecated(forRemoval=true) public void setCssSystemPluginResources(List<IFormResource> cssSystemPluginResources)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getJsMandantPluginResources
@Deprecated(forRemoval=true) public List<IFormResource> getJsMandantPluginResources()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setJsMandantPluginResources
@Deprecated(forRemoval=true) public void setJsMandantPluginResources(List<IFormResource> jsMandantPluginResources)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getCssMandantPluginResources
@Deprecated(forRemoval=true) public List<IFormResource> getCssMandantPluginResources()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setCssMandantPluginResources
@Deprecated(forRemoval=true) public void setCssMandantPluginResources(List<IFormResource> cssMandantPluginResources)
Deprecated, for removal: This API element is subject to removal in a future version.
-
setValidateSubmitAction
public void setValidateSubmitAction(boolean validateSubmitAction)
-
setLegacyUseOptionTextForAutocomplete
public void setLegacyUseOptionTextForAutocomplete(boolean legacyUseOptionTextForAutocomplete)
-
-