@@ -0,0 +1,1770 @@
+/**%0A * Copyright %C2%A9 2011-2013 EMBL - European Bioinformatics Institute%0A * %0A * Licensed under the Apache License, Version 2.0 (the %22License%22); %0A * you may not use this file except in compliance with the License.  %0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage uk.ac.ebi.phenotype.imaging.springrest.images.dao;%0A%0Aimport java.util.List;%0A%0A%0Aimport org.apache.solr.client.solrj.response.FacetField;%0Aimport org.apache.solr.client.solrj.response.QueryResponse;%0Aimport org.apache.solr.common.SolrDocument;%0Aimport org.apache.solr.common.SolrDocumentList;%0A/**%0A * Interface for images data access from solr (probably not need an interface to this as it's solr specific...)%0A * @author jwarren%0A *%0A */%0Apublic interface ImagesSolrDao %7B%0A%0A%09public abstract long getNumberFound();%0A%0A%09public abstract List%3CString%3E getIdsForKeywordsSearch(String query,%0A%09%09%09int start, int length);%0A%09%0A%09public abstract QueryResponse getExperimentalFacetForGeneAccession(String geneId);%0A%0A%09public QueryResponse getExpressionFacetForGeneAccession(String geneId);%0A%09public QueryResponse getDocsForGeneWithFacetField(String query, String facetName, String facetValue, String filterQuery, int start, int length);%0A%0A%0A%09public QueryResponse getFilteredDocsForQuery(String query, List%3CString%3E filterField,String qf, String defType,%0A%09%09%09int start, int length);%0A%09%0A%09public QueryResponse getDocsForMpTerm(String mpId, int start, int length);%0A%0A%7D%0A

Change copyright in Apache 2 license to 2013 documented documented Fixed solr gene details page images not limited to expression and gene id! image results works from mp, genedetails and search??? images links working on gene details and new server side icon on mp page hacks to show expression not filtered on geneid update all images to use SOLR only (no hibernate); reformat page to be the same as detail page layout; add MGI term search new backend images jsps for geneDetails and mp pages