Interface NotificationRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<Notification,​Long>, org.springframework.data.repository.PagingAndSortingRepository<Notification,​Long>, org.springframework.data.repository.Repository<Notification,​Long>

    @Repository
    public interface NotificationRepository
    extends org.springframework.data.repository.PagingAndSortingRepository<Notification,​Long>
    Author:
    FMARSLAN
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.springframework.data.domain.Page<Notification> findAllByUser​(long userId, org.springframework.data.domain.Pageable page)  
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, findAllById, findById, save, saveAll
      • Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

        findAll, findAll
    • Method Detail

      • findAllByUser

        org.springframework.data.domain.Page<Notification> findAllByUser​(long userId,
                                                                         org.springframework.data.domain.Pageable page)