Add method to get all posts of a Sone to post provider interface.
[Sone.git] / src / main / java / net / pterodactylus / sone / database / SoneProvider.java
index f484aaf..993804f 100644 (file)
@@ -47,4 +47,18 @@ public interface SoneProvider {
         */
        public Collection<Sone> getSones();
 
+       /**
+        * Returns all local Sones.
+        *
+        * @return All local Sones
+        */
+       public Collection<Sone> getLocalSones();
+
+       /**
+        * Returns all remote Sones.
+        *
+        * @return All remote Sones
+        */
+       public Collection<Sone> getRemoteSones();
+
 }