aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/model
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-02-03 03:02:09 +0300
committerGravatar Vitaly Takmazov2023-02-03 03:39:43 +0300
commitfebad867a57cfa1ae33c83dd9c0ddf51a303eb03 (patch)
treed21e0c5f1f2d9d5356a26aaaf6651418bd34049c /src/main/java/com/juick/model
parent22aaf28c779725962a3ebec3e689bef35fe05085 (diff)
tag.isIgnored, tag.isSubscribed
Diffstat (limited to 'src/main/java/com/juick/model')
-rw-r--r--src/main/java/com/juick/model/Tag.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/main/java/com/juick/model/Tag.java b/src/main/java/com/juick/model/Tag.java
index 64469a69..9ddda315 100644
--- a/src/main/java/com/juick/model/Tag.java
+++ b/src/main/java/com/juick/model/Tag.java
@@ -45,6 +45,10 @@ public class Tag implements Comparable<Tag>, Serializable {
private boolean noindex;
@XmlTransient
private boolean notop;
+ @XmlTransient
+ private boolean subscribed;
+ @XmlTransient
+ private boolean ignored;
public Tag() {
// required for (de)serialization
@@ -108,4 +112,20 @@ public class Tag implements Comparable<Tag>, Serializable {
public void setHiddenFromTop(boolean notop) {
this.notop = notop;
}
+
+ public boolean isSubscribed() {
+ return subscribed;
+ }
+
+ public void setSubscribed(boolean subscribed) {
+ this.subscribed = subscribed;
+ }
+
+ public boolean isIgnored() {
+ return ignored;
+ }
+
+ public void setIgnored(boolean ignored) {
+ this.ignored = ignored;
+ }
}