Interface SuggestionNotificationRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<SuggestionNotification,String>, org.springframework.data.elasticsearch.repository.ElasticsearchRepository<SuggestionNotification,String>, org.springframework.data.repository.PagingAndSortingRepository<SuggestionNotification,String>, org.springframework.data.repository.Repository<SuggestionNotification,String>

public interface SuggestionNotificationRepository extends org.springframework.data.elasticsearch.repository.ElasticsearchRepository<SuggestionNotification,String>
  • Method Details

    • findBySubscriptionId

      Iterable<SuggestionNotification> findBySubscriptionId(String subscriptionId)
    • findAll

      org.springframework.data.domain.Page<SuggestionNotification> findAll(org.springframework.data.domain.Pageable pageable)
      Specified by:
      findAll in interface org.springframework.data.repository.PagingAndSortingRepository<SuggestionNotification,String>
    • findByEventId

      org.springframework.data.domain.Page<SuggestionNotification> findByEventId(String topic, org.springframework.data.domain.Pageable pageable)
    • deleteByDateBefore

      long deleteByDateBefore(long date)
    • countBySubscriptionId

      long countBySubscriptionId(String subscriptionId)
    • countBySubscriptionIdAndDateAfter

      long countBySubscriptionIdAndDateAfter(String subscriptionId, long from)
    • deleteBySubscriptionId

      void deleteBySubscriptionId(String subscriptionId)
    • deleteByDateBetween

      long deleteByDateBetween(long from, long to)