Class SearchResultImpl<E>

java.lang.Object
de.hybris.platform.servicelayer.search.impl.SearchResultImpl<E>
All Implemented Interfaces:
SearchResult<E>

public class SearchResultImpl<E> extends Object implements SearchResult<E>
Implementation of the servicelayer SearchResult interface.
  • Constructor Details

    • SearchResultImpl

      public SearchResultImpl(List<E> result, int totalCount, int requestedCount, int requestedStart)
      Default constructor.
      Parameters:
      result - the result list from the jalo search
      totalCount - the overall count (all elements) of the jalo search
      requestedCount - the requested count (how many elements should be in the list?)
      requestedStart - the start count (this list should start at this element)
    • SearchResultImpl

      public SearchResultImpl(List<E> result, int totalCount, int requestedCount, int requestedStart, String dataSourceId)
      Default constructor.
      Parameters:
      result - the result list from the jalo search
      totalCount - the overall count (all elements) of the jalo search
      requestedCount - the requested count (how many elements should be in the list?)
      requestedStart - the start count (this list should start at this element)
      dataSourceId - the id of used dataSource
  • Method Details