接口 SourceRepository

  • 所有超级接口:
    org.springframework.data.repository.CrudRepository<SourceEntity,​Long>, org.springframework.data.repository.PagingAndSortingRepository<SourceEntity,​Long>, org.springframework.data.repository.Repository<SourceEntity,​Long>

    public interface SourceRepository
    extends org.springframework.data.repository.PagingAndSortingRepository<SourceEntity,​Long>
    • 方法详细资料

      • findAllByUserOrPublishIsTrue

        org.springframework.data.domain.Page<SourceEntity> findAllByUserOrPublishIsTrue​(UserEntity user,
                                                                                        org.springframework.data.domain.Pageable pageable)
      • countByUserOrPublishIsTrue

        Long countByUserOrPublishIsTrue​(UserEntity user)