public interface RoleService extends IModelService<Role>
| 限定符和类型 | 方法和说明 |
|---|---|
Role |
findInCompByCode(String domain,
String code)
在指定子域内,根据代码查找
|
List<Role> |
getAll()
返回全部角色,超级管理员默认拥有全部角色
|
List<Role> |
getByCodeInComp(String codes)
返回当前租户授权模块内,指定代码的角色列表
|
List<com.jfinal.plugin.activerecord.Record> |
getByCodeInModule(String moduleIds,
String codes)
返回当前用户授权模块内,指定代码的角色列表
|
List<Role> |
getByComp()
返回当前租户授权模块内的所有角色
|
List<Role> |
getByModule(String moduleCode) |
void |
importJson(String domain,
String moduleCode)
初始化
|
void |
importJson(String domain,
String moduleCode,
String json)
JSON导入
|
int |
imports(String moduleCode,
File file,
boolean repeatCode)
Excel导入
|
able, batchSave, batchUpdate, deleteByCodes, deleteById, deleteByIda, deleteByIds, disable, disable, disableByIda, disableByIds, enable, enable, enableByIda, enableByIds, findByCode, findByCodea, findByCodes, findByDomain, findByDomainSingle, findById, findByIda, findByIds, paginate, paginate, removeRepeat, save, saveOrUpdate, select, select, select, select, select, select, select, select, selectAll, selectAll, selectAllBy, selectAllBy, selectCol, selectCol, selectCol, selectFirst, selectFirst, selectFirst, selectFirst, selectFirst, updateList<com.jfinal.plugin.activerecord.Record> getByCodeInModule(String moduleIds, String codes)
返回当前用户授权模块内,指定代码的角色列表
int imports(String moduleCode, File file, boolean repeatCode)
moduleCode - file - repeatCode - Role findInCompByCode(String domain, String code)
domain - code - Copyright © 2023. All rights reserved.