Class SearchResultsDTO

java.lang.Object
org.codeability.sharing.plugins.api.search.SearchResultsDTO

public class SearchResultsDTO extends Object
  • Constructor Details

    • SearchResultsDTO

      public SearchResultsDTO(List<SearchResultDTO> searchResult, long hitCount, long pageStartIndex)
    • SearchResultsDTO

      public SearchResultsDTO()
  • Method Details

    • getSearchResult

      public List<SearchResultDTO> getSearchResult()
      Returns:
      the list of search results on this page, starting with pageStartIndex
    • setSearchResult

      public void setSearchResult(List<SearchResultDTO> searchResult)
    • getPageStartIndex

      public long getPageStartIndex()
    • getHitCount

      public long getHitCount()
      returns the number of all hits.
      Returns:
      the hit count
    • setHitCount

      public void setHitCount(long hitCount)
    • toString

      public String toString()
      Overrides:
      toString in class Object