Class GetChildrenQuery

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

Constructors

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

Declaration
public GetChildrenQuery(IContentProviderManager contentProviderManager, IContentQueryHelper queryHelper, IContentRepository contentRepository, LanguageSelectorFactory languageSelectorFactory, IRelationRepository relationRepository, ReferenceConverter referenceConverter, IEnumerable<IContentCapability> contentCapabilities, UIDescriptorRegistry uiDescriptorRegistry, GetContentsBatchedHandler getContentsBatchedHandler)
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

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

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>

GetContent(ContentQueryParameters)

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

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>