|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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)
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 trigged 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, convertToLong, setHttpServletRequest, setRequestMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SHOW_MORE
RefinementMenuConfig.setShowMore(boolean)
,
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 |