Coverage Report - org.kuali.student.r2.core.search.infc.SearchResult
 
Classes in this File Line Coverage Branch Coverage Complexity
SearchResult
N/A
N/A
1
 
 1  
 /*
 2  
  * Copyright 2010 The Kuali Foundation 
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the
 5  
  * "License"); you may not use this file except in compliance with the
 6  
  * License. You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.osedu.org/licenses/ECL-2.0
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 13  
  * implied. See the License for the specific language governing
 14  
  * permissions and limitations under the License.
 15  
  */
 16  
 
 17  
 package org.kuali.student.r2.core.search.infc;
 18  
 
 19  
 import java.util.List;
 20  
 import org.kuali.student.r2.core.search.dto.SortDirection;
 21  
 
 22  
 public interface SearchResult {
 23  
 
 24  
     /**
 25  
      * The starting position of the results.
 26  
      *
 27  
      * @name Starting Position
 28  
      * @required
 29  
      */    
 30  
     public Integer getStartAt();
 31  
 
 32  
     /**
 33  
      * The total number of search results.
 34  
      *
 35  
      * @name Total Results
 36  
      * @required
 37  
      */
 38  
     public Integer getTotalResults();
 39  
     
 40  
     /**
 41  
      * The search result rows.
 42  
      *
 43  
      * @name Search Result Rows
 44  
      * @required
 45  
      */
 46  
     public List<? extends SearchResultRow> getRows();
 47  
     
 48  
     /**
 49  
      * The sorting column.
 50  
      *
 51  
      * @name Sort Column
 52  
      */
 53  
     public String getSortColumn();
 54  
 
 55  
     /**
 56  
      * The sort direction.
 57  
      *
 58  
      * @name Sort Direction
 59  
      */    
 60  
     public SortDirection getSortDirection();
 61  
 }