类 FormCustomService
java.lang.Object
net.sohelp.boot.engine.web.service.FormCustomService
自定义表单服务
- 从以下版本开始:
- 2025/11/12 13:05
- 作者:
- AaronFung
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voiddeleteEntityFormByPublic(long userId, String datasource, String entityName) 根据用户ID、数据源和实体名称删除实体表单voiddeleteEntityFormByUser(long userId, String datasource, String entityName) 根据用户ID、数据源和实体名称删除对应的实体表单。com.alibaba.fastjson.JSONObjectgetEntityFormByPublic(String datasource, String entityName) 根据数据源和实体名称获取公共实体表单的JSONObject对象com.alibaba.fastjson.JSONObjectgetEntityFormByUser(long userId, String datasource, String entityName) 根据用户ID、数据源和实体名称获取实体表单voidsaveEntityFormByPublic(String datasource, String entityName, com.alibaba.fastjson.JSONObject jsonObject) 通过公共数据源保存实体表单voidsaveEntityFormByUser(long userId, String datasource, String entityName, com.alibaba.fastjson.JSONObject jsonObject) 根据用户ID、数据源和实体名称保存实体表单
-
构造器详细资料
-
FormCustomService
public FormCustomService()
-
-
方法详细资料
-
saveEntityFormByPublic
public void saveEntityFormByPublic(String datasource, String entityName, com.alibaba.fastjson.JSONObject jsonObject) throws BusiException, SQLException 通过公共数据源保存实体表单- 参数:
datasource- 数据源名称entityName- 实体名称jsonObject- 包含表单数据的 JSON 对象- 抛出:
BusiException- 业务异常SQLException- SQL 异常
-
saveEntityFormByUser
public void saveEntityFormByUser(long userId, String datasource, String entityName, com.alibaba.fastjson.JSONObject jsonObject) throws BusiException, SQLException 根据用户ID、数据源和实体名称保存实体表单- 参数:
userId- 用户IDdatasource- 数据源entityName- 实体名称jsonObject- JSON对象,包含要保存的表单数据- 抛出:
BusiException- 业务异常SQLException- SQL异常
-
getEntityFormByUser
public com.alibaba.fastjson.JSONObject getEntityFormByUser(long userId, String datasource, String entityName) 根据用户ID、数据源和实体名称获取实体表单- 参数:
userId- 用户IDdatasource- 数据源名称entityName- 实体名称- 返回:
- 包含实体表单信息的JSONObject对象
-
getEntityFormByPublic
根据数据源和实体名称获取公共实体表单的JSONObject对象- 参数:
datasource- 数据源名称entityName- 实体名称- 返回:
- 返回包含公共实体表单的JSONObject对象
-
deleteEntityFormByUser
public void deleteEntityFormByUser(long userId, String datasource, String entityName) throws BusiException 根据用户ID、数据源和实体名称删除对应的实体表单。- 参数:
userId- 用户IDdatasource- 数据源entityName- 实体名称- 抛出:
BusiException- 如果删除过程中出现业务异常,则抛出此异常
-
deleteEntityFormByPublic
public void deleteEntityFormByPublic(long userId, String datasource, String entityName) throws BusiException 根据用户ID、数据源和实体名称删除实体表单- 参数:
userId- 用户IDdatasource- 数据源entityName- 实体名称- 抛出:
BusiException- 业务异常
-