|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.endeca.infront.cartridge.NavigationCartridgeHandler<NavigationContainerConfig,NavigationContainer>
com.endeca.infront.cartridge.NavigationContainerHandler
public class NavigationContainerHandler
Class that shows all available navigation refinements.
Constructor Summary | |
---|---|
NavigationContainerHandler()
|
Method Summary | |
---|---|
String |
getRefinementMenuType()
Returns the RefinementMenu type. |
void |
preprocess(NavigationContainerConfig pContentItem)
Initializes the showAll fields. |
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. |
Methods inherited from class com.endeca.infront.cartridge.NavigationCartridgeHandler |
---|
createMdexRequest, dispatchNavigationEventInformation, executeMdexRequest, getActionPathProvider, getContentItemInitializer, getMdexRequestBroker, getNavigationState, initialize, populateNavigationPathDefaults, setActionPathProvider, setContentItemInitializer, setMdexRequestBroker, setNavigationState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NavigationContainerHandler()
Method Detail |
---|
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
preprocess
in interface CartridgeHandler<NavigationContainerConfig>
preprocess
in class NavigationCartridgeHandler<NavigationContainerConfig,NavigationContainer>
pContentItem
- the cartridge configuration returned by
CartridgeHandler.initialize(ContentItem)
. This cartridge configuration may
be modified by this handler. Note that this cartridge configuration is
also passed to CartridgeHandler.process(ContentItem)
.
CartridgeHandlerException
- if an error occurs that is scoped to
an individual cartridge instance. This exception will not halt
the entire assembly process, which occurs across multiple cartridges;
instead, this exception will be packaged in the overall response model.
If an unchecked exception is thrown, then the entire assembly process
will be halted.public NavigationContainer process(NavigationContainerConfig pContentItem) throws CartridgeHandlerException
RefinementMenu
s and creates the output NavigationContainer
model.
process
in interface CartridgeHandler<NavigationContainerConfig>
process
in class NavigationCartridgeHandler<NavigationContainerConfig,NavigationContainer>
pContentItem
- the cartridge configuration returned by
CartridgeHandler.initialize(ContentItem)
. Note that this instance may have been modified by
the CartridgeHandler.preprocess(ContentItem)
method.
NavigationContainer
model class containing RefinementMenu
s.
CartridgeHandlerException
- if an error occurs that is scoped to
an individual cartridge instance. This exception will not halt
the entire assembly process, which occurs across multiple cartridges;
instead, this exception will be packaged in the overall response model.
If an unchecked exception is thrown, then the entire assembly process
will be halted.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |