aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack/conversationsplus/entities/Blockable.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/entities/Blockable.java')
-rw-r--r--src/main/java/de/thedevstack/conversationsplus/entities/Blockable.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/entities/Blockable.java b/src/main/java/de/thedevstack/conversationsplus/entities/Blockable.java
new file mode 100644
index 00000000..beff901d
--- /dev/null
+++ b/src/main/java/de/thedevstack/conversationsplus/entities/Blockable.java
@@ -0,0 +1,11 @@
+package de.thedevstack.conversationsplus.entities;
+
+import de.thedevstack.conversationsplus.xmpp.jid.Jid;
+
+public interface Blockable {
+ public boolean isBlocked();
+ public boolean isDomainBlocked();
+ public Jid getBlockedJid();
+ public Jid getJid();
+ public Account getAccount();
+}