Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class GetSalesCampaignQueryBase

Inheritance
System.Object
GetSalesCampaignQueryBase
Namespace: EPiServer.Commerce.Shell.Rest.Query
Assembly: EPiServer.Commerce.Shell.dll
Version: 14.26.0
Syntax
public abstract class GetSalesCampaignQueryBase : GetChildrenQuery

Constructors

GetSalesCampaignQueryBase(IContentQueryHelper, IContentRepository, LanguageSelectorFactory, CampaignInfoExtractor, UserInterfaceOptions)

Declaration
public GetSalesCampaignQueryBase(IContentQueryHelper queryHelper, IContentRepository contentRepository, LanguageSelectorFactory languageSelectorFactory, CampaignInfoExtractor campaignInfoExtractor, UserInterfaceOptions userInterfaceOptions)
Parameters
Type Name Description
EPiServer.Cms.Shell.UI.Rest.ContentQuery.IContentQueryHelper queryHelper
EPiServer.IContentRepository contentRepository
EPiServer.Core.LanguageSelectorFactory languageSelectorFactory
CampaignInfoExtractor campaignInfoExtractor
EPiServer.Shell.Web.Internal.UserInterfaceOptions userInterfaceOptions

Fields

CampaignInfoExtractor

Declaration
protected readonly CampaignInfoExtractor CampaignInfoExtractor
Field Value
Type Description
CampaignInfoExtractor

ContentRepository

Declaration
protected readonly IContentRepository ContentRepository
Field Value
Type Description
EPiServer.IContentRepository

Properties

FacetFunctions

Declaration
protected abstract IEnumerable<GetContentsByFacet> FacetFunctions { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<GetContentsByFacet>

Methods

CanHandleQuery(IQueryParameters)

Declaration
public override bool CanHandleQuery(IQueryParameters parameters)
Parameters
Type Name Description
EPiServer.Shell.Rest.IQueryParameters parameters
Returns
Type Description
System.Boolean

Filter(IEnumerable<IContent>, ContentQueryParameters)

Declaration
protected override IEnumerable<IContent> Filter(IEnumerable<IContent> items, ContentQueryParameters parameters)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<EPiServer.Core.IContent> items
EPiServer.Cms.Shell.UI.Rest.ContentQuery.ContentQueryParameters parameters
Returns
Type Description
System.Collections.Generic.IEnumerable<EPiServer.Core.IContent>

GetCampaignRoot()

Declaration
protected virtual ContentReference GetCampaignRoot()
Returns
Type Description
EPiServer.Core.ContentReference