public interface SearchModel
Modifier and Type | Method and Description |
---|---|
Set<String> |
getContentTypes(Map<String,Object> contextualParameters)
Get the list of content types.
|
Map<String,? extends SearchCriterion> |
getCriteria(Map<String,Object> contextualParameters)
Get the list of search criteria in simple mode
|
default SearchCriterion |
getCriterion(String id,
Map<String,Object> contextualParameters)
Get a simple search criterion by its id
|
Set<String> |
getExcludedContentTypes(Map<String,Object> contextualParameters)
Get the list of excluded content types.
|
Map<String,? extends SearchCriterion> |
getFacetedCriteria(Map<String,Object> contextualParameters)
Get the list of faceted search criteria.
|
default SearchCriterion |
getFacetedCriterion(String id,
Map<String,Object> contextualParameters)
Get a faceted search criterion by its id.
|
default ResultField |
getResultField(String id,
Map<String,Object> contextualParameters)
Get the column by its identifier
|
Map<String,? extends ResultField> |
getResultFields(Map<String,Object> contextualParameters)
Get the column for results
|
Set<String> getContentTypes(Map<String,Object> contextualParameters)
contextualParameters
- the contextual parameters.Set<String> getExcludedContentTypes(Map<String,Object> contextualParameters)
contextualParameters
- the contextual parametersMap<String,? extends SearchCriterion> getCriteria(Map<String,Object> contextualParameters)
contextualParameters
- the contextual parametersdefault SearchCriterion getCriterion(String id, Map<String,Object> contextualParameters)
id
- The search criterion idcontextualParameters
- the contextual parametersnull
if not foundMap<String,? extends SearchCriterion> getFacetedCriteria(Map<String,Object> contextualParameters)
contextualParameters
- the contextual parametersdefault SearchCriterion getFacetedCriterion(String id, Map<String,Object> contextualParameters)
id
- The faceted search criterion id.contextualParameters
- the contextual parametersnull
if not foundMap<String,? extends ResultField> getResultFields(Map<String,Object> contextualParameters)
contextualParameters
- the contextual parameters. Can be null.default ResultField getResultField(String id, Map<String,Object> contextualParameters)
id
- The column idcontextualParameters
- the contextual parameters