类的使用
net.sohelp.boot.admin.core.exceptions.BusiException
使用BusiException的程序包
程序包
说明
-
net.sohelp.boot.admin.core.aspect中BusiException的使用
-
net.sohelp.boot.admin.core.db中BusiException的使用
-
net.sohelp.boot.admin.core.service.application中BusiException的使用
修饰符和类型方法说明根据应用名称获取应用信息void保存应用信息 -
net.sohelp.boot.admin.core.service.file中BusiException的使用
修饰符和类型方法说明void根据文件ID删除单个文件及其数据库记录void批量删除多个文件及其对应的数据库记录void删除指定模块中的某个文件。boolean判断指定模块中的文件是否存在。SohelpFileService.getFile(long fileId) 根据文件ID获取文件对象获取指定模块中某文件的File对象。SohelpFileUploadService.getFileInfo(String moduleName, String fileName) 获取指定模块中文件的基本信息。SohelpFileDownloadService.getFileStream(String moduleName, String fileName) 根据模块名和文件名获取文件输入流SohelpFileUploadService.getInputStream(String moduleName, String fileName) 获取指定模块中某文件的输入流对象。void提供文件在线预览功能,将指定文件通过 HTTP 流方式返回给客户端进行展示byte[]读取指定模块下文件的全部字节内容void重命名指定ID的文件名称longSohelpFileService.upload(String refid, org.springframework.web.multipart.MultipartFile multipartFile) 上传业务文件longSohelpFileService.upload(SohelpFileTypeEnum sohelpFileTypeEnum, String refid, org.springframework.web.multipart.MultipartFile multipartFile) 上传文件并保存到服务器及数据库中booleanSohelpFileUploadService.upload(String moduleName, String fileName, InputStream inputStream) 将输入流保存到指定模块下的文件中。 -
net.sohelp.boot.admin.core.service.login中BusiException的使用
修饰符和类型方法说明booleanLoginService.changePassword(String loginName, String newPassword, String oldPassword) 修改用户密码voidLoginService.checkPasswordExpire(String loginName) 检查用户密码是否已过期,过期则强制要求更换(抛出异常)booleanLoginService.forceChangePwd(String loginName, String newPassword) 强制修改用户密码(密码过期场景,无需提供旧密码)booleanLoginService.updateUser(Map<String, Object> userMap) 更新用户基本信息boolean根据用户、密码、租户验证用户身份,并执行等保登录失败处理机制boolean根据用户和密码验证用户身份(忽略租户),并执行等保登录失败处理机制 -
net.sohelp.boot.admin.core.service.notice中BusiException的使用
修饰符和类型方法说明booleanWxgzhNoticeService.checkSignature(String signature, String timestamp, String nonce) 验证来自微信服务器的签名合法性WxgzhNoticeService.getCodeTicket(String expireSecond, int sceneInt) 创建带有整数场景值的临时二维码票据WxgzhNoticeService.getCodeTicket(String expireSecond, String sceneStr) 创建带有字符串场景值的临时二维码票据WxgzhNoticeService.getSuccessUrl()获取授权成功后跳转页面URL地址cn.hutool.json.JSONObjectQQNoticeService.getUserInfo(String code, String redirectUri) 根据授权码(code)获取QQ用户的详细信息 此方法会依次完成以下步骤: 1.cn.hutool.json.JSONObjectQywxNoticeService.getUserInfo(String code) 根据授权码(code)获取企业微信用户的基本信息void发送系统消息根据用户ID发送登录通知void发送验证码邮件,并将验证码缓存5分钟以供后续校验使用。WxgzhNoticeService.sendLoginMsg(String openId, String loginName, String message) 发送登录通知给指定用户void发送普通消息邮件。向指定的企业微信用户发送文本消息根据输入值获取对应的通知类型枚举根据传入的对象值获取对应的通知类型枚举 -
net.sohelp.boot.admin.core.service.resource中BusiException的使用
修饰符和类型方法说明添加配置资源创建配置资源创建新的资源文件voidISohelpBootResourceService.deleteBatch(String filePath) 批量删除配置资源voidSohelpBootResourceDBServiceImpl.deleteBatch(String filePath) 删除所有匹配的资源voidSohelpBootResourceFileServiceImpl.deleteBatch(String path) 批量删除指定路径下的资源文件voidISohelpBootResourceService.deleteByPath(String filePath) 删除配置资源voidSohelpBootResourceDBServiceImpl.deleteByPath(String filePath) 根据文件路径删除配置资源。voidSohelpBootResourceFileServiceImpl.deleteByPath(String path) 删除指定路径的资源文件<T> T根据路径获取对象<T> T根据路径获取对象void导入所有记录void从数据库导出所有文件资源信息void批量导入所有资源文件数据voidISohelpBootResourceService.renamePath(String srcFilePath, String newFilePath) 修改路径voidSohelpBootResourceDBServiceImpl.renamePath(String srcFilePath, String newFilePath) 修改路径voidSohelpBootResourceFileServiceImpl.renamePath(String srcFilePath, String newFilePath) 重命名资源文件路径保存配置资源保存配置资源保存配置资源。保存配置资源保存资源文件:若文件存在则更新,否则新增将表单数据保存到指定路径对应的资源文件中ISohelpBootResourceService.updateByPath(String filePath, String fileJson) 更新配置资源SohelpBootResourceDBServiceImpl.updateByPath(String filePath, String fileContent) 更新配置资源SohelpBootResourceFileServiceImpl.updateByPath(String path, String content) 更新已有资源文件的内容 -
net.sohelp.boot.admin.core.web中BusiException的使用
修饰符和类型方法说明SohelpPower.getSubUsers(long userId) 根据用户配置的数据权限类型,获取其下属用户列表(不包括自己)。构造一个SQL片段,表示当前用户及其下属用户的过滤条件。根据权限类型字符串获取对应范围的用户列表。SohelpPower.power(PowerTypeEnum powerTypeEnum, Map<String, Object> paramMap) 根据权限枚举类型获取对应范围的用户列表。 -
net.sohelp.boot.demo.core.advice中BusiException的使用
修饰符和类型方法说明GlobalExceptionAdvice.BusiException(BusiException e, jakarta.servlet.http.HttpServletResponse response) 处理业务逻辑异常(BusiException) -
net.sohelp.boot.demo.web.user中BusiException的使用
-
net.sohelp.boot.dev.web.code中BusiException的使用
修饰符和类型方法说明FormBuilderController.batchDelete(Map<String, Object> paramMap) 批量删除多个表的表单配置。GridBuilderController.batchDelete(Map<String, Object> paramMap) 批量删除多个表的网格配置文件 根据提供的数据源名称和一组表名,逐个删除其对应的配置文件。JavaBuilderController.batchDelete(Map<String, Object> paramMap) 批量删除指定数据源下的多个表对应的配置信息。ApiResult<?> CodeTemplateController.batchExport(List<String> names) 批量导出选中的模板为ZIP压缩包并提供下载CodeTemplateController.batchImport(org.springframework.web.multipart.MultipartFile file) 导入上传的ZIP格式模板压缩包,并解析其中的JSON模板文件存入系统中FormBuilderController.clearAll()清除所有已存在的表单配置。GridBuilderController.clearAll()清除所有的网格配置文件 删除 GRID_PATH 路径下所有以 /grid/*.json 结尾的配置文件。ApiResult<?> 删除指定名称的代码方案文件。ApiResult<?> 删除指定名称的模板文件删除指定表的表单配置。删除单个表的网格配置文件 根据给定的数据源名称和表名删除该表的配置文件。ApiResult<?> 根据指定路径获取单个代码方案详细信息。ApiResult<com.alibaba.fastjson.JSONObject> CodeConfigController.getConfig()获取已保存的开发配置信息初始化开发环境配置保存当前开发相关配置信息ApiResult<?> 保存模板配置信息。ApiResult<?> 保存或更新一个代码模板ApiResult<?> 上传单个模板文件并保存至资源服务中 -
net.sohelp.boot.dev.web.dashboard中BusiException的使用
-
net.sohelp.boot.dev.web.dev.application中BusiException的使用
修饰符和类型方法说明ApplicationController.disable(ApplicationVO applicationVO) 禁用应用接口 该接口用于禁用指定的应用,通过将应用的disabled属性设置为false来实现ApplicationController.enable(ApplicationVO applicationVO) 启用应用接口 通过传入应用信息,启用指定的应用,并更新application.json文件中的disabled字段为true -
net.sohelp.boot.dev.web.dev.busi中BusiException的使用
修饰符和类型方法说明添加新业务接口 该接口用于添加新的业务信息,包括应用名称、模块名称、业务类型和业务名称等, 并将这些信息保存到指定的JSON文件中。删除指定的业务资源 通过接收包含应用名、模块名和业务名的数据集合,删除对应的业务资源更新应用模块业务信息接口 该接口用于更新指定应用下的模块业务信息,通过接收一个包含业务信息的Map对象进行更新。 -
net.sohelp.boot.dev.web.dev.db中BusiException的使用
修饰符和类型方法说明DatasourceController.save(DatasourceVO datasourceVO) 保存数据源信息 根据传入的DatasourceVO对象保存或更新数据源信息,并返回操作结果。 -
net.sohelp.boot.dev.web.dev.entity中BusiException的使用
修饰符和类型方法说明EntityFormController.batchDelete(Map<String, Object> paramMap) 批量删除数据源中的表单数据 该接口用于批量删除指定数据源中的一个或多个表单数据,通过传入数据源名称和表单名称列表进行删除操作。EntityGridController.batchDelete(Map<String, Object> paramMap) 批量删除数据 该接口用于批量删除指定数据源下的多个表数据,通过接收一个包含数据源名称和表名列表的参数对象来实现。EntityFormController.clearAll()清空所有配置 该接口用于清空所有配置,通过删除指定路径下的所有配置文件实现EntityGridController.clearAll()清空所有配置 该接口用于清空所有配置,通过遍历指定路径下的所有配置资源, 并删除符合特定命名规则的配置文件来实现清空操作。删除表单配置接口 该接口用于删除指定数据源下的表单配置批量删除列表配置 根据传入的数据源名称和表名称,删除对应的列表配置 -
net.sohelp.boot.dev.web.dev.module中BusiException的使用
-
net.sohelp.boot.dev.web.dev.module.service中BusiException的使用
-
net.sohelp.boot.dev.web.dev.report中BusiException的使用
修饰符和类型方法说明添加报表接口 该接口用于添加一个新的报表,需要传入包含应用名称、模块名称、报表类型和报表名称等信息的Map对象。删除指定的报表文件 该接口接收一个包含多个报表信息的列表,根据每个报表信息中的appName、moduleName和name拼接文件路径,并删除对应的报表文件。更新报表信息接口 该接口用于更新指定应用下的模块报表信息,包括报表名称、备注、类型等。 -
net.sohelp.boot.dev.web.dev.workflow中BusiException的使用
修饰符和类型方法说明删除指定实体的流程配置 通过接收包含实体名称和数据源名称的JSON数据,删除对应的流程配置文件WorkFlowController.deploy(com.alibaba.fastjson.JSONObject body) 部署工作流 根据传入的参数部署工作流,并返回部署的流程ID获取工作流配置 根据数据源和实体名称获取对应的工作流配置信息WorkFlowController.saveConfig(WorkflowVO workflowVO) 保存工作流配置 该接口用于保存工作流配置信息,包括实体名称、数据源名称以及工作流JSON等。 -
net.sohelp.boot.dev.web.ops.updater中BusiException的使用
-
net.sohelp.boot.dev.web.user中BusiException的使用
-
net.sohelp.boot.engine.db中BusiException的使用
修饰符和类型方法说明voidEntityHelper.executeAfterEvent(String entity, Map<String, Object> dataMap) 在事件发生后执行相关操作(当前实现实际调用的是事件发生前的执行方法,需确认是否为设计意图)voidEntityHelper.executeBeforeEvent(String entity, Map<String, Object> dataMap) 在事件发生前执行相关操作(当前实现实际调用的是事件发生后的操作,可能存在命名或逻辑错误)void批量执行指定实体的公式计算voidEntityHelper.executeFormula(String entity, Map<String, Object> dataMap) 执行指定实体的公式计算void通过插入方式格式化实体数据voidEntityHelper.formatByInsert(String entity, Map<String, Object> dataMap) 通过插入方式格式化实体数据void根据查询条件格式化实体数据voidEntityHelper.formatByQuery(String entity, Map<String, Object> dataMap) 根据查询条件格式化实体数据void根据报表格式化实体数据voidEntityHelper.formatByReport(String entity, Map<String, Object> dataMap) 根据报表格式化实体数据void通过更新方式格式化实体数据voidEntityHelper.formatByUpdate(String entity, Map<String, Object> dataMap) 根据更新操作格式化实体数据void根据实体验证数据 -
net.sohelp.boot.engine.db.service中BusiException的使用
修饰符和类型方法说明voidEntityDataService.executeAfterEvent(String entity, Map<String, Object> dataMap) 在实体操作之后执行后置脚本事件。voidEntityDataService.executeBeforeEvent(String entity, Map<String, Object> dataMap) 在实体操作之前执行预设脚本事件。void根据实体定义对多条记录进行查询前的格式化处理。voidEntityDataService.formatByQuery(String entity, Map<String, Object> dataMap) 根据实体定义对单条记录进行查询前的格式化处理。void根据报表格式化数据voidEntityDataService.formatByReport(String entity, Map<String, Object> dataMap) 根据报表格式化数据voidEntityDataService.formatByUpdate(String entity, Map<String, Object> dataMap) 根据实体定义对单条记录进行更新前的格式化处理。void根据实体定义的公式对多条记录进行计算处理。void根据实体定义的公式对单条记录进行计算处理。void对传入的数据进行校验,确保其符合实体定义的约束条件。 -
net.sohelp.boot.engine.web中BusiException的使用
修饰符和类型方法说明voidWorkflowHelper.agree(String refid, String businessId, long tenantId, long loginId, String userName, Map<String, Object> dataMap) 执行工作流审批同意操作void根据给定的引用ID和业务对象,创建或更新业务实体。void删除指定引用ID对应的数据记录获取指定模块下的业务实体详情根据给定的引用ID和ID获取对应的对象数据ModuleHelper.getEntityForm(String refid) 根据引用ID获取实体表单信息ModuleHelper.getEntityRef(String refid) 根据引用ID获取实体引用对象根据引用ID获取网格视图对象初始化方法,用于初始化并返回一个包含业务实体数据的Map根据模块ID和参数分页查询数据根据外键分页查询数据voidWorkflowHelper.reject(String refid, String businessId, long tenantId, long loginId, String userName, Map<String, Object> dataMap) 拒绝工作流任务 该方法用于拒绝指定业务ID的工作流任务,会验证业务ID、模块地址等参数的有效性, 并检查相关实体和任务是否存在,最后执行拒绝操作并更新流程变量。void保存数据到数据库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更新器保存网格数据void保存网格数据voidModuleHelper.saveLayout(String refid, LayoutVO layoutVO) 保存布局信息根据引用ID和参数映射查询实体数据列表void更新模块数据boolean验证用户权限和令牌有效性boolean验证用户对指定模块的访问权限SohelpFilter.where()构建查询条件过滤器,从请求参数中获取refid并初始化参数映射。方案过滤方案过滤 -
net.sohelp.boot.engine.web.controller中BusiException的使用
修饰符和类型方法说明加签接口 该接口用于为指定任务添加加签用户,即将任务分配给其他用户进行处理。EngineWorkflowController.agree(org.springframework.web.multipart.MultipartFile[] files, Map<String, Object> dataMap) 同意通过工作流任务 该接口用于处理工作流中的同意通过操作,需要传入相关数据和文件。自动生成代码功能EngineWorkflowController.batchAgree(org.springframework.web.multipart.MultipartFile[] files, Map<String, Object> dataMap) 批量同意通过任务 该接口用于批量同意通过指定的任务,需要传入任务ID和其他相关参数。EngineWorkflowController.batchReject(org.springframework.web.multipart.MultipartFile[] files, Map<String, Object> dataMap) 批量拒绝(不同意)审批请求 该接口允许用户一次性对多个任务进行拒绝操作,通过传入任务ID列表和拒绝理由来执行。结束终止流程 该接口用于结束或终止指定的流程任务,需要传入任务ID确认导入接口 该接口用于确认导入操作,通过传入的refid进行地址和模块操作权限的验证。ApiResult<?> EngineCrudController.create(com.alibaba.fastjson.JSONObject jsonObject) 创建单据接口 该接口用于创建新的单据,通过传入包含单据信息的JSON对象来实现单据的创建操作。委派任务给其他同事处理指量单据删除接口 该接口用于删除指量单据,支持单个或多个ID删除,并验证用户操作权限。文件删除接口 根据提供的文件ID和引用ID删除文件,并验证用户操作权限删除操作接口 接收refid参数,解析后调用服务层执行删除操作。获取指定记录的详细信息 通过refid和id获取对应记录的详细信息,并封装成ApiResult返回文件下载接口 用于根据提供的refid和fileName下载文件批量导出接口(3.2.3合规)文件下载接口 根据提供的文件ID下载对应文件,如果文件不存在或没有权限则返回失败信息。voidEngineExportController.downloadByToken(String token) 凭临时Token下载导出文件(3.2.3合规)根据ID获取数据 通过指定的refid和id从数据库中获取对应的数据,并封装成ApiResult返回根据模块地址和业务ID获取我的待办任务列表EngineWorkflowController.getProcess(String refid, String id) 获取流程详情 根据提供的refid和id获取流程实例的详细信息,包括已完成的任务列表、待办任务列表以及流程模型内容。根据refid和业务ID获取流程实例的任务信息(包括已办、待办任务及流程节点配置)获取导出历史接口 该接口用于获取指定引用ID的导入历史记录获取导入历史接口 该接口用于获取指定引用ID的导入历史记录获取打印历史接口 该接口用于获取指定引用ID的导入历史记录图片预览接口 根据提供的文件ID和可选的引用ID,预览指定的图片文件。获取模块初始化数据 该接口用于根据模块地址获取相应的初始化数据,并进行权限验证。跳到指定工作流节点 该接口用于根据提供的任务ID和节点Key跳转到工作流中的指定节点退回发起人 该接口用于将工作流程任务退回给发起人,通过任务ID定位具体任务并执行退回操作。EngineWorkflowController.jumpPrevious(Map<String, Object> dataMap) 退回工作流到上一步 该接口用于将指定任务ID的工作流退回到上一步操作根据refid获取报告列表 解析传入的refid参数,并根据解析结果从服务层获取对应的报告信息列表。根据应用获取列表 该接口通过应用ID获取对应的列表数据分页查询接口 该接口用于根据传入的参数进行分页查询,并返回查询结果。分页显示我的所有任务 该接口通过分页的方式返回所有任务的详细信息,包括任务ID、任务名称、任务关键字等。获取我的抄送任务列表 通过传入的查询参数,分页查询抄送任务列表,并关联查询任务实例的详细信息。EngineWorkflowController.pageByDelegate(Map<String, Object> dataMap) 获取我的代办任务列表 该接口用于获取当前用户代办的任务列表,通过传入的查询条件进行分页查询。根据外键分页查询数据接口 该接口通过传入包含外键和其他查询条件的参数Map,分页查询并返回相关数据ApiResult<?> EngineWorkflowController.pageByTodo(Map<String, Object> dataMap) 分页显示我的待办事项 该接口用于分页查询当前登录用户的待办事项,包括任务名称、任务类型等相关信息,并返回查询结果。NoticeController.pageLetter()分页查询用户信件 根据用户ID和是否已读状态分页查询用户信件,并返回结果NoticeController.pageNotice()获取我的通知 该接口用于分页查询当前登录用户的系统通知,包括通知标题、是否已读等信息,并按ID降序排列。NoticeController.pageTodo()分页查询待办事项 该接口用于分页查询当前登录用户的待办事项,通过构建SQL查询语句,从数据库中获取待办事项列表,并进行格式化处理后返回。文件预览接口 用于预览指定ID的文件,支持多种文件类型,如PDF等。批量导入数据预览接口 该接口用于通过指定的refid和fileName参数进行数据导入操作的预览。获取导入进度接口 根据提供的refid和fileId获取导入的进度信息ApiResult<com.alibaba.fastjson.JSONObject> ModuleCustomController.readEntityForm(String refid) 读取用户个性化实体表单 根据提供的refid读取用户个性化实体表单数据,并返回结果ApiResult<com.alibaba.fastjson.JSONObject> ModuleCustomController.readEntityLayout(String refid) 读取用户个性化实体布局 该接口用于根据用户提供的refid读取对应的个性化实体布局信息。ApiResult<com.alibaba.fastjson.JSONObject> 读取用户个性化模块数据 通过传入的refid参数,读取并返回用户个性化模块的数据ApiResult<com.alibaba.fastjson.JSONObject> ModuleCustomController.readLayout(String refid) 读取用户个性化布局接口 该接口用于根据用户提供的refid读取用户的个性化布局信息ApiResult<com.alibaba.fastjson.JSONObject> ModuleCustomController.readModule(String refid) 读取用户个性化模块 根据传入的refid读取用户个性化模块信息撤回或拿回已通过的任务 该接口用于用户撤回或拿回自己已经通过的任务,通过实例ID定位具体任务并进行撤回操作EngineWorkflowController.reject(org.springframework.web.multipart.MultipartFile[] files, Map<String, Object> dataMap) 拒绝(不同意)审批请求 该接口用于处理审批流程中的拒绝操作,用户可以通过此接口提交拒绝理由及相关信息,系统会进行相应处理并更新审批状态。EngineWorkflowController.removeSign(Map<String, Object> dataMap) 减签接口 该接口用于处理减签操作,根据传入的任务ID和用户列表,将指定用户从任务中移除。文件重命名接口 该接口用于对指定文件进行重命名操作恢复导入接口 该接口用于处理恢复导入的操作,通过接收包含refid的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获取相关信息并更新或创建网格数据。NoticeController.sendMessage(Map<String, Object> dataMap) 发送用户消息接口 向指定用户发送消息,支持多终端实时推送。ApiResult<?> EngineCrudController.update(com.alibaba.fastjson.JSONObject jsonObject) 单据更新接口 用于更新单据信息,并进行权限验证和保存操作。ModuleGridController.updateCommonConfig(Map<String, Object> dataMap) 更新通用配置接口 该接口用于更新网格列表的通用配置,包括属性显示、宽度、锁定等设置。文件上传接口 用于上传一个或多个文件,并返回上传文件的ID列表上传文件接口 该接口用于处理文件上传功能,包括验证地址、模块操作权限以及实际上传文件操作。处理文件上传请求。 -
net.sohelp.boot.engine.web.report中BusiException的使用
修饰符和类型方法说明通过API获取报表数据根据数据集名称和参数从MagicAPI获取数据根据测试条件从指定数据集获取数据根据数据源名称和数据集名称获取数据根据数据集名称和内容获取字段列表根据字段映射关系重新组织数据列表 -
net.sohelp.boot.engine.web.service中BusiException的使用
修饰符和类型方法说明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)void复制指定应用和模块到新的应用和模块voidReportService.create(ReportRefVO reportRefVO) 创建报表引用void删除指定路径下的资源voidEntityFormService.deleteEntityForm(String datasource, String entityName) 删除实体表单voidFormCustomService.deleteEntityFormByPublic(long userId, String datasource, String entityName) 根据用户ID、数据源和实体名称删除实体表单voidFormCustomService.deleteEntityFormByUser(long userId, String datasource, String entityName) 根据用户ID、数据源和实体名称删除对应的实体表单。voidGridCustomService.deleteEntityGridByPublic(long userId, String datasource, String entityName) 根据用户ID、数据源和实体名称删除实体网格voidGridCustomService.deleteEntityGridByUser(long userId, String datasource, String entityName) 根据用户ID、数据源和实体名称删除实体网格voidFormService.deleteForm(String appName, String moduleName, String name) 删除指定应用模块的实体表单voidGridService.deleteGrid(String appName, String moduleName, String gridName) 删除网格布局文件voidGridCustomService.deleteGridByPublic(String appName, String moduleName, String gridName) 根据应用名称、模块名称和网格名称删除公共网格。voidGridCustomService.deleteGridByUser(long userId, String appName, String moduleName, String layoutName) 根据用户ID删除网格布局voidLayoutService.deleteLayout(String appName, String moduleName, String name) 删除指定应用的布局文件voidLayoutCustomService.deleteLayoutByPublic(String appName, String moduleName, String layoutName) 根据公共布局名称删除对应的布局voidLayoutService.deleteLayoutByRefId(String refid) 根据refid删除布局voidLayoutCustomService.deleteLayoutByUser(long userId, String appName, String moduleName, String layoutName) 根据用户ID、应用名称、模块名称和布局名称删除对应的布局文件WorkflowService.getActorByNext(Object instanceId) 获取下一个任务处理人IDEntityFormService.getEntityForm(String datasource, String entityName) 获取实体表单对象ModuleService.getEntityForm(String aliasName, ModuleVO moduleVO) 根据引用ID获取对应的表单视图对象EntityGridService.getEntityGrid(String datasource, String entityName) 获取实体网格对象ModuleService.getEntityRef(String refid) 根据引用ID获取实体引用对象 通过refid找到指定的EntityRefVOModuleService.getEntityRef(String aliasName, ModuleVO moduleVO) 根据别名从模块中获取实体引用对象获取指定应用模块的表单信息根据应用名称、模块名称和网格名称获取网格信息根据引用ID获取布局信息根据应用名称、模块名称和布局名称获取布局信息。com.alibaba.fastjson.JSONObjectLayoutCustomService.getLayoutByUser(long userId, String appName, String moduleName, String gridName) 根据用户ID、应用名称、模块名称和网格名称获取布局根据引用ID获取模块信息根据应用名称和模块名称获取模块信息ModuleService.getModuleByUUID(String moduleUUID) 根据模块UUID获取模块信息ModuleService.getPrimaryEntityRef(ModuleVO moduleVO) 根据模块ID获取主要实体引用信息WorkflowService.getTaskIdByInstanceId(long instanceId) 根据实例 ID 获取当前的任务 IDWorkflowService.getWorkflow(String datasource, String entityName) 根据数据源和实体名称获取对应的工作流配置ModuleService.listEntityForm(ModuleVO moduleVO) 根据模块信息获取关联的实体表单列表EntityGridService.listEntityGrid(ModuleVO moduleVO) 列出实体网格配置ModuleService.listForeignKeyEntityRef(ModuleVO moduleVO) 根据引用ID获取外键实体引用LayoutService.listLayout(String appName, String moduleName) 根据应用名和模块名列出布局信息WorkflowService.listWorkflow(ModuleVO moduleVO) 根据模块信息获取关联的工作流列表void移动模块到新的应用下void删除指定应用和模块下的资源文件void重命名模块void将指定应用下的模块另存为新模块voidEntityFormService.saveEntityForm(String datasource, String entityName, FormVO formVO) 保存实体表单数据voidFormCustomService.saveEntityFormByPublic(String datasource, String entityName, com.alibaba.fastjson.JSONObject jsonObject) 通过公共数据源保存实体表单voidFormCustomService.saveEntityFormByUser(long userId, String datasource, String entityName, com.alibaba.fastjson.JSONObject jsonObject) 根据用户ID、数据源和实体名称保存实体表单voidEntityGridService.saveEntityGrid(String datasource, String entityName, GridVO gridVO) 保存实体网格配置到指定路径voidGridCustomService.saveEntityGridByPublic(String datasource, String entityName, com.alibaba.fastjson.JSONObject jsonObject) 保存公司个性化实体表单voidGridCustomService.saveEntityGridByUser(long userId, String datasource, String entityName, com.alibaba.fastjson.JSONObject jsonObject) 根据用户ID、数据源和实体名称保存实体网格数据voidWorkflowCustomService.saveEntityWorkflowByPublic(String datasource, String entityName, com.alibaba.fastjson.JSONObject jsonObject) 根据公共数据源和实体名称保存实体工作流信息void保存表单数据void保存网格数据到指定路径voidGridCustomService.saveGridByPublic(String appName, String moduleName, String gridName, GridVO GridVO) 通过公共路径保存网格数据voidGridCustomService.saveGridByUser(long userId, String appName, String moduleName, String gridName, com.alibaba.fastjson.JSONObject jsonObject) 根据用户ID、应用名称、模块名称和网格名称保存网格数据voidLayoutService.saveLayout(String refid, com.alibaba.fastjson.JSONObject jsonObject) 保存布局voidLayoutService.saveLayout(String appName, String moduleName, String layoutName, com.alibaba.fastjson.JSONObject jsonObject) 删除布局文件并保存新的布局内容voidLayoutService.saveLayout(String appName, String moduleName, String layoutName, LayoutVO layoutVO) 保存布局信息voidLayoutService.saveLayout(String refid, LayoutVO layoutVO) voidLayoutCustomService.saveLayoutByPublic(String appName, String moduleName, String gridName, LayoutVO layoutVO) 将布局信息保存到公共路径voidLayoutCustomService.saveLayoutByUser(long userId, String appName, String moduleName, String gridName, com.alibaba.fastjson.JSONObject jsonObject) 根据用户ID、应用名称、模块名称和网格名称保存布局配置voidModuleService.saveModule(ModuleVO moduleVO) 保存模块信息到指定文件路径voidWorkflowService.saveWorkflow(String datasource, String entityName, com.alibaba.fastjson.JSONObject jsonObject) 保存实体的工作流信息void更新报表内容 -
net.sohelp.boot.engine.web.utils中BusiException的使用
修饰符和类型方法说明static RefVORefUtil.getModuleRef(String refid) 根据引用ID获取模块引用信息static RefVO验证refid的有效性static RefVORefUtil.parseRefid(String refid) 将refid字符串解析为RefVO对象限定查看数据范围,根据权限类型过滤数据