Package
cn.sparrow.permission.repository
Interface UrlRepository
- All Superinterfaces:
-
org.springframework.data.repository.CrudRepository<SparrowUrl,String>
,org.springframework.data.jpa.repository.JpaRepository<SparrowUrl,String>
,org.springframework.data.repository.PagingAndSortingRepository<SparrowUrl,String>
,org.springframework.data.repository.query.QueryByExampleExecutor<SparrowUrl>
,org.springframework.data.repository.Repository<SparrowUrl,String>
public interface
UrlRepository
extends org.springframework.data.jpa.repository.JpaRepository<SparrowUrl,String>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteByIdIn(String[] ids)
findByClientId(String clientId)
findByClientIdAndPermission(String clientId, UrlPermissionEnum permission)
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findOne
-
Method Details
-
findByClientId
-
findByClientIdAndPermission
-
deleteByIdIn
-