public class NavigationContainerHandler extends NavigationCartridgeHandler<NavigationContainerConfig,NavigationContainer>
| Constructor and Description |
|---|
NavigationContainerHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
getRefinementMenuType()
Returns the
RefinementMenu type. |
void |
preprocess(NavigationContainerConfig pContentItem)
If the refinements slot is configured and the first resolved rule has a non empty list
of refinements (provided by "navigation" key), then we use this non-empty list.
|
NavigationContainer |
process(NavigationContainerConfig pContentItem)
If the refinements slot is configured and resolved, use the explicit refinements order
to create the output
NavigationContainer model. |
void |
setAttributeConfigurationManager(AttributeConfigurationManager manager) |
void |
setAttributeDisplayConfigManager(AttributeDisplayConfigManager manager)
Deprecated.
|
void |
setContentBroker(ContentBroker pContentBroker) |
void |
setContentSource(ContentSource pContentSource) |
void |
setDimensionCacheManager(com.endeca.infront.navigation.cache.DimensionCacheManager manager) |
void |
setRefinementMenuType(String refinementMenuType)
Sets the type for
RefinementMenus created by this class. |
protected NavigationContainerConfig |
wrapConfig(ContentItem pContentItem)
Wraps the input
ContentItem as a typed config object. |
createMdexRequest, dispatchNavigationEventInformation, executeMdexRequest, executeMdexRequest, getActionPathProvider, getAuditInfo, getContentItemInitializer, getMdexRequestBroker, getNavigationState, getSiteState, getUserState, initialize, populateNavigationPathDefaults, setActionPathProvider, setAuditInfo, setContentItemInitializer, setMdexRequestBroker, setNavigationState, setSiteState, setUserStatepublic void setAttributeDisplayConfigManager(AttributeDisplayConfigManager manager)
public void setAttributeConfigurationManager(AttributeConfigurationManager manager)
public void setDimensionCacheManager(com.endeca.infront.navigation.cache.DimensionCacheManager manager)
public String getRefinementMenuType()
RefinementMenu type.RefinementMenu type for this cartridge handlersetRefinementMenuType(String)public void setRefinementMenuType(String refinementMenuType)
RefinementMenus created by this class.
If not specified, a default value of "RefinementMenu" will be used.refinementMenuType - the RefinementMenu type for this cartridge handlerpublic void setContentSource(ContentSource pContentSource)
public void setContentBroker(ContentBroker pContentBroker)
protected NavigationContainerConfig wrapConfig(ContentItem pContentItem)
NavigationCartridgeHandlerContentItem as a typed config object. It is not expected that
subclasses will mutate the input ContentItem, beyond passing it into
their typed configuration class as a constructor argument.wrapConfig in class NavigationCartridgeHandler<NavigationContainerConfig,NavigationContainer>pContentItem - the configuration for this cartridge handler. This will either be the
fully initialized configuration object, if a ContentItemInitializer has been
set, or it will simply be the instance configuration.ConfigType which wraps the input ContentItem.NavigationCartridgeHandler.initialize(ContentItem),
NavigationCartridgeHandler.setContentItemInitializer(ContentItemInitializer)public void preprocess(NavigationContainerConfig pContentItem) throws CartridgeHandlerException
mMdexRequest is created to pull all available refinements.
If you are overriding this method you MUST set mMdexRequest as it is being used by the
process(NavigationContainerConfig) method (unless you are also overriding
process(NavigationContainerConfig))preprocess in class NavigationCartridgeHandler<NavigationContainerConfig,NavigationContainer>CartridgeHandlerExceptionpublic NavigationContainer process(NavigationContainerConfig pContentItem) throws CartridgeHandlerException
NavigationContainer model.
If the refinements slot is not configured or if it is not resolved, we build all the
available RefinementMenus to create the output NavigationContainer model.
This method makes use of the mMdexRequest variable to make its Mdex Request(s). If
you are overriding this method you may assume mMdexRequest is set properly properly.process in class NavigationCartridgeHandler<NavigationContainerConfig,NavigationContainer>NavigationContainer model class containing RefinementMenus.CartridgeHandlerExceptionCopyright © 2019, Oracle and/or its affiliates. All rights reserved.