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)
Initializes the showAll fields and sets
mMdexRequest. |
NavigationContainer |
process(NavigationContainerConfig pContentItem)
Builds the
RefinementMenus and creates the output NavigationContainer model. |
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, getContentItemInitializer, getMdexRequestBroker, getNavigationState, getSiteState, initialize, populateNavigationPathDefaults, setActionPathProvider, setContentItemInitializer, setMdexRequestBroker, setNavigationState, setSiteStatepublic 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 handlerprotected 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. 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
RefinementMenus and creates 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 © 2014, Oracle and/or its affiliates. All rights reserved.