diff -r 2fdc9cc89502 -r bb6990c0dd1a org/sonews/storage/Storage.java --- a/org/sonews/storage/Storage.java Wed Jul 22 14:04:05 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()