com.atlassian.confluence.search.v2
Interface SearchResults

All Known Implementing Classes:
LuceneSearchResults

public interface SearchResults

The results of a search.


Method Summary
 java.util.List getAll()
          Creates a new list containing all returned search results.
 int getUnfilteredResultsCount()
          Get the number of search results before any filter was applied.
 java.util.Iterator iterator()
          Gets an iterator to run through the returned search results.
 int size()
          Get the number of search results included in this object.
 

Method Detail

getUnfilteredResultsCount

int getUnfilteredResultsCount()
Get the number of search results before any filter was applied. For example, if you ran a filter to limit the number of results returned, this would give the total number of hits for your query before the limit was taken into account.

Returns:
the number of search results available before filtering was performed

size

int size()
Get the number of search results included in this object.

Returns:
the number of search results returned

iterator

java.util.Iterator iterator()
Gets an iterator to run through the returned search results.

Returns:
an iterator over the search results

getAll

java.util.List getAll()
Creates a new list containing all returned search results.

Returns:
a new list containing all returned search results


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.