public class WebContentNavigationSuggestion extends AbstractNavigationSuggestion implements NavigationSuggestion
This class implements the NavigationSuggestion
interface to provide navigation suggestions
for 'Articles' of the web content entries from the unstructured content search index.
Below is an XML snippet of the information the web service will return for this handler. The information returned is:
<_cat:CatalogNavigationView>
<_cat:BreadCrumbTrailView/>
<_wcf:UserData/>
<_cat:SuggestionView>
<_cat:Identifier>Articles</_cat:Identifier>
<_cat:Label>Articles</_cat:Label>
<_cat:Entry>
<_cat:Name>User Manual for KICOF-01</_cat:Name>
<_cat:Value>MadisonsFEP/images/attachments/en_US/KICOF-01_usermanual.pdf</_cat:Value>
</_cat:Entry>
<_cat:Entry>
<_cat:Name>Warranty for FULE-02</_cat:Name>
<_cat:Value>MadisonsFEP/images/attachments/en_US/FULE-02_warranty.pdf</_cat:Value>
</_cat:Entry>
</_cat:SuggestionView>
</_cat:CatalogNavigationView>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
WebContentNavigationSuggestion() |
Modifier and Type | Method and Description |
---|---|
void |
populateSuggestion(java.lang.String profile,
com.ibm.commerce.catalog.facade.datatypes.SuggestionViewType suggestionView)
This method will populate the web content navigation suggestion for use in the storefront.
|
getProperties, setProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProperties, setProperties
public static final java.lang.String COPYRIGHT
public void populateSuggestion(java.lang.String profile, com.ibm.commerce.catalog.facade.datatypes.SuggestionViewType suggestionView)
This method will populate the web content navigation suggestion for use in the storefront.
populateSuggestion
in interface NavigationSuggestion
populateSuggestion
in class AbstractNavigationSuggestion
profile
- The search profile name.suggestionView
- An instantiated SuggestionViewType
object. If this navigation suggestion handler was
configured with a name, the identifier will be pre-populated in the SuggestionViewType
object.WebContentNavigationSuggestion
,
NavigationSuggestion.populateSuggestion(String, SuggestionViewType)
,
AbstractNavigationSuggestion.populateSuggestion(String, SuggestionViewType)