Interface AdvancedSearchable

All Superinterfaces:
Searchable
All Known Subinterfaces:
CoreExtensionRepository, ExtensionIndex, ExtensionRepositoryManager, InstalledExtensionRepository, LocalExtensionRepository
All Known Implementing Classes:
AbstractAdvancedSearchableExtensionRepository, AbstractFilteredExtensionRepository

public interface AdvancedSearchable extends Searchable
A repository can implements it to provide search capabilities.
Since:
7.0M2
Version:
$Id: cdf5121251ceb3b2f86903df0adc46c33447546c $
  • Method Details

    • isFilterable

      boolean isFilterable()
      Returns:
      true if the searched extensions can be filtered
    • isSortable

      boolean isSortable()
      Returns:
      true if the searched extensions can be ordered
    • search

      Search extension based of the provided query.
      Parameters:
      query - the query
      Returns:
      the found extensions descriptors, empty list if nothing could be found
      Throws:
      SearchException - error when trying to search provided query