Class GetQueryBase<T>
Inheritance
System.Object
GetQueryBase<T>
Implements
EPiServer.Shell.Rest.IRestQuery<T>
Assembly: EPiServer.Commerce.Shell.dll
Version: 14.26.0
Syntax
public abstract class GetQueryBase<T> : Object, IRestQuery<T> where T : ICloneable
Type Parameters
Constructors
Declaration
public GetQueryBase(ReferenceConverter referenceConverter)
Parameters
Properties
Name
Declaration
public abstract string Name { get; }
Property Value
Type |
Description |
System.String |
|
Rank
Declaration
public virtual int Rank { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
CanHandleQuery(IQueryParameters)
Declaration
public virtual bool CanHandleQuery(IQueryParameters parameters)
Parameters
Type |
Name |
Description |
EPiServer.Shell.Rest.IQueryParameters |
parameters |
|
Returns
Type |
Description |
System.Boolean |
|
ExecuteQuery(IQueryParameters)
Declaration
public virtual QueryRange<T> ExecuteQuery(IQueryParameters parameters)
Parameters
Type |
Name |
Description |
EPiServer.Shell.Rest.IQueryParameters |
parameters |
|
Returns
Type |
Description |
EPiServer.Shell.Rest.QueryRange<T> |
|
Filter(IEnumerable<T>, DefaultQueryParameters)
Declaration
protected virtual IEnumerable<T> Filter(IEnumerable<T> items, DefaultQueryParameters parameters)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T> |
items |
|
EPiServer.Cms.Shell.UI.Rest.DefaultQueryParameters |
parameters |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
GetItems(DefaultQueryParameters)
Declaration
protected virtual IEnumerable<T> GetItems(DefaultQueryParameters parameters)
Parameters
Type |
Name |
Description |
EPiServer.Cms.Shell.UI.Rest.DefaultQueryParameters |
parameters |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
GetItems(ContentReference, DefaultQueryParameters)
Declaration
protected abstract IEnumerable<T> GetItems(ContentReference contentLink, DefaultQueryParameters parameters)
Parameters
Type |
Name |
Description |
EPiServer.Core.ContentReference |
contentLink |
|
EPiServer.Cms.Shell.UI.Rest.DefaultQueryParameters |
parameters |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
GetItems(ContentReference, DefaultQueryParameters, Int32, Int32, out Int32)
Declaration
protected abstract IEnumerable<T> GetItems(ContentReference contentLink, DefaultQueryParameters parameters, int start, int numberOfRecord, out int total)
Parameters
Type |
Name |
Description |
EPiServer.Core.ContentReference |
contentLink |
|
EPiServer.Cms.Shell.UI.Rest.DefaultQueryParameters |
parameters |
|
System.Int32 |
start |
|
System.Int32 |
numberOfRecord |
|
System.Int32 |
total |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
Range(IEnumerable<T>, ItemRange)
Declaration
protected QueryRange<T> Range(IEnumerable<T> items, ItemRange requestedRange)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T> |
items |
|
EPiServer.Shell.Services.Rest.ItemRange |
requestedRange |
|
Returns
Type |
Description |
EPiServer.Shell.Rest.QueryRange<T> |
|
Implements
EPiServer.Shell.Rest.IRestQuery<>