com.endeca.infront.cartridge
Class NavigationContainerRequestParamMarshaller

java.lang.Object
  extended by com.endeca.infront.cartridge.RequestParamMarshaller
      extended by 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".
 
Fields inherited from class com.endeca.infront.cartridge.RequestParamMarshaller
mRequest, mRequestMap
 
Constructor Summary
NavigationContainerRequestParamMarshaller()
          Creates the marshaller for reading request parameters related to NavigationContainerConfig.
 
Method Summary
 ContentItem marshall()
          Creates a new ContentItem and populates it with information from the HttpServletRequest.
 
Methods inherited from class com.endeca.infront.cartridge.RequestParamMarshaller
convertToBoolean, convertToInt, convertToLong, override, setHttpServletRequest, setRequestMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

NavigationContainerRequestParamMarshaller

public NavigationContainerRequestParamMarshaller()
Creates the marshaller for reading request parameters related to NavigationContainerConfig.

Method Detail

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.