类 ResourceApiImpl
- java.lang.Object
-
- net.risesoft.api.v0.resource.ResourceApiImpl
-
- 所有已实现的接口:
ResourceApi
@Primary @Validated @RestController("v0ResourceApiImpl") @RequestMapping(value="/services/rest/resource", produces="application/json") @Deprecated public class ResourceApiImpl extends Object implements ResourceApi已过时。资源管理组件- 从以下版本开始:
- 9.6.0
- 作者:
- dingzhaojun, qinman, mengjuhua
- Date:
- 2022/2/10
-
-
构造器概要
构造器 构造器 说明 ResourceApiImpl()已过时。
-
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 net.risesoft.model.platform.ResourcecreateMenuResource(@NotBlank String resourceId, @NotBlank String resourceName, @NotBlank String parentResourceId, @NotBlank String customId)已过时。创建菜单资源net.risesoft.model.platform.ResourcefindByCustomIdAndParentId(@NotBlank String customId, @NotBlank String parentId, Integer resourceType)已过时。根据 customId 和 parentId 获取资源net.risesoft.model.platform.ResourcegetParentResource(@NotBlank String resourceId)已过时。获得指定资源的父资源net.risesoft.model.platform.ResourcegetResource(@NotBlank String resourceId)已过时。获得指定资源对象net.risesoft.model.platform.ResourcegetRootResourceBySystemName(@NotBlank String systemName)已过时。根据系统标识获取该系统的资源树的顶级节点List<net.risesoft.model.platform.Resource>listSubMenus(@NotBlank String resourceId)已过时。获取指定资源的子菜单资源List<net.risesoft.model.platform.Resource>listSubResources(@NotBlank String resourceId)已过时。获得指定资源的子资源
-
-
-
方法详细资料
-
createMenuResource
public net.risesoft.model.platform.Resource createMenuResource(@RequestParam("resourceId") @NotBlank @NotBlank String resourceId, @RequestParam("resourceName") @NotBlank @NotBlank String resourceName, @RequestParam("parentResourceId") @NotBlank @NotBlank String parentResourceId, @RequestParam("customId") @NotBlank @NotBlank String customId)已过时。创建菜单资源- 指定者:
createMenuResource在接口中ResourceApi- 参数:
resourceId- 资源idresourceName- 资源名称parentResourceId- 父资源idcustomId- 自定义id- 返回:
- Resource 新创建的资源对象
- 从以下版本开始:
- 9.6.0
-
findByCustomIdAndParentId
public net.risesoft.model.platform.Resource findByCustomIdAndParentId(@RequestParam("customId") @NotBlank @NotBlank String customId, @RequestParam("parentId") @NotBlank @NotBlank String parentId, @RequestParam("resourceType") Integer resourceType)已过时。根据 customId 和 parentId 获取资源- 指定者:
findByCustomIdAndParentId在接口中ResourceApi- 参数:
customId- 自定义标识parentId- 资源id- 返回:
- Resource 资源对象
- 从以下版本开始:
- 9.6.0
-
getParentResource
public net.risesoft.model.platform.Resource getParentResource(@RequestParam("resourceId") @NotBlank @NotBlank String resourceId)已过时。获得指定资源的父资源- 指定者:
getParentResource在接口中ResourceApi- 参数:
resourceId- 资源的唯一标识- 返回:
- Resource 父资源
- 从以下版本开始:
- 9.6.0
-
getResource
public net.risesoft.model.platform.Resource getResource(@RequestParam("resourceId") @NotBlank @NotBlank String resourceId)已过时。获得指定资源对象- 指定者:
getResource在接口中ResourceApi- 参数:
resourceId- 资源唯一标示- 返回:
- Resource 资源对象
- 从以下版本开始:
- 9.6.0
-
getRootResourceBySystemName
public net.risesoft.model.platform.Resource getRootResourceBySystemName(@RequestParam("systemName") @NotBlank @NotBlank String systemName)已过时。根据系统标识获取该系统的资源树的顶级节点- 指定者:
getRootResourceBySystemName在接口中ResourceApi- 参数:
systemName- 系统标识- 返回:
- Resource 资源节点
- 从以下版本开始:
- 9.6.0
-
listSubMenus
public List<net.risesoft.model.platform.Resource> listSubMenus(@RequestParam("resourceId") @NotBlank @NotBlank String resourceId)
已过时。获取指定资源的子菜单资源- 指定者:
listSubMenus在接口中ResourceApi- 参数:
resourceId- 资源id- 返回:
- List<Resource> 资源对象集合
- 从以下版本开始:
- 9.6.0
-
listSubResources
public List<net.risesoft.model.platform.Resource> listSubResources(@RequestParam("resourceId") @NotBlank @NotBlank String resourceId)
已过时。获得指定资源的子资源- 指定者:
listSubResources在接口中ResourceApi- 参数:
resourceId- 资源唯一标识- 返回:
- List<Resource> 资源对象集合
- 从以下版本开始:
- 9.6.0
-
-