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 thetreeofSearchServiceCriteriaGets theSearchServiceFacetDefinitionsgetId()Gets the idGets the initialSearchServiceSortDefinitions with their sort ordergetLink()Gets the linkGets the proposedSearchServiceSortDefinitionsGets 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 thetreeofSearchServiceCriteria- Returns:
- the
treeofSearchServiceCriteria
-
computeCriteriaCounts
Returnstrueif the counts of enumerated criteria must be computed- Returns:
trueif the counts of enumerated criteria must be computed
-
getFacets
Gets theSearchServiceFacetDefinitions- Returns:
- the
SearchServiceFacetDefinitions
-
getInitialSorts
Gets the initialSearchServiceSortDefinitions with their sort order- Returns:
- the initial
SearchServiceSortDefinitions with their sort order
-
getProposedSorts
Gets the proposedSearchServiceSortDefinitions- Returns:
- the proposed
SearchServiceSortDefinitions
-
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
-