public class FacetParameterUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
LIMIT_FOR_DATA_PROVIDER |
| Constructor and Description |
|---|
FacetParameterUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Integer> |
getSolrFacetParams(String type,
String[] solrFacets,
Map<String,String[]> parameters,
boolean defaultFacetsRequested)
Returns all relevant parameters of a given type (right now: limit and offset)
|
static Map<String,Integer> |
getTechnicalFacetParams(String type,
String[] technicalFacets,
Map<String,String[]> parameters,
boolean defaultFacetsRequested)
Returns all relevant parameters of a given type (right now: limit and offset)
|
public static final int LIMIT_FOR_DATA_PROVIDER
public static Map<String,Integer> getSolrFacetParams(String type, String[] solrFacets, Map<String,String[]> parameters, boolean defaultFacetsRequested)
type - Type of parameter. Currently we support "limit" and "offset"solrFacets - List of Solr facetsparameters - The request parametersdefaultFacetsRequested - Whether or not the default facets should be checkedpublic static Map<String,Integer> getTechnicalFacetParams(String type, String[] technicalFacets, Map<String,String[]> parameters, boolean defaultFacetsRequested)
type - Type of parameter. Currently we support "limit" and "offset"technicalFacets - List of technical metadata facetsparameters - The request parametersdefaultFacetsRequested - Whether or not the all technical metadata facets should be checkedCopyright © 2017. All rights reserved.