public class XItemUtil extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
XItemUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addItem(XItem item,
XForm form) |
static void |
fillXFormData(com.alibaba.fastjson.JSONObject persist,
XForm form) |
static HashMap<String,XItem> |
getItemsMap(com.alibaba.fastjson.JSONObject persist) |
static XItem |
getXItem(com.alibaba.fastjson.JSONObject jsonObject,
IXFormRenderConfig xRenderConfig)
Deprecated.
|
static XItem |
getXItem(com.alibaba.fastjson.JSONObject jsonObject,
IXFormRenderConfig xRenderConfig,
com.alibaba.fastjson.JSONObject version) |
@Deprecated public static XItem getXItem(com.alibaba.fastjson.JSONObject jsonObject, IXFormRenderConfig xRenderConfig)
getXItem(JSONObject, IXFormRenderConfig, JSONObject)
.jsonObject
- JSON object with the properties of the item.xRenderConfig
- Current render configuration of the form.public static XItem getXItem(com.alibaba.fastjson.JSONObject jsonObject, IXFormRenderConfig xRenderConfig, com.alibaba.fastjson.JSONObject version)
jsonObject
- JSON object with the properties of the item.xRenderConfig
- Current render configuration of the form.version
- Version of the form.public static void fillXFormData(com.alibaba.fastjson.JSONObject persist, XForm form) throws com.alibaba.fastjson.JSONException
com.alibaba.fastjson.JSONException
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.