Class AbstractSearchUserInputs
- java.lang.Object
-
- org.ametys.web.frontoffice.search.requesttime.input.impl.AbstractSearchUserInputs
-
- All Implemented Interfaces:
SearchUserInputs
- Direct Known Subclasses:
FormSearchUserInputs
,UserPrefsSearchUserInputs
public abstract class AbstractSearchUserInputs extends Object implements SearchUserInputs
Abstract class forSearchUserInputs
.
-
-
Constructor Summary
Constructors Constructor Description AbstractSearchUserInputs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
criteria()
Gets the user criteriaMap<String,List<String>>
facets()
Gets the user facetsvoid
setCriteria(Map<String,Object> criteria)
Set criteriavoid
setFacets(Map<String,List<String>> facets)
Set facetsvoid
setSorts(List<Pair<String,Sort.Order>> sorts)
Set sortsList<Pair<String,Sort.Order>>
sorts()
Gets the user sortsString
toString()
-
-
-
Constructor Detail
-
AbstractSearchUserInputs
public AbstractSearchUserInputs()
-
-
Method Detail
-
criteria
public Map<String,Object> criteria()
Description copied from interface:SearchUserInputs
Gets the user criteria- Specified by:
criteria
in interfaceSearchUserInputs
- Returns:
- the user criteria
-
setCriteria
public void setCriteria(Map<String,Object> criteria)
Description copied from interface:SearchUserInputs
Set criteria- Specified by:
setCriteria
in interfaceSearchUserInputs
- Parameters:
criteria
- the new criteria
-
facets
public Map<String,List<String>> facets()
Description copied from interface:SearchUserInputs
Gets the user facets- Specified by:
facets
in interfaceSearchUserInputs
- Returns:
- the user criteria
-
setFacets
public void setFacets(Map<String,List<String>> facets)
Description copied from interface:SearchUserInputs
Set facets- Specified by:
setFacets
in interfaceSearchUserInputs
- Parameters:
facets
- the new facets
-
sorts
public List<Pair<String,Sort.Order>> sorts()
Description copied from interface:SearchUserInputs
Gets the user sorts- Specified by:
sorts
in interfaceSearchUserInputs
- Returns:
- the user sorts
-
setSorts
public void setSorts(List<Pair<String,Sort.Order>> sorts)
Description copied from interface:SearchUserInputs
Set sorts- Specified by:
setSorts
in interfaceSearchUserInputs
- Parameters:
sorts
- the new sorts
-
-