类的使用
net.sohelp.boot.admin.core.exceptions.EntityException
使用EntityException的程序包
程序包
说明
-
net.sohelp.boot.demo.web.login中EntityException的使用
-
net.sohelp.boot.demo.web.system.log中EntityException的使用
-
net.sohelp.boot.demo.web.system.param中EntityException的使用
修饰符和类型方法说明保存系统变量分类(新增或更新)新增或更新系统常量参数保存或更新用户系统变量信息 若传入参数中包含有效ID则执行更新操作;否则视为新增。 -
net.sohelp.boot.demo.web.system.role中EntityException的使用
-
net.sohelp.boot.demo.web.system.tenant中EntityException的使用
-
net.sohelp.boot.demo.web.system.user中EntityException的使用
-
net.sohelp.boot.dev.web.dev.application中EntityException的使用
修饰符和类型方法说明ApplicationController.disable(ApplicationVO applicationVO) 禁用应用接口 该接口用于禁用指定的应用,通过将应用的disabled属性设置为false来实现ApplicationController.enable(ApplicationVO applicationVO) 启用应用接口 通过传入应用信息,启用指定的应用,并更新application.json文件中的disabled字段为true -
net.sohelp.boot.dev.web.dev.db中EntityException的使用
-
net.sohelp.boot.dev.web.dev.entity中EntityException的使用
-
net.sohelp.boot.dev.web.dev.module中EntityException的使用
-
net.sohelp.boot.dev.web.dev.module.service中EntityException的使用
-
net.sohelp.boot.dev.web.ops.oauth2中EntityException的使用
修饰符和类型方法说明启用或禁用指定的OAuth2应用。根据条件分页查询OAuth2应用列表。OAuth2Controller.resetSecret(String appId) 重新生成并设置指定OAuth2应用的AppSecret。保存OAuth2账户信息。 -
net.sohelp.boot.dev.web.system.autocode中EntityException的使用
-
net.sohelp.boot.dev.web.system.config中EntityException的使用
-
net.sohelp.boot.dev.web.system.i18n中EntityException的使用
-
net.sohelp.boot.dev.web.system.log中EntityException的使用
-
net.sohelp.boot.dev.web.system.param中EntityException的使用
-
net.sohelp.boot.dev.web.system.role中EntityException的使用
-
net.sohelp.boot.dev.web.system.tenant中EntityException的使用
-
net.sohelp.boot.dev.web.system.user中EntityException的使用
修饰符和类型方法说明UserController.getSetting(String id) 获取用户的个性化设置信息。保存用户的权限信息 包括更新用户权限类型,并根据权限范围插入具体的权限数据UserController.updateSetting(Map<String, Object> paramMap) 更新用户的个性化设置项。UserController.updateStatus(Map<String, Object> paramMap) 修改用户的状态(启用/禁用)。 -
net.sohelp.boot.engine.db中EntityException的使用
修饰符和类型方法说明voidEntityHelper.formatByInsert(String entity, Map<String, Object> dataMap) 通过插入方式格式化实体数据voidEntityHelper.saveEntity(EntityVO entityVO) 保存实体信息并刷新缓存 -
net.sohelp.boot.engine.db.cache中EntityException的使用
-
net.sohelp.boot.engine.db.service中EntityException的使用
修饰符和类型方法说明void自动生成代码(默认提交事务)。void根据实体定义的自动编号规则,为指定实体的属性生成唯一编号,并填充到数据映射中。void删除实体void删除实体配置voidEntityDataService.formatByInsert(String entity, Map<String, Object> dataMap) 根据实体定义对单条记录进行插入前的格式化处理。根据实体名称获取实体信息,使用默认数据源根据数据源和实体名称获取实体信息EntityDataService.getDefaultValueByEntity(String entity) 获取指定实体的所有默认值。EntityService.getDefaultValueByEntity(String name) 获取实体默认值获取实体void发布实体void发布指定数据源的实体void发布实体void保存实体void保存实体 -
net.sohelp.boot.engine.web中EntityException的使用
修饰符和类型方法说明void根据给定的引用ID和业务对象,创建或更新业务实体。ModuleHelper.getEntityForm(String refid) 根据引用ID获取实体表单信息根据引用ID获取网格视图对象初始化方法,用于初始化并返回一个包含业务实体数据的Map根据模块ID和参数分页查询数据根据外键分页查询数据void保存数据到数据库CrudHelper.saveFormByCrudUpdater(String entityName, Map<String, Object> recordMap) 通过CRUD更新器保存表单数据CrudHelper.saveGrid(String entityName, String fkName, Object fkValue, CrudUpdaterVO crudUpdaterVO) 通过CRUD更新器批量保存网格数据(支持增删改操作)CrudHelper.saveGrid(String entityName, CrudUpdaterVO crudUpdaterVO) 通过CRUD更新器保存网格数据根据引用ID和参数映射查询实体数据列表void更新模块数据SohelpFilter.where()构建查询条件过滤器,从请求参数中获取refid并初始化参数映射。方案过滤方案过滤 -
net.sohelp.boot.engine.web.controller中EntityException的使用
修饰符和类型方法说明自动生成代码功能ApiResult<?> EngineCrudController.create(com.alibaba.fastjson.JSONObject jsonObject) 创建单据接口 该接口用于创建新的单据,通过传入包含单据信息的JSON对象来实现单据的创建操作。获取模块初始化数据 该接口用于根据模块地址获取相应的初始化数据,并进行权限验证。分页查询接口 该接口用于根据传入的参数进行分页查询,并返回查询结果。根据外键分页查询数据接口 该接口通过传入包含外键和其他查询条件的参数Map,分页查询并返回相关数据ApiResult<?> EngineCrudController.save(com.alibaba.fastjson.JSONObject jsonObject) 保存数据接口 该接口用于保存通过JSON对象传递的数据,并进行权限验证。实体表单保存接口 该接口用于保存实体表单数据,根据传入的refid找到对应的模块和实体, 并校验表单字段后保存表单数据。保存实体表单数据 该接口用于接收前端传来的表单数据,并根据数据内容保存或更新对应的实体表单配置。ModuleGridController.saveGridFilterField(Map<String, Object> dataMap) 保存网格筛选字段 该接口用于保存用户设置的网格筛选字段,其他方案和排序不保存。ModuleGridController.saveGridFilterKeywords(Map<String, Object> dataMap) 保存网格筛选关键字 仅保存关键字筛选,其他方案和过滤字段不保存ModuleGridController.saveGridFilterScheme(Map<String, Object> dataMap) 保存网格筛选方案 该接口用于保存用户设置的网格筛选方案,只保存筛选方案,不保存其他排序和过滤设置。ModuleGridController.saveGridFilterSort(Map<String, Object> dataMap) 保存网格筛选排序接口 该接口用于保存用户设置的网格筛选和排序条件,不保存其他方案和过滤字段。ModuleGridController.saveGridList(Map<String, Object> dataMap) 保存网格列表接口 该接口用于保存用户提交的网格列表数据,根据refid获取相关信息并更新或创建网格数据。ApiResult<?> EngineCrudController.update(com.alibaba.fastjson.JSONObject jsonObject) 单据更新接口 用于更新单据信息,并进行权限验证和保存操作。ModuleGridController.updateCommonConfig(Map<String, Object> dataMap) 更新通用配置接口 该接口用于更新网格列表的通用配置,包括属性显示、宽度、锁定等设置。 -
net.sohelp.boot.engine.web.report中EntityException的使用
-
net.sohelp.boot.engine.web.service中EntityException的使用
修饰符和类型方法说明EntityFormService.buildFormByEntity(String appName, String moduleName, String name, EntityVO entityVO) 根据实体对象构建表单视图对象 该方法将实体对象转换为表单视图对象,设置表单的基本属性, 处理字段的插入权限,并管理表单数据的持久化存储。FormService.buildFormByEntity(String appName, String moduleName, String name, EntityVO entityVO) 根据实体对象构建表单视图对象EntityGridService.buildGridByEntity(String appName, String moduleName, String aliasName, EntityVO entityVO) 根据实体对象创建网格视图对象(GridVO)根据所有实体生成i18n中文国际化voidReportService.create(ReportRefVO reportRefVO) 创建报表引用EntityFormService.getEntityForm(String datasource, String entityName) 获取实体表单对象ModuleService.getEntityForm(String aliasName, ModuleVO moduleVO) 根据引用ID获取对应的表单视图对象EntityGridService.getEntityGrid(String datasource, String entityName) 获取实体网格对象获取指定应用模块的表单信息ModuleService.listEntityForm(ModuleVO moduleVO) 根据模块信息获取关联的实体表单列表