org.apache.archiva.indexer.search
Interface RepositorySearch

All Known Implementing Classes:
MavenRepositorySearch

public interface RepositorySearch


Method Summary
 Collection<String> getAllGroupIds(String principal, List<String> selectedRepos)
           
 Set<String> getRemoteIndexingContextIds(String managedRepoId)
           
 SearchResults search(String principal, List<String> selectedRepos, String term, SearchResultLimits limits, List<String> previousSearchTerms)
          Quick search by won't return artifact with file extension pom
 SearchResults search(String principal, SearchFields searchFields, SearchResultLimits limits)
          Advanced search.
 

Method Detail

search

SearchResults search(String principal,
                     List<String> selectedRepos,
                     String term,
                     SearchResultLimits limits,
                     List<String> previousSearchTerms)
                     throws RepositorySearchException
Quick search by won't return artifact with file extension pom

Parameters:
principal -
selectedRepos -
term -
limits -
previousSearchTerms -
Returns:
Throws:
RepositorySearchException

search

SearchResults search(String principal,
                     SearchFields searchFields,
                     SearchResultLimits limits)
                     throws RepositorySearchException
Advanced search.

Parameters:
principal -
searchFields -
limits -
Returns:
Throws:
RepositorySearchException

getAllGroupIds

Collection<String> getAllGroupIds(String principal,
                                  List<String> selectedRepos)
                                  throws RepositorySearchException
Throws:
RepositorySearchException

getRemoteIndexingContextIds

Set<String> getRemoteIndexingContextIds(String managedRepoId)
                                        throws RepositoryAdminException
Throws:
RepositoryAdminException


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.