|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.infront.cartridge.RequestParamMarshaller com.endeca.infront.cartridge.RefinementMenuRequestParamMarshaller
public class RefinementMenuRequestParamMarshaller
Creates 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)
Field Summary | |
---|---|
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". |
Fields inherited from class com.endeca.infront.cartridge.RequestParamMarshaller |
---|
mRequest, mRequestMap |
Constructor Summary | |
---|---|
RefinementMenuRequestParamMarshaller()
Creates the marshaller for reading request parameters related to RefinementMenuConfig . |
Method Summary | |
---|---|
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. |
Methods inherited from class com.endeca.infront.cartridge.RequestParamMarshaller |
---|
convertToBoolean, convertToInt, convertToList, convertToLong, setHttpServletRequest, setRequestMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Deprecated public static final String SHOW_MORE
NAV_REFINEMENT_MENU_CONFIG
. RefinementMenuConfig.setShowMore(boolean)
,
Constant Field Valuespublic static final String NAV_REFINEMENT_MENU_CONFIG
RefinementMenuConfig.getRefinementsShown()
,
Constant Field Valuespublic 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=1
RefinementMenuConfig.setWhyPrecedenceRuleFired(boolean)
,
Constant Field ValuesConstructor Detail |
---|
public RefinementMenuRequestParamMarshaller()
RefinementMenuConfig
.
Method Detail |
---|
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 ContentItem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |