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 Type
    Method
    Description
    countByModelName​(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

      Long  countByModelNameAndUsername(String modelName, String username)
    • countByModelName

      Long  countByModelName(String modelName)
    • findAllByModelNameAndUsername

      List<T>  findAllByModelNameAndUsername(String modelName, String username)