@Unstable public class IndexedExtensionQuery extends ExtensionQuery
ExtensionQuery
with extension index specific criteria.ExtensionQuery.COMPARISON, ExtensionQuery.Filter, ExtensionQuery.ORDER, ExtensionQuery.SortClause
Constructor and Description |
---|
IndexedExtensionQuery()
No filtering.
|
IndexedExtensionQuery(String query) |
Modifier and Type | Method and Description |
---|---|
IndexedExtensionQuery |
fromRepository(String repositoryId) |
Boolean |
getCompatible() |
List<Namespace> |
getCompatibleNamespaces() |
IndexedExtensionQuery |
setCompatible(boolean compatible,
Namespace... namespaces) |
addFilter, addFilters, addSort, getFilters, getLimit, getOffset, getQuery, getSortClauses, setFilters, setLimit, setOffset, setSortClauses
public IndexedExtensionQuery()
public IndexedExtensionQuery(String query)
query
- the query to executepublic IndexedExtensionQuery fromRepository(String repositoryId)
repositoryId
- the repository from which the extension is coming frompublic IndexedExtensionQuery setCompatible(boolean compatible, Namespace... namespaces)
compatible
- true if only compatible extension should be returnednamespaces
- the namespaces with which the extensions should be (not) compatiblepublic Boolean getCompatible()
Copyright © 2004–2021 XWiki. All rights reserved.