@Component public class FormService extends Object
| 构造器和说明 |
|---|
FormService() |
| 限定符和类型 | 方法和说明 |
|---|---|
FormVO |
buildFormByEntity(String datasource,
EntityVO entityVO)
根据实体创建表单视图对象
|
void |
deleteEntityForm(String datasource,
String entityName)
删除实体表单
|
FormVO |
getEntityForm(String datasource,
String entityName)
获取实体表单对象
|
void |
saveEntityForm(String datasource,
String entityName,
FormVO formVO)
保存实体表单数据
|
public FormVO buildFormByEntity(String datasource, EntityVO entityVO) throws EntityException, BusiException, SQLException
datasource - 数据源entityVO - 实体名称EntityException - 如果实体不存在,则抛出异常BusiExceptionSQLExceptionpublic FormVO getEntityForm(String datasource, String entityName) throws BusiException, SQLException, EntityException
datasource - 数据源名称entityName - 实体名称BusiException - 业务异常SQLException - SQL异常EntityExceptionpublic void deleteEntityForm(String datasource, String entityName) throws BusiException
datasource - 数据源名称entityName - 实体名称BusiException - 业务异常public void saveEntityForm(String datasource, String entityName, FormVO formVO) throws BusiException, SQLException
datasource - 数据源名称entityName - 实体名称formVO - 表单数据对象BusiException - 业务异常SQLException - SQL异常Copyright © 2025. All rights reserved.