Interface MessageRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<Message,​Long>, org.springframework.data.jpa.repository.JpaRepository<Message,​Long>, org.springframework.data.repository.PagingAndSortingRepository<Message,​Long>, org.springframework.data.repository.query.QueryByExampleExecutor<Message>, org.springframework.data.repository.Repository<Message,​Long>

    @Repository
    public interface MessageRepository
    extends org.springframework.data.jpa.repository.JpaRepository<Message,​Long>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      List<Message> findByConversationIdAndIdGreaterThan​(Long conversationId, Long id)  
      • 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 Detail

      • findByConversationIdAndIdGreaterThan

        List<Message> findByConversationIdAndIdGreaterThan​(Long conversationId,
                                                           Long id)