Class DefaultSearchResult
java.lang.Object
de.hybris.platform.cockpit.model.search.impl.DefaultSearchResult
- All Implemented Interfaces:
SearchResult
- Direct Known Subclasses:
DefaultExtendedSearchResult
Default implementation of search result. Simply holds the specified result list, start index and total count.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the object result collection according to the range specified inside the query of this result.intgetStart()Returns the start index of the first object of the result list.intReturns the total hit count of query (without range).
-
Constructor Details
-
DefaultSearchResult
-
-
Method Details
-
getResult
Description copied from interface:SearchResultReturns the object result collection according to the range specified inside the query of this result.- Specified by:
getResultin interfaceSearchResult
-
getTotalCount
public int getTotalCount()Description copied from interface:SearchResultReturns the total hit count of query (without range).- Specified by:
getTotalCountin interfaceSearchResult
-
getStart
public int getStart()Description copied from interface:SearchResultReturns the start index of the first object of the result list.- Specified by:
getStartin interfaceSearchResult
-