org/sonews/storage/Storage.java
changeset 12 bb6990c0dd1a
parent 3 2fdc9cc89502
child 14 efce4ec25564
     1.1 --- a/org/sonews/storage/Storage.java	Wed Jul 22 14:04:05 2009 +0200
     1.2 +++ b/org/sonews/storage/Storage.java	Thu Aug 20 14:31:19 2009 +0200
     1.3 @@ -31,6 +31,11 @@
     1.4  public interface Storage
     1.5  {
     1.6  
     1.7 +  /**
     1.8 +   * Stores the given Article in the storage.
     1.9 +   * @param art
    1.10 +   * @throws StorageBackendException
    1.11 +   */
    1.12    void addArticle(Article art)
    1.13      throws StorageBackendException;
    1.14  
    1.15 @@ -93,7 +98,14 @@
    1.16    int getLastArticleNumber(Group group)
    1.17      throws StorageBackendException;
    1.18  
    1.19 -  String getListForGroup(String groupname)
    1.20 +  /**
    1.21 +   * Returns a list of email addresses that are related to the given
    1.22 +   * groupname. In most cases the list may contain only one entry.
    1.23 +   * @param groupname
    1.24 +   * @return
    1.25 +   * @throws StorageBackendException
    1.26 +   */
    1.27 +  List<String> getListsForGroup(String groupname)
    1.28      throws StorageBackendException;
    1.29  
    1.30    String getOldestArticle()