MenuRepository
菜单仓储接口
定义菜单数据的查询与持久化操作
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
判断是否存在子菜单
Link copied to clipboard
open fun insertIfAbsent(entity: Menu, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Menu
open fun insertIfAbsent(input: Input<Menu>, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Menu
Link copied to clipboard
查询根节点菜单树
Link copied to clipboard
按角色编码列表查询授权菜单视图
Link copied to clipboard
按 ID 查询菜单视图
Link copied to clipboard
open fun <V : View<Menu>> save(entity: Menu, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): V
open fun <V : View<Menu>> save(input: Input<Menu>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): V
open fun save(entity: Menu, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Menu
open fun save(input: Input<Menu>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Menu
open fun <V : View<Menu>> save(entity: Menu, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit?): V
open fun save(entity: Menu, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<Menu>, block: KSaveCommandPartialDsl.() -> Unit?): Menu
Link copied to clipboard
open fun saveCommand(entity: Menu, block: KSaveCommandDsl.() -> Unit?): KSimpleEntitySaveCommand<Menu>
open fun saveCommand(input: Input<Menu>, block: KSaveCommandDsl.() -> Unit?): KSimpleEntitySaveCommand<Menu>
open fun saveCommand(entity: Menu, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KSimpleEntitySaveCommand<Menu>
open fun saveCommand(input: Input<Menu>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KSimpleEntitySaveCommand<Menu>
Link copied to clipboard
open fun <V : View<Menu>> saveEntities(entities: Iterable<Menu>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): List<V>
open fun saveEntities(entities: Iterable<Menu>, fetcher: Fetcher<Menu>, block: KSaveCommandDsl.() -> Unit?): List<Menu>
open fun saveEntities(entities: Iterable<Menu>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): List<Menu>
Link copied to clipboard
open fun saveEntitiesCommand(entities: Iterable<Menu>, block: KSaveCommandDsl.() -> Unit?): KBatchEntitySaveCommand<Menu>
open fun saveEntitiesCommand(entities: Iterable<Menu>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KBatchEntitySaveCommand<Menu>
Link copied to clipboard
open fun <V : View<Menu>> saveInputs(inputs: Iterable<Input<Menu>>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): List<V>
open fun saveInputs(inputs: Iterable<Input<Menu>>, fetcher: Fetcher<Menu>, block: KSaveCommandDsl.() -> Unit?): List<Menu>
open fun saveInputs(inputs: Iterable<Input<Menu>>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): List<Menu>
Link copied to clipboard
open fun saveInputsCommand(input: Iterable<Input<Menu>>, block: KSaveCommandDsl.() -> Unit?): KBatchEntitySaveCommand<Menu>
open fun saveInputsCommand(inputs: Iterable<Input<Menu>>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KBatchEntitySaveCommand<Menu>