2013-07-02 18:07:08 +02:00
|
|
|
package com.commafeed.backend.cache;
|
|
|
|
|
|
|
|
|
|
import java.util.Collections;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
import com.commafeed.backend.model.Feed;
|
2013-07-25 10:21:11 +02:00
|
|
|
import com.commafeed.backend.model.FeedSubscription;
|
2013-07-02 18:07:08 +02:00
|
|
|
import com.commafeed.backend.model.User;
|
2013-07-25 10:38:23 +02:00
|
|
|
import com.commafeed.frontend.model.Category;
|
2013-08-08 17:00:35 +02:00
|
|
|
import com.commafeed.frontend.model.UnreadCount;
|
2013-07-02 18:07:08 +02:00
|
|
|
|
|
|
|
|
public class NoopCacheService extends CacheService {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public List<String> getLastEntries(Feed feed) {
|
|
|
|
|
return Collections.emptyList();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void setLastEntries(Feed feed, List<String> entries) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
2013-08-08 17:00:35 +02:00
|
|
|
public UnreadCount getUnreadCount(FeedSubscription sub) {
|
2013-07-02 18:07:08 +02:00
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
2013-08-08 17:00:35 +02:00
|
|
|
public void setUnreadCount(FeedSubscription sub, UnreadCount count) {
|
2013-07-02 18:07:08 +02:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
2013-07-25 10:38:23 +02:00
|
|
|
public void invalidateUnreadCount(FeedSubscription... subs) {
|
2013-07-25 10:21:11 +02:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
2013-07-25 10:38:23 +02:00
|
|
|
public Category getUserRootCategory(User user) {
|
2013-07-25 10:21:11 +02:00
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
2013-07-25 10:38:23 +02:00
|
|
|
public void setUserRootCategory(User user, Category category) {
|
2013-07-25 10:21:11 +02:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
2013-07-25 10:38:23 +02:00
|
|
|
public void invalidateUserRootCategory(User... users) {
|
2013-07-03 12:42:01 +02:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2013-07-02 18:07:08 +02:00
|
|
|
}
|