public class BrandNavigationSuggestion extends AbstractNavigationSuggestion implements NavigationSuggestion
This class implements the NavigationSuggestion interface to provide navigation suggestions for the 'Brands' of the catalog entries from the catalog entry search index. It will return all of the Brands scoped to the current catalog and store.
Below is an XML snippet of the information the webservice will return for this navigation suggestion handler. The information returned is:
Here is example web service response for a Brand navigation suggestion:
<_cat:CatalogNavigationView> <_cat:BreadCrumbTrailView/> <_wcf:UserData/> <_cat:SuggestionView> <_cat:Identifier>Brand</_cat:Identifier> <_cat:Label>Brand</_cat:Label> <_cat:Entry> <_cat:Name>MapleWear</_cat:Name> <_cat:Value>mfName_ntk_cs</_cat:Value> <_cat:Image>MapleWear</_cat:Image> <_cat:UserData> <_wcf:UserDataField name="Count">418</_wcf:UserDataField> </_cat:UserData> </_cat:Entry> <_cat:Entry> <_cat:Name>Sharpson</_cat:Name> <_cat:Value>mfName_ntk_cs</_cat:Value> <_cat:Image>Sharpson</_cat:Image> <_cat:UserData> <_wcf:UserDataField name="Count">20</_wcf:UserDataField> </_cat:UserData> </_cat:Entry> </_cat:SuggestionView> </_cat:CatalogNavigationView>
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
BrandNavigationSuggestion() |
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 Brand navigation suggestion for use in the storefront.
|
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 Brand navigation suggestion for use in the storefront.