store and expose entry categories (#727)

This commit is contained in:
Athou
2015-05-03 09:17:54 +02:00
parent e8769d09a8
commit efa38d5ee9
8 changed files with 26 additions and 1 deletions

View File

@@ -56,6 +56,7 @@ public class Entry implements Serializable {
entry.setAuthor(content.getAuthor());
entry.setEnclosureUrl(content.getEnclosureUrl());
entry.setEnclosureType(content.getEnclosureType());
entry.setCategories(content.getCategories());
}
return entry;
@@ -95,6 +96,9 @@ public class Entry implements Serializable {
@ApiModelProperty("entry content")
private String content;
@ApiModelProperty("comma-separated list of categories")
private String categories;
@ApiModelProperty("wether entry content and title are rtl")
private boolean rtl;