com.endeca.infront.cartridge
Class NavigationContainerRequestParamMarshaller
java.lang.Object
com.endeca.infront.cartridge.RequestParamMarshaller
com.endeca.infront.cartridge.NavigationContainerRequestParamMarshaller
public class NavigationContainerRequestParamMarshaller
- extends RequestParamMarshaller
Creates NavigationContainerHandler
configuration from the parameters present
in a request URL. The following mapping is used:
Field Summary |
static String |
SHOW_MORE
Name of request parameter that sets the list of Dimension IDs for which all
dimension values will be shown. |
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". |
Method Summary |
ContentItem |
marshall()
Creates a new ContentItem and populates it with information from the
HttpServletRequest. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHOW_MORE
public static final String SHOW_MORE
- Name of request parameter that sets the list of Dimension IDs for which all
dimension values will be shown.
- See Also:
NavigationContainerConfig.setShowMoreIds(java.util.List)
,
Constant Field Values
WHY_PRECEDENCE_RULE_FIRED
public static final 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". Any available debug information will appear
in the
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=1.
- See Also:
NavigationContainerConfig.setWhyPrecedenceRuleFired(boolean)
,
Constant Field Values
NavigationContainerRequestParamMarshaller
public NavigationContainerRequestParamMarshaller()
- Creates the marshaller for reading request parameters related
to
NavigationContainerConfig
.
marshall
public ContentItem marshall()
- Description copied from class:
RequestParamMarshaller
- Creates a new ContentItem and populates it with information from the
HttpServletRequest. More specifically, this method iterates through the
keys in the request map; for each key (URL parameter), if a corresponding value
exists in the HttpServletRequest, then this method stores the value
in the new ContentItem using the ContentItem key obtained from the request map.
- Overrides:
marshall
in class RequestParamMarshaller
Copyright © 2012. All Rights Reserved.