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 TypeMethodDescriptionboolean
Returnstrue
if the counts of enumerated criteria must be computedGets the additional parametersGets the additional parameter valuesGets theSearchContext
sGets thetree
ofFOSearchCriteria
Gets theFacetDefinition
sgetId()
Gets the idGets the initialSortDefinition
s with their sort ordergetLink()
Gets the linkGets the proposedSortDefinition
sGets the result displayGets theReturnable
sGets theRightCheckingMode
Gets theSearchable
sgetTitle()
Gets the titlegetXslt()
Gets the XSLTboolean
Returnstrue
if it handles RSSGets the maximum number of resultsGets the number of results per pageboolean
Returnstrue
if 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 theReturnable
s- Returns:
- the
Returnable
s
-
getSearchables
Gets theSearchable
s- Returns:
- the
Searchable
s
-
getAdditionalParameters
Gets the additional parameters- Returns:
- the additional parameters
-
getAdditionalParameterValues
Gets the additional parameter values- Returns:
- the additional parameter values
-
getContexts
Gets theSearchContext
s- Returns:
- the
SearchContext
s
-
getCriterionTree
Gets thetree
ofFOSearchCriteria
- Returns:
- the
tree
ofFOSearchCriteria
-
computeCriteriaCounts
Returnstrue
if the counts of enumerated criteria must be computed- Returns:
true
if the counts of enumerated criteria must be computed
-
getFacets
Gets theFacetDefinition
s- Returns:
- the
FacetDefinition
s
-
getInitialSorts
Gets the initialSortDefinition
s with their sort order- Returns:
- the initial
SortDefinition
s with their sort order
-
getProposedSorts
Gets the proposedSortDefinition
s- Returns:
- the proposed
SortDefinition
s
-
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
Returnstrue
if it handles RSS- Returns:
true
if it handles RSS
-
saveUserPrefs
Returnstrue
if it saves the search parameters in the user preferences- Returns:
true
if it saves the search parameters in the user preferences
-
toString
-