public class WorkspacesQueryAdapterFOSearch extends Object implements QueryAdapterFOSearch
MAX_PRIORITY, MIN_PRIORITY
Constructor and Description |
---|
WorkspacesQueryAdapterFOSearch() |
Modifier and Type | Method and Description |
---|---|
private boolean |
_withWorkspaces(Request request) |
void |
addDocumentType(List<String> documentTypes)
Add document type
|
int |
getPriority()
Retrieves the priority to modify the query.
This can be used to process a query modification before an other. |
Query |
modifyQuery(Query query,
Request request,
Collection<String> siteNames,
String language)
Modify the FO search query.
|
Set<FrontOfficeSearcherFactory.QueryFacet> |
modifyQueryFacets(Set<FrontOfficeSearcherFactory.QueryFacet> queryFacets,
Request request)
Modify the query facets
|
Query |
modifySitemapQueryFilter(Query sitemapQuery,
Request request,
Collection<String> siteNames,
String language)
Modify the sitemap query.
|
Query |
modifySiteQueryFilter(Query siteQuery,
Request request,
Collection<String> siteNames,
String language)
Modify the site query.
|
public WorkspacesQueryAdapterFOSearch()
public int getPriority()
QueryAdapterFOSearch
getPriority
in interface QueryAdapterFOSearch
public Query modifyQuery(Query query, Request request, Collection<String> siteNames, String language)
QueryAdapterFOSearch
modifyQuery
in interface QueryAdapterFOSearch
query
- the initial queryrequest
- The requestsiteNames
- The site names.language
- The languagepublic Query modifySiteQueryFilter(Query siteQuery, Request request, Collection<String> siteNames, String language)
QueryAdapterFOSearch
modifySiteQueryFilter
in interface QueryAdapterFOSearch
siteQuery
- the initial site queryrequest
- The requestsiteNames
- The site names.language
- The languagepublic Query modifySitemapQueryFilter(Query sitemapQuery, Request request, Collection<String> siteNames, String language)
QueryAdapterFOSearch
modifySitemapQueryFilter
in interface QueryAdapterFOSearch
sitemapQuery
- the initial sitemap queryrequest
- The requestsiteNames
- The site names.language
- The languagepublic Set<FrontOfficeSearcherFactory.QueryFacet> modifyQueryFacets(Set<FrontOfficeSearcherFactory.QueryFacet> queryFacets, Request request)
QueryAdapterFOSearch
modifyQueryFacets
in interface QueryAdapterFOSearch
queryFacets
- the initial query facetsrequest
- the requestpublic void addDocumentType(List<String> documentTypes)
QueryAdapterFOSearch
addDocumentType
in interface QueryAdapterFOSearch
documentTypes
- the document typesprivate boolean _withWorkspaces(Request request)