package uk.ac.ebi.quickgo.geneproduct.common;

/**
 * Created by rantunes on 11/02/16.
 */
public interface GeneProductRepository {
}

@@ -44,91 +44,452 @@
 n;%0A%0A
-/**%0A * Created by rantunes on 11/02/16.%0A */%0Apublic interface GeneProductRepository %7B
+import uk.ac.ebi.quickgo.geneproduct.common.document.GeneProductDocument;%0A%0Aimport java.util.Optional;%0A%0A/**%0A * Gene product repository interface exposing methods for performing searches over its contents.%0A * %3Cp%3E%0A * See here how to change:%0A * https://github.com/spring-projects/spring-data-solr/blob/master/README.md%0A *%0A * @author Ricardo Antunes%0A */%0Apublic interface GeneProductRepository %7B%0A%0A    Optional%3CGeneProductDocument%3E findById(String id);
 %0A%7D%0A

Add query to do simple lookup by gene product id.