com.endeca.infront.cartridge
Class NavigationContainerConfig

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Object>
          extended by com.endeca.infront.assembler.BasicContentItem
              extended by com.endeca.infront.cartridge.NavigationContainerConfig
All Implemented Interfaces:
ContentItem, Serializable, Cloneable, Map<String,Object>

public class NavigationContainerConfig
extends BasicContentItem

NavigationContainerHandler configuration model.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
NavigationContainerConfig()
          Creates a NavigationContainerConfig with the following default setting: whyPrecedenceRuleFired = false
NavigationContainerConfig(String pType)
          Creates a NavigationContainerConfig with the specified type and the following default setting: whyPrecedenceRuleFired = false
 
Method Summary
 String getLessLinkText()
          Returns display text for 'less' links.
 String getMoreLinkText()
          Returns display text for 'more' links.
 List<String> getShowMoreIds()
          Returns dimension IDs for which 'More' refinement expansion should happen.
 boolean isWhyPrecedenceRuleFired()
          When true, enables the reporting of 'why precedence rule fired' debug information.
 void setLessLinkText(String lessLinkText)
          Sets display text for 'less' links.
 void setMoreLinkText(String moreLinkText)
          Sets display text for 'more' links.
 void setShowMoreIds(List<String> showMore)
          Sets dimension IDs for which 'More' refinement expansion should happen.
 void setWhyPrecedenceRuleFired(boolean whyPrecedenceRuleFired)
          Sets if 'why precedence rule fired' debug information should be enabled.
 
Methods inherited from class com.endeca.infront.assembler.BasicContentItem
getBooleanProperty, getIntProperty, getLongProperty, getType, getTypedProperty
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

NavigationContainerConfig

public NavigationContainerConfig()
Creates a NavigationContainerConfig with the following default setting:


NavigationContainerConfig

public NavigationContainerConfig(String pType)
Creates a NavigationContainerConfig with the specified type and the following default setting:

Method Detail

getShowMoreIds

public List<String> getShowMoreIds()
Returns dimension IDs for which 'More' refinement expansion should happen.

Returns:
dimension IDs with 'More' designated, may be null.

setShowMoreIds

public void setShowMoreIds(List<String> showMore)
Sets dimension IDs for which 'More' refinement expansion should happen.

Parameters:
showMore - dimension IDs for 'More' refinement expansion, may be null.

isWhyPrecedenceRuleFired

public boolean isWhyPrecedenceRuleFired()
When true, enables the reporting of 'why precedence rule fired' debug information. The default value for this property is false.

Note: in order for debugging information to be returned, debugging must be enabled on NavigationRequest. To accomplish this, specify debugEnabled=true when instantiating MdexRequestBroker.

Returns:
Whether to enable 'why precedence rule fired' debug info
See Also:
setWhyPrecedenceRuleFired(boolean), MdexRequestBroker

setWhyPrecedenceRuleFired

public void setWhyPrecedenceRuleFired(boolean whyPrecedenceRuleFired)
Sets if 'why precedence rule fired' debug information should be enabled. The default value for this property is false.

Note: in order for debugging information to be returned, debugging must be enabled on NavigationRequest. To accomplish this, specify debugEnabled=true when instantiating MdexRequestBroker.

Parameters:
whyPrecedenceRuleFired - true to enable 'why precedence rule fired' debug info
See Also:
isWhyPrecedenceRuleFired(), NavigationContainerRequestParamMarshaller, MdexRequestBroker

getMoreLinkText

public String getMoreLinkText()
Returns display text for 'more' links.

Returns:
Display text for 'more' links.

setMoreLinkText

public void setMoreLinkText(String moreLinkText)
Sets display text for 'more' links.

Parameters:
moreLinkText - display text for 'more' links.

getLessLinkText

public String getLessLinkText()
Returns display text for 'less' links.

Returns:
Display text for 'less' links.

setLessLinkText

public void setLessLinkText(String lessLinkText)
Sets display text for 'less' links.

Parameters:
lessLinkText - display text for 'less' links.


Copyright © 2012. All Rights Reserved.