Property | Type | Description | |
---|---|---|---|
_log | ILogger |
Method | 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. |
Method | 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. |
public FindProductUiSearchProvider ( EPiServer.Framework.Localization.LocalizationService localizationService, ICatalogSystem catalogSystem ) : System.Collections.Generic | ||
localizationService | EPiServer.Framework.Localization.LocalizationService | |
catalogSystem | ICatalogSystem | |
return | System.Collections.Generic |
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 | |
return | System.Collections.Generic |
protected GetEditUrl ( EPiServer.Core.ContentReference contentLink ) : string | ||
contentLink | EPiServer.Core.ContentReference | The content link. |
return | string |
public Search ( Query query ) : IEnumerable |
||
query | Query | The query to execute |
return | IEnumerable |