Class SearchServiceInstance
java.lang.Object
org.ametys.web.frontoffice.search.instance.SearchServiceInstance
A wrapper class representing an instance of
It can be seen as a
SearchService.
It can be seen as a
ZoneItem as well as a FO SearchModel created on the fly by the webmaster.-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif the counts of enumerated criteria must be computedGets the additional parametersGets the additional parameter valuesGets theSearchContextsGets thetreeofFOSearchCriteriaGets theFacetDefinitionsgetId()Gets the idGets the initialSortDefinitions with their sort ordergetLink()Gets the linkGets the proposedSortDefinitionsGets the result displayGets theReturnablesGets theRightCheckingModeGets theSearchablesgetTitle()Gets the titlegetXslt()Gets the XSLTbooleanReturnstrueif it handles RSSGets the maximum number of resultsGets the number of results per pagebooleanReturnstrueif it saves the search parameters in the user preferencestoString()
-
Method Details
-
getId
Gets the id- Returns:
- the id
-
getTitle
Gets the title- Returns:
- the title
-
getReturnables
Gets theReturnables- Returns:
- the
Returnables
-
getSearchables
Gets theSearchables- Returns:
- the
Searchables
-
getAdditionalParameters
Gets the additional parameters- Returns:
- the additional parameters
-
getAdditionalParameterValues
Gets the additional parameter values- Returns:
- the additional parameter values
-
getContexts
Gets theSearchContexts- Returns:
- the
SearchContexts
-
getCriterionTree
Gets thetreeofFOSearchCriteria- Returns:
- the
treeofFOSearchCriteria
-
computeCriteriaCounts
Returnstrueif the counts of enumerated criteria must be computed- Returns:
trueif the counts of enumerated criteria must be computed
-
getFacets
Gets theFacetDefinitions- Returns:
- the
FacetDefinitions
-
getInitialSorts
Gets the initialSortDefinitions with their sort order- Returns:
- the initial
SortDefinitions with their sort order
-
getProposedSorts
Gets the proposedSortDefinitions- Returns:
- the proposed
SortDefinitions
-
resultsPerPage
Gets the number of results per page- Returns:
- the number of results per page
-
maxResults
Gets the maximum number of results- Returns:
- the maximum number of results
-
getRightCheckingMode
Gets theRightCheckingMode- Returns:
- the
RightCheckingMode
-
getXslt
Gets the XSLT- Returns:
- the XSLT
-
getResultDisplay
Gets the result display- Returns:
- the result display
-
getLink
Gets the link- Returns:
- the link
-
handleRss
Returnstrueif it handles RSS- Returns:
trueif it handles RSS
-
saveUserPrefs
Returnstrueif it saves the search parameters in the user preferences- Returns:
trueif it saves the search parameters in the user preferences
-
toString
-