Class TwitterTweetStorage

java.lang.Object
io.meeds.twitter.gamification.storage.TwitterTweetStorage

@Repository public class TwitterTweetStorage extends Object
  • Constructor Details

    • TwitterTweetStorage

      public TwitterTweetStorage()
  • Method Details

    • addTweetToWatch

      public Tweet addTweetToWatch(Tweet tweet)
    • updateTweetReactions

      public Tweet updateTweetReactions(long tweetId, Set<String> likers, Set<String> retweeters)
    • getTweets

      public org.springframework.data.domain.Page<Tweet> getTweets(org.springframework.data.domain.Pageable pageable)
    • getTweets

      public List<Tweet> getTweets()
    • countTweets

      public long countTweets()
    • getTweetById

      public Tweet getTweetById(Long tweetId)
    • getTweetByLink

      public Tweet getTweetByLink(String tweetLink)
    • deleteTweet

      public Tweet deleteTweet(long tweetId)