public class EruptUtil extends Object
| 构造器和说明 |
|---|
EruptUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
checkEruptSearchNotnull(EruptModel eruptModel,
List<Condition> searchCondition) |
static void |
clearObjectDefaultValueByJson(Object obj,
com.google.gson.JsonObject data) |
static Object |
convertObjectType(EruptFieldModel eruptFieldModel,
Object obj) |
static Object |
dataTarget(EruptModel eruptModel,
Object data,
Object target,
SceneEnum sceneEnum) |
static OutputStream |
downLoadFile(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String fileName) |
static AttachmentProxy |
findAttachmentProxy()
获取附件上传代理器
|
static List<Condition> |
geneEruptSearchCondition(EruptModel eruptModel,
List<Condition> searchCondition) |
static Map<String,Object> |
generateEruptDataMap(EruptModel eruptModel,
Object obj) |
static List<VLModel> |
getChoiceList(ChoiceType choiceType) |
static Map<String,String> |
getChoiceMap(ChoiceType choiceType) |
static List<String> |
getTagList(TagsType tagsType) |
static boolean |
isDateField(String fieldType) |
static Object |
toEruptId(EruptModel eruptModel,
String id) |
static EruptApiModel |
validateEruptValue(EruptModel eruptModel,
com.google.gson.JsonObject jsonObject) |
public static Map<String,Object> generateEruptDataMap(EruptModel eruptModel, Object obj)
public static Map<String,String> getChoiceMap(ChoiceType choiceType)
public static List<VLModel> getChoiceList(ChoiceType choiceType)
public static Object convertObjectType(EruptFieldModel eruptFieldModel, Object obj)
public static List<Condition> geneEruptSearchCondition(EruptModel eruptModel, List<Condition> searchCondition)
public static void checkEruptSearchNotnull(EruptModel eruptModel, List<Condition> searchCondition)
public static EruptApiModel validateEruptValue(EruptModel eruptModel, com.google.gson.JsonObject jsonObject)
public static Object toEruptId(EruptModel eruptModel, String id)
public static Object dataTarget(EruptModel eruptModel, Object data, Object target, SceneEnum sceneEnum)
public static void clearObjectDefaultValueByJson(Object obj, com.google.gson.JsonObject data)
public static AttachmentProxy findAttachmentProxy()
public static boolean isDateField(String fieldType)
public static OutputStream downLoadFile(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String fileName)
Copyright © 2022. All rights reserved.