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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isFilterable()
boolean
isSortable()
IterableResult<Extension>
search(ExtensionQuery query)
Search extension based of the provided query.-
Methods inherited from interface org.xwiki.extension.repository.search.Searchable
search
-
-
-
-
Method Detail
-
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
IterableResult<Extension> search(ExtensionQuery query) throws SearchException
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
-
-