package de.ddb.pdc.metadata;

public interface MetaFetcher {

  public DDBItem[] getSearchResult(String query, int maxCount);
  public void getMetaData(DDBItem ddbItem);
}

@@ -27,103 +27,524 @@
 a;%0A%0A
-public interface MetaFetcher %7B%0A%0A  public DDBItem%5B%5D getSearchResult(String query, int maxCount);
+import org.springframework.web.client.RestClientException;%0A%0A/**%0A * Interface of the MetaFetcher%0A */%0Apublic interface MetaFetcher %7B%0A%0A  /**%0A   * @param query what to search%0A   * @param maxCount how many items will be search%0A   * @return Array of DDBItems with search result%0A   * @throws RestClientException%0A   */%0A  public DDBItem%5B%5D searchForItems(String query, int maxCount) throws RestClientException;%0A  %0A  /**%0A   * @param ddbItem used to get metadata with the id of the DDBItem%0A   * @throws RestClientException%0A   */
 %0A  p
@@ -558,16 +558,18 @@
 oid 
-g
+f
 et
+ch
 Meta
-D
+d
 ata(
@@ -584,12 +584,39 @@
 ddbItem)
+ throws RestClientException
 ;%0A%7D%0A

add throws and java-doc