public class SearchAdjustmentsHandler extends NavigationCartridgeHandler<SearchAdjustmentsConfig,SearchAdjustments>
SearchAdjustments model objects.| Constructor and Description |
|---|
SearchAdjustmentsHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
preprocess(SearchAdjustmentsConfig cartridgeConfig)
Creates an MDEX query with spell and phrase Did You Mean enabled.
|
SearchAdjustments |
process(SearchAdjustmentsConfig cartridgeConfig)
Always returns a SearchAdjustments object, even if no search adjustments have been suggested.
|
protected SearchAdjustmentsConfig |
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, setSiteStateprotected SearchAdjustmentsConfig 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<SearchAdjustmentsConfig,SearchAdjustments>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(SearchAdjustmentsConfig cartridgeConfig) throws CartridgeHandlerException
preprocess in class NavigationCartridgeHandler<SearchAdjustmentsConfig,SearchAdjustments>CartridgeHandlerExceptionpublic SearchAdjustments process(SearchAdjustmentsConfig cartridgeConfig) throws CartridgeHandlerException
process in class NavigationCartridgeHandler<SearchAdjustmentsConfig,SearchAdjustments>CartridgeHandlerExceptionCopyright © 2014, Oracle and/or its affiliates. All rights reserved.