java.lang.Object
de.hybris.platform.sap.sapordermgmtbol.transaction.salesdocument.search.impl.SearchResultListImpl
All Implemented Interfaces:
SearchResultList

public class SearchResultListImpl extends Object implements SearchResultList
  • Constructor Details

    • SearchResultListImpl

      public SearchResultListImpl()
  • Method Details

    • add

      public void add(SearchResult result)
      Description copied from interface: SearchResultList
      Adds a search result item
      Specified by:
      add in interface SearchResultList
      Parameters:
      result - Search result
    • size

      public int size()
      Description copied from interface: SearchResultList
      Returns total number of search results
      Specified by:
      size in interface SearchResultList
      Returns:
      Total number of search results
    • clear

      public void clear()
      Description copied from interface: SearchResultList
      Clears search result list
      Specified by:
      clear in interface SearchResultList
    • setPageableData

      public void setPageableData(PageableData pageableData)
      Description copied from interface: SearchResultList
      Sets paging data that we need for accessing the result list
      Specified by:
      setPageableData in interface SearchResultList
    • sortResultList

      public void sortResultList(String sort)
    • getSearchResult

      public List<SearchResult> getSearchResult()
      Description copied from interface: SearchResultList
      Returns the result list, taking the paging data into account. In case no paging data is provided, a runtime exception is thrown.
      Specified by:
      getSearchResult in interface SearchResultList
      Returns:
      Search result list
    • determineStartIndex

      protected int determineStartIndex()
    • determineEndIndex

      protected int determineEndIndex(int startIndex)