This commit is contained in:
Athou
2013-04-09 09:03:52 +02:00
parent ea8a5def8c
commit 7b9bfeb816
8 changed files with 29 additions and 3 deletions

View File

@@ -9,6 +9,7 @@ import com.google.common.collect.Lists;
public class Entries implements Serializable {
private String name;
private String message;
private int errorCount;
private List<Entry> entries = Lists.newArrayList();
public String getName() {
@@ -35,4 +36,12 @@ public class Entries implements Serializable {
this.message = message;
}
public int getErrorCount() {
return errorCount;
}
public void setErrorCount(int errorCount) {
this.errorCount = errorCount;
}
}

View File

@@ -55,6 +55,7 @@ public class EntriesREST extends AbstractREST {
if (subscription != null) {
entries.setName(subscription.getTitle());
entries.setMessage(subscription.getFeed().getMessage());
entries.setErrorCount(subscription.getFeed().getErrorCount());
List<FeedEntryStatus> unreadEntries = feedEntryStatusService
.getStatuses(subscription.getFeed(), getUser(),