com.atlassian.user.search
Class AbstractSearchResult

java.lang.Object
  extended bycom.atlassian.user.search.AbstractSearchResult
All Implemented Interfaces:
SearchResult
Direct Known Subclasses:
DefaultSearchResult

public abstract class AbstractSearchResult
extends java.lang.Object
implements SearchResult


Field Summary
protected  java.util.HashMap repositoriesToResults
           
 
Constructor Summary
AbstractSearchResult()
           
 
Method Summary
 void addToResults(java.lang.String repositoryKey, Pager pager)
           
 Pager pager(java.lang.String repoKey)
           
 java.util.Set repositoryKeyset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.user.search.SearchResult
pager
 

Field Detail

repositoriesToResults

protected java.util.HashMap repositoriesToResults
Constructor Detail

AbstractSearchResult

public AbstractSearchResult()
Method Detail

addToResults

public void addToResults(java.lang.String repositoryKey,
                         Pager pager)

pager

public Pager pager(java.lang.String repoKey)
Specified by:
pager in interface SearchResult
Returns:
a Pager holding results for the RepositoryIdentifier specified by RepositoryIdentifier.getKey()}

repositoryKeyset

public java.util.Set repositoryKeyset()
Specified by:
repositoryKeyset in interface SearchResult
Returns:
a list of String objects indcating the repositories with results in this object.


Copyright © 2005-2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.