public class RefinementMenuRequestParamMarshaller extends RequestParamMarshaller
RefinementMenuHandler
configuration from the parameters present
in a request URL. The following mapping is used:
SHOW_MORE
("showMoreIds") -> RefinementMenuConfig.setShowMore(boolean)
WHY_PRECEDENCE_RULE_FIRED
("whyprecedencerulefired") -> RefinementMenuConfig.setWhyPrecedenceRuleFired(boolean)
NAV_REFINEMENT_MENU_CONFIG
("Nrmc") -> RefinementMenuConfig.setRefinementsShown(String)
Modifier and Type | Field and Description |
---|---|
static String |
NAV_REFINEMENT_MENU_CONFIG
Name of request parameter that sets the navigation refinement menu configuration.
|
static String |
SHOW_MORE
Deprecated.
As of release 3.1.1, replaced by
NAV_REFINEMENT_MENU_CONFIG . Name of request parameter that sets the list of Dimension IDs for which ALL dimension values will be shown. The value can be pipe delimited to expand multiple refinement menus. e.g. /N-83092?showMoreIds=10021|1000482 |
static String |
WHY_PRECEDENCE_RULE_FIRED
Query parameter name for turning on debug information about
what triggered precedence rules to fire for dimensions which are not
always displayed, "whyprecedencerulefired".
|
mRequest, mRequestMap
Constructor and Description |
---|
RefinementMenuRequestParamMarshaller()
Creates the marshaller for reading request parameters related
to
RefinementMenuConfig . |
Modifier and Type | Method and Description |
---|---|
ContentItem |
marshall()
Creates a new ContentItem and populates it with information from the
HttpServletRequest.
|
void |
override(ContentItem contentItem)
Helper method for layering a ContentItem on top of another ContentItem.
|
convertToBoolean, convertToInt, convertToList, convertToLong, setHttpServletRequest, setRequestMap
@Deprecated public static final String SHOW_MORE
NAV_REFINEMENT_MENU_CONFIG
. public static final String NAV_REFINEMENT_MENU_CONFIG
public static final String WHY_PRECEDENCE_RULE_FIRED
RefinementMenuItem
output model's attribute with the key
"DGraph.WhyPrecedenceRuleFired".
This parameter value overrides the default value that is set
up by the application.
e.g. /N-83092?whyprecedencerulefired=1public RefinementMenuRequestParamMarshaller()
RefinementMenuConfig
.public ContentItem marshall()
RequestParamMarshaller
marshall
in class RequestParamMarshaller
public void override(ContentItem contentItem)
RequestParamMarshaller
override
in class RequestParamMarshaller
contentItem
- the ContentItem to mutate by overlaying the values
from another ContentItemCopyright © 2013, Oracle and/or its affiliates. All rights reserved.