com.atlassian.user.search
Class DefaultSearchResult<T>
java.lang.Object
com.atlassian.user.search.DefaultSearchResult<T>
- All Implemented Interfaces:
- SearchResult<T>
public class DefaultSearchResult<T>
- extends Object
- implements SearchResult<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSearchResult
public DefaultSearchResult()
DefaultSearchResult
public DefaultSearchResult(Pager<T> result,
String repositoryKey)
pager
public Pager<T> pager()
- Specified by:
pager in interface SearchResult<T>
- Returns:
- returns a
Pager representing all results from the search.
addToResults
public void addToResults(String repositoryKey,
Pager<T> pager)
pager
public Pager<T> pager(String repoKey)
- Specified by:
pager in interface SearchResult<T>
- Returns:
- a
Pager holding results for the RepositoryIdentifier specified
by RepositoryIdentifier.getKey()}
repositoryKeyset
public Set<String> repositoryKeyset()
- Specified by:
repositoryKeyset in interface SearchResult<T>
- Returns:
- a list of
String objects indcating the repositories with results in this object.
Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.