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 GetChildrenQuery

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

Constructors

GetChildrenQuery(IContentProviderManager, IContentQueryHelper, IContentRepository, LanguageSelectorFactory, IRelationRepository, ReferenceConverter, IEnumerable<IContentCapability>, UIDescriptorRegistry, GetContentsBatchedHandler, RangeLoader, IHttpContextAccessor, UserInterfaceOptions, ICatalogSystem)

Declaration
public GetChildrenQuery(IContentProviderManager contentProviderManager, IContentQueryHelper queryHelper, IContentRepository contentRepository, LanguageSelectorFactory languageSelectorFactory, IRelationRepository relationRepository, ReferenceConverter referenceConverter, IEnumerable<IContentCapability> contentCapabilities, UIDescriptorRegistry uiDescriptorRegistry, GetContentsBatchedHandler getContentsBatchedHandler, RangeLoader rangeLoader, IHttpContextAccessor httpContextAccessor, UserInterfaceOptions userInterfaceOptions, ICatalogSystem catalogSystem)
Parameters
Type Name Description
EPiServer.Core.IContentProviderManager contentProviderManager
EPiServer.Cms.Shell.UI.Rest.ContentQuery.IContentQueryHelper queryHelper
EPiServer.IContentRepository contentRepository
EPiServer.Core.LanguageSelectorFactory languageSelectorFactory
IRelationRepository relationRepository
ReferenceConverter referenceConverter
System.Collections.Generic.IEnumerable<EPiServer.Cms.Shell.UI.Rest.Capabilities.IContentCapability> contentCapabilities
EPiServer.Shell.UIDescriptorRegistry uiDescriptorRegistry
GetContentsBatchedHandler getContentsBatchedHandler
EPiServer.Cms.Shell.UI.Rest.ContentQuery.Internal.RangeLoader rangeLoader
Microsoft.AspNetCore.Http.IHttpContextAccessor httpContextAccessor
EPiServer.Shell.Web.Internal.UserInterfaceOptions userInterfaceOptions
ICatalogSystem catalogSystem

Properties

BatchSize

Declaration
protected virtual int BatchSize { get; }
Property Value
Type Description
System.Int32

Rank

Declaration
public override int Rank { get; }
Property Value
Type Description
System.Int32

Methods

CanHandleQuery(IQueryParameters)

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

ExecuteQuery(IQueryParameters)

Declaration
public override QueryRange<IContent> ExecuteQuery(IQueryParameters parameters)
Parameters
Type Name Description
EPiServer.Shell.Rest.IQueryParameters parameters
Returns
Type Description
EPiServer.Shell.Rest.QueryRange<EPiServer.Core.IContent>

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>

GetChildrenReferences(ContentReference)

Declaration
protected virtual IList<GetChildrenReferenceResult> GetChildrenReferences(ContentReference parentLink)
Parameters
Type Name Description
EPiServer.Core.ContentReference parentLink
Returns
Type Description
System.Collections.Generic.IList<EPiServer.Core.GetChildrenReferenceResult>

GetEntryChildren(ContentReference)

Declaration
protected virtual IList<ContentReference> GetEntryChildren(ContentReference entryLink)
Parameters
Type Name Description
EPiServer.Core.ContentReference entryLink
Returns
Type Description
System.Collections.Generic.IList<EPiServer.Core.ContentReference>

InternalSort(IEnumerable<IContent>, IEnumerable<SortColumn>)

Declaration
protected virtual IEnumerable<IContent> InternalSort(IEnumerable<IContent> items, IEnumerable<SortColumn> sortColumns)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<EPiServer.Core.IContent> items
System.Collections.Generic.IEnumerable<EPiServer.Shell.Services.Rest.SortColumn> sortColumns
Returns
Type Description
System.Collections.Generic.IEnumerable<EPiServer.Core.IContent>

Range(IEnumerable<IContent>, ContentQueryParameters)

Declaration
protected override ContentRange Range(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
EPiServer.Cms.Shell.UI.Rest.ContentQuery.ContentRange

Sort(IEnumerable<IContent>, ContentQueryParameters)

Declaration
protected override IEnumerable<IContent> Sort(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>