类 ModuleCustomController
java.lang.Object
net.sohelp.boot.admin.core.base.BaseController
net.sohelp.boot.engine.web.controller.ModuleCustomController
@RestController("engine-web-module-custom")
@RequestMapping("/engine/web/module/custom")
@ConditionalOnExpression("${sohelp-boot.engine.enabled:true} && ${sohelp-boot.engine.module.enabled:true}")
public class ModuleCustomController
extends BaseController
用户个性化布局界面
- 从以下版本开始:
- 2024/12/21 10:36
- 作者:
- AaronFung
-
字段概要
从类继承的字段 net.sohelp.boot.admin.core.base.BaseController
request, response -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明ApiResult<com.alibaba.fastjson.JSONObject> readEntityForm(String refid) 读取用户个性化实体表单 根据提供的refid读取用户个性化实体表单数据,并返回结果ApiResult<com.alibaba.fastjson.JSONObject> readEntityLayout(String refid) 读取用户个性化实体布局 该接口用于根据用户提供的refid读取对应的个性化实体布局信息。ApiResult<com.alibaba.fastjson.JSONObject> 读取用户个性化模块数据 通过传入的refid参数,读取并返回用户个性化模块的数据ApiResult<com.alibaba.fastjson.JSONObject> readLayout(String refid) 读取用户个性化布局接口 该接口用于根据用户提供的refid读取用户的个性化布局信息ApiResult<com.alibaba.fastjson.JSONObject> readModule(String refid) 读取用户个性化模块 根据传入的refid读取用户个性化模块信息从类继承的方法 net.sohelp.boot.admin.core.base.BaseController
error, error, fail, fail, fail, getLoginID, getLoginName, getLoginOrgID, getLoginOrgName, getLoginUser, getNickname, getTenantId, getUserName, getUserNo, i18n, i18n, isAdministrator, isDeveloper, limit, offset, ok, ok, response, response, responseStream, success, success, success, success, validateToken
-
构造器详细资料
-
ModuleCustomController
public ModuleCustomController()
-
-
方法详细资料
-
readGrid
@GetMapping("/readGrid") @Permission("") public ApiResult<com.alibaba.fastjson.JSONObject> readGrid(@RequestParam String refid) throws TokenAuthenticationException, BusiException, AccessPermissionException, SQLException 读取用户个性化模块数据 通过传入的refid参数,读取并返回用户个性化模块的数据- 参数:
refid- 用户个性化模块的引用ID,格式为"xxx/yyy/zzz!www",其中zzz和www分别表示模块和子模块- 返回:
- 返回包含用户个性化模块数据的ApiResult对象
- 抛出:
TokenAuthenticationException- 如果令牌认证失败,则抛出此异常BusiException- 如果业务处理过程中发生异常,则抛出此异常AccessPermissionException- 如果访问权限不足,则抛出此异常SQLException- 如果数据库访问过程中发生异常,则抛出此异常
-
readLayout
@GetMapping("/readLayout") @Permission("") public ApiResult<com.alibaba.fastjson.JSONObject> readLayout(@RequestParam String refid) throws TokenAuthenticationException, BusiException, SQLException, AccessPermissionException 读取用户个性化布局接口 该接口用于根据用户提供的refid读取用户的个性化布局信息- 参数:
refid- 用户提供的引用ID,包含布局信息的相关路径和模块- 返回:
- 返回包含用户个性化布局信息的JSONObject对象
- 抛出:
TokenAuthenticationException- 当令牌认证失败时抛出BusiException- 当业务逻辑处理出现异常时抛出SQLException- 当数据库操作出现异常时抛出AccessPermissionException- 当访问权限验证失败时抛出
-
readModule
@GetMapping("/readModule") @Permission("") public ApiResult<com.alibaba.fastjson.JSONObject> readModule(@RequestParam String refid) throws TokenAuthenticationException, BusiException, SQLException, AccessPermissionException 读取用户个性化模块 根据传入的refid读取用户个性化模块信息- 参数:
refid- 用户个性化模块的引用ID,格式为"xx/xx/xx!xx"- 返回:
- 返回包含模块信息的JSON对象
- 抛出:
TokenAuthenticationException- 如果令牌认证失败,则抛出此异常BusiException- 如果业务处理过程中发生异常,则抛出此异常SQLException- 如果数据库操作发生异常,则抛出此异常AccessPermissionException- 如果访问权限不足,则抛出此异常
-
readEntityForm
@GetMapping("/readEntityForm") @Permission("") public ApiResult<com.alibaba.fastjson.JSONObject> readEntityForm(@RequestParam String refid) throws TokenAuthenticationException, BusiException, SQLException, AccessPermissionException 读取用户个性化实体表单 根据提供的refid读取用户个性化实体表单数据,并返回结果- 参数:
refid- 表单引用ID,格式为"xxx/xxx/module!subModule"- 返回:
- ApiResult
包含实体表单数据的JSON对象 - 抛出:
TokenAuthenticationException- 如果令牌认证失败,则抛出此异常BusiException- 如果业务处理过程中发生异常,则抛出此异常SQLException- 如果数据库操作发生异常,则抛出此异常AccessPermissionException- 如果访问权限验证失败,则抛出此异常
-
readEntityLayout
@GetMapping("/readEntityLayout") @Permission("") public ApiResult<com.alibaba.fastjson.JSONObject> readEntityLayout(@RequestParam String refid) throws TokenAuthenticationException, BusiException, SQLException, AccessPermissionException 读取用户个性化实体布局 该接口用于根据用户提供的refid读取对应的个性化实体布局信息。- 参数:
refid- 用户提供的引用ID,用于定位具体的实体布局信息- 返回:
- 返回一个ApiResult对象,其中包含了JSONObject类型的实体布局信息
- 抛出:
TokenAuthenticationException- 如果令牌认证失败,则抛出此异常BusiException- 如果业务处理过程中发生异常,则抛出此异常SQLException- 如果数据库操作发生异常,则抛出此异常AccessPermissionException- 如果访问权限不足,则抛出此异常
-