avalon
Toggle table of contents
0.0.1-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
avalon
avalon-authorization
/
io.github.lishangbu.avalon.authorization.service
/
RoleService
Role
Service
interface
RoleService
角色服务
定义与角色相关的业务契约
Author
lishangbu
Since
2025/8/30
Inheritors
RoleServiceImpl
Members
Functions
get
By
Id
Link copied to clipboard
abstract
fun
getById
(
id
:
Long
)
:
Role
?
按 ID 查询角色
get
Page
By
Condition
Link copied to clipboard
abstract
fun
getPageByCondition
(
role
:
Role
,
pageable
:
Pageable
)
:
Page
<
Role
>
按条件分页查询角色
list
By
Condition
Link copied to clipboard
abstract
fun
listByCondition
(
role
:
Role
)
:
List
<
Role
>
按条件查询角色列表
remove
By
Id
Link copied to clipboard
abstract
fun
removeById
(
id
:
Long
)
按 ID 删除角色
save
Link copied to clipboard
abstract
fun
save
(
role
:
Role
)
:
Role
保存角色
update
Link copied to clipboard
abstract
fun
update
(
role
:
Role
)
:
Role
更新角色