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
RefinementMenu s and creates the output NavigationContainer model. |
void |
setRefinementMenuType(String refinementMenuType)
Sets the type for
RefinementMenu s 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, setSiteState
public String getRefinementMenuType()
RefinementMenu
type.RefinementMenu
type for this cartridge handlersetRefinementMenuType(String)
public void setRefinementMenuType(String refinementMenuType)
RefinementMenu
s 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)
NavigationCartridgeHandler
ContentItem
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>
CartridgeHandlerException
public NavigationContainer process(NavigationContainerConfig pContentItem) throws CartridgeHandlerException
RefinementMenu
s 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 RefinementMenu
s.CartridgeHandlerException
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.