diff --git a/spring-social-zotero/src/main/java/org/springframework/social/zotero/api/Data.java b/spring-social-zotero/src/main/java/org/springframework/social/zotero/api/Data.java index 24aa9bf..198be13 100644 --- a/spring-social-zotero/src/main/java/org/springframework/social/zotero/api/Data.java +++ b/spring-social-zotero/src/main/java/org/springframework/social/zotero/api/Data.java @@ -47,6 +47,7 @@ public class Data { private List tags; private List collections; private int deleted; + private int hidden; public String getKey() { return key; @@ -288,4 +289,10 @@ public int getDeleted() { public void setDeleted(int deleted) { this.deleted = deleted; } + public int getHidden() { + return hidden; + } + public void setHidden(int hidden) { + this.hidden = hidden; + } } diff --git a/spring-social-zotero/src/main/java/org/springframework/social/zotero/api/Item.java b/spring-social-zotero/src/main/java/org/springframework/social/zotero/api/Item.java index 279f1d8..584250f 100644 --- a/spring-social-zotero/src/main/java/org/springframework/social/zotero/api/Item.java +++ b/spring-social-zotero/src/main/java/org/springframework/social/zotero/api/Item.java @@ -41,7 +41,6 @@ public Meta getMeta() { public void setMeta(Meta meta) { this.meta = meta; } - public boolean isMetaDataNote() { if (this.data.getItemType().equals(ZOTERO_NOTE_KEY) && this.data.getTags().stream().anyMatch(tag -> tag.getTag().equals(CITESPHERE_METADATA_TAG))) {