Package com.bytedesk.core.rbac.role
Interface RoleRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<RoleEntity,,Long> org.springframework.data.jpa.repository.JpaRepository<RoleEntity,,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<RoleEntity>,org.springframework.data.repository.ListCrudRepository<RoleEntity,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<RoleEntity,,Long> org.springframework.data.repository.PagingAndSortingRepository<RoleEntity,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<RoleEntity>,org.springframework.data.repository.Repository<RoleEntity,Long>
public interface RoleRepository
extends org.springframework.data.jpa.repository.JpaRepository<RoleEntity,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<RoleEntity>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery<T extends Object> -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteById(Long id) existsByNameAndLevel(String name, String level) existsByNameAndOrgUidAndDeletedFalse(String name, String orgUid) existsByUid(String uid) findByNameAndLevel(String name, String level) findByNameAndOrgUidAndDeletedFalse(String name, String orgUid) org.springframework.data.domain.Page<RoleEntity>findByOrgUidAndDeletedFalse(String orgUid, org.springframework.data.domain.Pageable pageable) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findAll, findBy, findOneMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByUid
-
findByNameAndLevel
-
findByNameAndOrgUidAndDeletedFalse
-
findByOrgUidAndDeletedFalse
org.springframework.data.domain.Page<RoleEntity> findByOrgUidAndDeletedFalse(String orgUid, org.springframework.data.domain.Pageable pageable) -
existsByNameAndOrgUidAndDeletedFalse
-
existsByNameAndLevel
-
deleteById
- Specified by:
deleteByIdin interfaceorg.springframework.data.repository.CrudRepository<RoleEntity,Long>
-
existsByUid
-