RoleRepository
角色仓储接口
定义角色数据的查询与持久化操作
Author
lishangbu
Since
2025/08/20
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun insertIfAbsent(entity: Role, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Role
open fun insertIfAbsent(input: Input<Role>, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Role
Link copied to clipboard
按条件查询角色实体列表,并抓取菜单与权限点。
Link copied to clipboard
按条件查询角色实体列表,并抓取菜单
Link copied to clipboard
按条件查询角色列表,并抓取菜单
Link copied to clipboard
按 ID 查询角色视图
Link copied to clipboard
按条件分页查询角色,并抓取菜单
Link copied to clipboard
open fun <V : View<Role>> save(entity: Role, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): V
open fun <V : View<Role>> save(input: Input<Role>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): V
open fun save(entity: Role, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Role
open fun save(input: Input<Role>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Role
open fun <V : View<Role>> save(entity: Role, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit?): V
open fun save(entity: Role, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<Role>, block: KSaveCommandPartialDsl.() -> Unit?): Role
Link copied to clipboard
open fun saveCommand(entity: Role, block: KSaveCommandDsl.() -> Unit?): KSimpleEntitySaveCommand<Role>
open fun saveCommand(input: Input<Role>, block: KSaveCommandDsl.() -> Unit?): KSimpleEntitySaveCommand<Role>
open fun saveCommand(entity: Role, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KSimpleEntitySaveCommand<Role>
open fun saveCommand(input: Input<Role>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KSimpleEntitySaveCommand<Role>
Link copied to clipboard
open fun <V : View<Role>> saveEntities(entities: Iterable<Role>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): List<V>
open fun saveEntities(entities: Iterable<Role>, fetcher: Fetcher<Role>, block: KSaveCommandDsl.() -> Unit?): List<Role>
open fun saveEntities(entities: Iterable<Role>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): List<Role>
Link copied to clipboard
open fun saveEntitiesCommand(entities: Iterable<Role>, block: KSaveCommandDsl.() -> Unit?): KBatchEntitySaveCommand<Role>
open fun saveEntitiesCommand(entities: Iterable<Role>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KBatchEntitySaveCommand<Role>
Link copied to clipboard
open fun <V : View<Role>> saveInputs(inputs: Iterable<Input<Role>>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): List<V>
open fun saveInputs(inputs: Iterable<Input<Role>>, fetcher: Fetcher<Role>, block: KSaveCommandDsl.() -> Unit?): List<Role>
open fun saveInputs(inputs: Iterable<Input<Role>>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): List<Role>
Link copied to clipboard
open fun saveInputsCommand(input: Iterable<Input<Role>>, block: KSaveCommandDsl.() -> Unit?): KBatchEntitySaveCommand<Role>
open fun saveInputsCommand(inputs: Iterable<Input<Role>>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KBatchEntitySaveCommand<Role>