Skip to content

Commit

Permalink
XMessage data
Browse files Browse the repository at this point in the history
  • Loading branch information
surabhi-mahawar committed Jun 29, 2022
1 parent 8bd995f commit 55aee78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/uci/dao/repository/XMessageRepository.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public interface XMessageRepository extends ReactiveCassandraRepository<XMessage
Flux<XMessageDAO> findFirstByAppOrderByTimestampDesc(String appName);

@AllowFiltering
Flux<Slice<XMessageDAO>> findAllByUserId(Pageable pageable, String userID);
Flux<XMessageDAO> findAllByUserId(Pageable pageable, String userID);

Flux<XMessageDAO> findByMessageId(String messageID);

Expand Down Expand Up @@ -72,10 +72,10 @@ public interface XMessageRepository extends ReactiveCassandraRepository<XMessage
Flux<Slice<XMessageDAO>> findAllByUserIdAndFromId(Pageable paging, String userID, String fromID);

@AllowFiltering
Flux<Slice<XMessageDAO>> findAllByAppAndTimestampAfterAndTimestampBeforeAndProvider(Pageable paging, String name, Timestamp startDate, Timestamp endDate, String provider);
Mono<Slice<XMessageDAO>> findAllByAppAndTimestampAfterAndTimestampBeforeAndProvider(Pageable paging, String name, Timestamp startDate, Timestamp endDate, String provider);

@AllowFiltering
Flux<Slice<XMessageDAO>> findAllByUserIdAndTimestampAfterAndTimestampBeforeAndProvider(Pageable paging, String userId, Timestamp startDate, Timestamp endDate, String provider);
Mono<Slice<XMessageDAO>> findAllByUserIdAndTimestampAfterAndTimestampBeforeAndProvider(Pageable paging, String userId, Timestamp startDate, Timestamp endDate, String provider);
}


0 comments on commit 55aee78

Please sign in to comment.