public interface SearchUIModel extends SearchModel
Modifier and Type | Method and Description |
---|---|
default boolean |
allowSortOnMultipleJoin()
|
Map<String,SearchUICriterion> |
getAdvancedCriteria(Map<String,Object> contextualParameters)
Get the list of search criteria in advanced mode
|
default SearchUICriterion |
getAdvancedCriterion(String id,
Map<String,Object> contextualParameters)
Get an advanced search criterion by its id.
|
Map<String,SearchUICriterion> |
getCriteria(Map<String,Object> contextualParameters)
Get the list of search criteria in simple mode
|
default SearchUICriterion |
getCriterion(String id,
Map<String,Object> contextualParameters)
Get a simple search criterion by its id
|
String |
getExportCSVUrl(Map<String,Object> contextualParameters)
Get the URL for CVS export of results
|
String |
getExportCSVUrlPlugin(Map<String,Object> contextualParameters)
Get the plugin name for CVS export of results
|
String |
getExportDOCUrl(Map<String,Object> contextualParameters)
Get the URL for DOC export of results
|
String |
getExportDOCUrlPlugin(Map<String,Object> contextualParameters)
Get the plugin name for DOC export of results
|
String |
getExportXMLUrl(Map<String,Object> contextualParameters)
Get the URL for XML export of results
|
String |
getExportXMLUrlPlugin(Map<String,Object> contextualParameters)
Get the plugin name for XML export of results
|
Map<String,SearchUICriterion> |
getFacetedCriteria(Map<String,Object> contextualParameters)
Get the list of faceted search criteria.
|
default SearchUICriterion |
getFacetedCriterion(String id,
Map<String,Object> contextualParameters)
Get a faceted search criterion by its id.
|
int |
getPageSize(Map<String,Object> contextualParameters)
Get the page size.
|
String |
getPrintUrl(Map<String,Object> contextualParameters)
Get the URL for print results
|
String |
getPrintUrlPlugin(Map<String,Object> contextualParameters)
Get the plugin name for print results
|
default SearchUIColumn |
getResultField(String id,
Map<String,Object> contextualParameters)
Get the column by its identifier
|
Map<String,SearchUIColumn> |
getResultFields(Map<String,Object> contextualParameters)
Get the column for results
|
String |
getSearchUrl(Map<String,Object> contextualParameters)
Get the URL for search
|
String |
getSearchUrlPlugin(Map<String,Object> contextualParameters)
Get the plugin name for search
|
String |
getSummaryView()
Get the name of the view to use for summary of the content.
|
String |
getWorkspace(Map<String,Object> contextualParameters)
Get the specific workspace to use.
|
getContentTypes, getExcludedContentTypes
Map<String,SearchUICriterion> getCriteria(Map<String,Object> contextualParameters)
SearchModel
getCriteria
in interface SearchModel
contextualParameters
- the contextual parametersdefault SearchUICriterion getCriterion(String id, Map<String,Object> contextualParameters)
SearchModel
getCriterion
in interface SearchModel
id
- The search criterion idcontextualParameters
- the contextual parametersnull
if not foundMap<String,SearchUICriterion> getFacetedCriteria(Map<String,Object> contextualParameters)
SearchModel
getFacetedCriteria
in interface SearchModel
contextualParameters
- the contextual parametersdefault SearchUICriterion getFacetedCriterion(String id, Map<String,Object> contextualParameters)
SearchModel
getFacetedCriterion
in interface SearchModel
id
- The faceted search criterion id.contextualParameters
- the contextual parametersnull
if not foundMap<String,SearchUIColumn> getResultFields(Map<String,Object> contextualParameters)
SearchModel
getResultFields
in interface SearchModel
contextualParameters
- the contextual parameters. Can be null.default SearchUIColumn getResultField(String id, Map<String,Object> contextualParameters)
SearchModel
getResultField
in interface SearchModel
id
- The column idcontextualParameters
- the contextual parametersMap<String,SearchUICriterion> getAdvancedCriteria(Map<String,Object> contextualParameters)
contextualParameters
- the contextual parametersdefault SearchUICriterion getAdvancedCriterion(String id, Map<String,Object> contextualParameters)
id
- The advanced search criterion id.contextualParameters
- the contextual parametersnull
if not foundint getPageSize(Map<String,Object> contextualParameters)
contextualParameters
- the contextual parameters.String getWorkspace(Map<String,Object> contextualParameters)
contextualParameters
- the contextual parameters.String getSearchUrl(Map<String,Object> contextualParameters)
contextualParameters
- the contextual parametersString getSearchUrlPlugin(Map<String,Object> contextualParameters)
contextualParameters
- the contextual parametersString getExportCSVUrl(Map<String,Object> contextualParameters)
contextualParameters
- the contextual parametersString getExportCSVUrlPlugin(Map<String,Object> contextualParameters)
contextualParameters
- the contextual parametersString getExportDOCUrl(Map<String,Object> contextualParameters)
contextualParameters
- the contextual parametersString getExportDOCUrlPlugin(Map<String,Object> contextualParameters)
contextualParameters
- the contextual parametersString getExportXMLUrl(Map<String,Object> contextualParameters)
contextualParameters
- the contextual parametersString getExportXMLUrlPlugin(Map<String,Object> contextualParameters)
contextualParameters
- the contextual parametersString getPrintUrl(Map<String,Object> contextualParameters)
contextualParameters
- the contextual parametersString getPrintUrlPlugin(Map<String,Object> contextualParameters)
contextualParameters
- the contextual parametersString getSummaryView()
default boolean allowSortOnMultipleJoin()
multiple
metadata
in its path (intermediate ones only) must be allowed.