diff -r 961a8a3acb9a -r bb6990c0dd1a org/sonews/storage/Storage.java --- a/org/sonews/storage/Storage.java Mon Aug 17 11:00:51 2009 +0200 +++ b/org/sonews/storage/Storage.java Thu Aug 20 14:31:19 2009 +0200 @@ -31,6 +31,11 @@ public interface Storage { + /** + * Stores the given Article in the storage. + * @param art + * @throws StorageBackendException + */ void addArticle(Article art) throws StorageBackendException; @@ -93,7 +98,14 @@ int getLastArticleNumber(Group group) throws StorageBackendException; - String getListForGroup(String groupname) + /** + * Returns a list of email addresses that are related to the given + * groupname. In most cases the list may contain only one entry. + * @param groupname + * @return + * @throws StorageBackendException + */ + List getListsForGroup(String groupname) throws StorageBackendException; String getOldestArticle()