Package cn.sparrow.permission.repository
Interface ModelPermissionRepository<T,ID>
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<T,ID>
,org.springframework.data.jpa.repository.JpaRepository<T,ID>
,org.springframework.data.repository.PagingAndSortingRepository<T,ID>
,org.springframework.data.repository.query.QueryByExampleExecutor<T>
,org.springframework.data.repository.Repository<T,ID>
@NoRepositoryBean public interface ModelPermissionRepository<T,ID> extends org.springframework.data.jpa.repository.JpaRepository<T,ID>
Method Summary
Modifier and TypeMethodDescriptioncountByModelName(String modelName)
countByModelNameAndUsername(String modelName, String username)
findAllByModelNameAndUsername(String modelName, String username)
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
countByModelNameAndUsername
countByModelName
findAllByModelNameAndUsername