Package com.bytedesk.core.rbac.authority
Interface AuthorityRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<AuthorityEntity,
,Long> org.springframework.data.jpa.repository.JpaRepository<AuthorityEntity,
,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<AuthorityEntity>
,org.springframework.data.repository.ListCrudRepository<AuthorityEntity,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<AuthorityEntity,
,Long> org.springframework.data.repository.PagingAndSortingRepository<AuthorityEntity,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<AuthorityEntity>
,org.springframework.data.repository.Repository<AuthorityEntity,
Long>
@Repository
public interface AuthorityRepository
extends org.springframework.data.jpa.repository.JpaRepository<AuthorityEntity,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<AuthorityEntity>
- Author:
- im.bytedesk.com
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteById
(Long id) boolean
existsById
(Long id) existsByValue
(String value) findByName
(String code) findByValue
(String value) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, findById, save
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findBy, findOne
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByUid
-
findByName
-
findByValue
-
existsByValue
-
existsById
- Specified by:
existsById
in interfaceorg.springframework.data.repository.CrudRepository<AuthorityEntity,
Long>
-
deleteById
- Specified by:
deleteById
in interfaceorg.springframework.data.repository.CrudRepository<AuthorityEntity,
Long>
-