C# Class OxxCommerceStarterKit.Web.Business.Search.FindProductUiSearchProvider

Inheritance: ISearchProvider
Afficher le fichier Open project: episerver/Commerce-Demo-Kit

Protected Properties

Свойство Type Description
_log ILogger

Méthodes publiques

Méthode Description
FindProductUiSearchProvider ( EPiServer.Framework.Localization.LocalizationService localizationService, ICatalogSystem catalogSystem ) : System.Collections.Generic
FindProductUiSearchProvider ( EPiServer.Framework.Localization.LocalizationService localizationService, ICatalogSystem catalogSystem, ReferenceConverter referenceConverter, IContentLoader contentLoader ) : System.Collections.Generic
Search ( Query query ) : IEnumerable

Executes a catalog search using EPiServer Find. This search works from the Catalog UI, the global search and

This implementation is not generic, since it knows all about the catalog model, and how the products are indexed. Because of this, we can create a good product search for editors.

Méthodes protégées

Méthode Description
GetEditUrl ( EPiServer.Core.ContentReference contentLink ) : string

Gets the edit URL for the content which should work from the different searches

This implementation has knowledge of the UI internals, which should really have been solved by an API call.

Method Details

FindProductUiSearchProvider() public méthode

public FindProductUiSearchProvider ( EPiServer.Framework.Localization.LocalizationService localizationService, ICatalogSystem catalogSystem ) : System.Collections.Generic
localizationService EPiServer.Framework.Localization.LocalizationService
catalogSystem ICatalogSystem
Résultat System.Collections.Generic

FindProductUiSearchProvider() public méthode

public FindProductUiSearchProvider ( EPiServer.Framework.Localization.LocalizationService localizationService, ICatalogSystem catalogSystem, ReferenceConverter referenceConverter, IContentLoader contentLoader ) : System.Collections.Generic
localizationService EPiServer.Framework.Localization.LocalizationService
catalogSystem ICatalogSystem
referenceConverter ReferenceConverter
contentLoader IContentLoader
Résultat System.Collections.Generic

GetEditUrl() protected méthode

Gets the edit URL for the content which should work from the different searches
This implementation has knowledge of the UI internals, which should really have been solved by an API call.
protected GetEditUrl ( EPiServer.Core.ContentReference contentLink ) : string
contentLink EPiServer.Core.ContentReference The content link.
Résultat string

Search() public méthode

Executes a catalog search using EPiServer Find. This search works from the Catalog UI, the global search and
This implementation is not generic, since it knows all about the catalog model, and how the products are indexed. Because of this, we can create a good product search for editors.
public Search ( Query query ) : IEnumerable
query Query The query to execute
Résultat IEnumerable

Property Details

_log protected_oe property

protected ILogger _log
Résultat ILogger