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

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

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

import uk.ac.ebi.quickgo.geneproduct.common.document.GeneProductDocument;

import java.util.Optional;

/**
 * Gene product repository interface exposing methods for performing searches over its contents.
 * <p>
 * See here how to change:
 * https://github.com/spring-projects/spring-data-solr/blob/master/README.md
 *
 * @author Ricardo Antunes
 */
public interface GeneProductRepository {

    Optional<GeneProductDocument> findById(String id);
}

Add query to do simple lookup by gene product id.