Interface RolePermissionRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<RolePermission,
,String> org.springframework.data.jpa.repository.JpaRepository<RolePermission,
,String> org.springframework.data.jpa.repository.JpaSpecificationExecutor<RolePermission>
,org.springframework.data.repository.ListCrudRepository<RolePermission,
,String> org.springframework.data.repository.ListPagingAndSortingRepository<RolePermission,
,String> org.springframework.data.repository.PagingAndSortingRepository<RolePermission,
,String> org.springframework.data.repository.query.QueryByExampleExecutor<RolePermission>
,org.springframework.data.repository.Repository<RolePermission,
String>
@Repository
public interface RolePermissionRepository
extends org.springframework.data.jpa.repository.JpaRepository<RolePermission,String>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<RolePermission>
-
Method Summary
Modifier and TypeMethodDescriptionlong
deleteByRoleIdInAndPermission
(Collection<String> roleIds, String permission) boolean
existsByRoleIdAndPermission
(String roleId, String permission) findByPermission
(String permission) findByRoleIdIn
(Collection<String> roleIds) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, 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
-
findByRoleIdIn
-
existsByRoleIdAndPermission
-
deleteByRoleIdInAndPermission
-
findByPermission
-