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 TypeMethodDescriptionlongdeleteByRoleIdInAndPermission(Collection<String> roleIds, String permission) booleanexistsByRoleIdAndPermission(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, 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, 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
-
findByRoleIdIn
-
existsByRoleIdAndPermission
-
deleteByRoleIdInAndPermission
-
findByPermission
-