|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap<K,V> java.util.HashMap<String,Object> com.endeca.infront.assembler.BasicContentItem com.endeca.infront.cartridge.RefinementMenu
public class RefinementMenu
RefinementMenuHandler
output model.
A RefinementMenu contains a list of Refinement objects that can
be used to make queries to further refine search or navigation results.
The order of Refinements is affected by the boost and bury list in RefinementMenuConfig
.
Depending on URL parameter and Experience Manager configuration, the list of Refinements
contained in a RefinementMenu may be incomplete because each menu may contain too many
refinements to be returned in an initial request. The RefinementMenuHandler
generates a "showMoreLink" NavigationAction
that can be used to retrieve the complete
list of available Refinements unless:
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 | |
---|---|
RefinementMenu(RefinementMenuConfig pConfig)
Creates the RefinementMenu output model, using the
type and data present in the input RefinementMenuConfig . |
Method Summary | |
---|---|
List<Ancestor> |
getAncestors()
Returns the ancestors up to but excluding the Dimension root for this RefinementMenu. |
NavigationAction |
getCollapseAction()
Returns the action for collapsing this RefinementMenu . |
String |
getDimensionName()
Returns the dimension name associated with this RefinementMenu. |
String |
getDisplayName()
Returns the localized display name for the dimension associated with this RefinementMenu. |
NavigationAction |
getExpandAction()
Returns the action for expanding this RefinementMenu . |
NavigationAction |
getLessLink()
Returns the action for collapsing the RefinementMenu. |
NavigationAction |
getMoreLink()
Returns the action for expanding the RefinementMenu. |
List<Refinement> |
getRefinements()
Returns the list of refinements. |
JsonAttribute |
getWhyPrecedenceRuleFired()
Returns "why precedence rule fired" debug information. |
boolean |
isMultiSelect()
Whether this RefinementMenu allows multiple Refinements to be selected at the same time. |
void |
setAncestors(List<Ancestor> ancestors)
Sets the ancestors up to but excluding the Dimension root for this RefinementMenu. |
void |
setCollapseAction(NavigationAction collapseLink)
Sets the action for collapsing this RefinementMenu . |
void |
setDimensionName(String dimensionName)
Sets the dimension name associated with this RefinementMenu. |
void |
setDisplayName(String displayName)
Sets the localized display name for the dimension associated with this RefinementMenu. |
void |
setExpandAction(NavigationAction expandLink)
Sets the action for expanding this RefinementMenu . |
void |
setLessLink(NavigationAction lessLink)
Sets the action for collapsing the RefinementMenu. |
void |
setMoreLink(NavigationAction moreLink)
Sets the action for expanding the RefinementMenu. |
void |
setMultiSelect(boolean multiSelect)
Sets the multi-select property. |
void |
setRefinements(List<Refinement> refinements)
Sets the list of refinements. |
void |
setWhyPrecedenceRuleFired(JsonAttribute whyTrigger)
Sets "why precedence rule fired" debug information. |
Methods inherited from class com.endeca.infront.assembler.BasicContentItem |
---|
getBooleanProperty, getIntProperty, getLongProperty, getType, getTypedProperty, setType |
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 |
---|
public RefinementMenu(RefinementMenuConfig pConfig)
RefinementMenu
output model, using the
type and data present in the input RefinementMenuConfig
.
Method Detail |
---|
public String getDimensionName()
public void setDimensionName(String dimensionName)
public String getDisplayName()
public void setDisplayName(String displayName)
public boolean isMultiSelect()
public void setMultiSelect(boolean multiSelect)
isMultiSelect()
public List<Ancestor> getAncestors()
public void setAncestors(List<Ancestor> ancestors)
public List<Refinement> getRefinements()
public void setRefinements(List<Refinement> refinements)
public NavigationAction getMoreLink()
RefinementMenuConfig.getUseShowMoreIdsParam()
RefinementMenuConfig.isShowMoreLink()
,
RefinementMenuConfig.isShowMore()
public void setMoreLink(NavigationAction moreLink)
public NavigationAction getLessLink()
public void setLessLink(NavigationAction lessLink)
public NavigationAction getExpandAction()
RefinementMenu
.
RefinementMenu
.RefinementMenuConfig.getUseShowMoreIdsParam()
public void setExpandAction(NavigationAction expandLink)
RefinementMenu
.
RefinementMenuConfig.getUseShowMoreIdsParam()
public NavigationAction getCollapseAction()
RefinementMenu
.
RefinementMenu
.RefinementMenuConfig.getUseShowMoreIdsParam()
public void setCollapseAction(NavigationAction collapseLink)
RefinementMenu
.
RefinementMenuConfig.getUseShowMoreIdsParam()
public void setWhyPrecedenceRuleFired(JsonAttribute whyTrigger)
public JsonAttribute getWhyPrecedenceRuleFired()
RefinementMenuConfig.setWhyPrecedenceRuleFired(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |