| 
 | ||||||||||
| 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 RefinementMenutype. | 
|  void | preprocess(NavigationContainerConfig pContentItem)Initializes the showAll fields and sets mMdexRequest. | 
|  NavigationContainer | process(NavigationContainerConfig pContentItem)Builds the RefinementMenus and creates the outputNavigationContainermodel. | 
|  void | setRefinementMenuType(String refinementMenuType)Sets the type for RefinementMenus created by this class. | 
| protected  NavigationContainerConfig | wrapConfig(ContentItem pContentItem)Wraps the input ContentItemas 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)
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 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
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 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 RefinementMenus.
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 | |||||||||