November Happy Hour will be moved to Thursday December 5th.

Interface IContentQueryHelper

Namespace: EPiServer.Cms.Shell.UI.Rest.ContentQuery
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7
Syntax
public interface IContentQueryHelper

Methods

ApplyRange(IEnumerable<IContent>, ItemRange)

Declaration
ContentRange ApplyRange(IEnumerable<IContent> items, ItemRange requestedRange)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IContent> items
ItemRange requestedRange
Returns
Type Description
ContentRange

FilterAccess(IEnumerable<IContent>, AccessLevel)

Declaration
IEnumerable<IContent> FilterAccess(IEnumerable<IContent> items, AccessLevel requiredAccess)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IContent> items
AccessLevel requiredAccess
Returns
Type Description
System.Collections.Generic.IEnumerable<IContent>

FilterDeletedBy(IEnumerable<IContent>, String)

Declaration
IEnumerable<IContent> FilterDeletedBy(IEnumerable<IContent> items, string deletedBy)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IContent> items
System.String deletedBy
Returns
Type Description
System.Collections.Generic.IEnumerable<IContent>

FilterLanguage(IEnumerable<IContent>, Boolean)

Declaration
IEnumerable<IContent> FilterLanguage(IEnumerable<IContent> items, bool allLanguages)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IContent> items
System.Boolean allLanguages
Returns
Type Description
System.Collections.Generic.IEnumerable<IContent>

FilterNewerPublishedVersion(IEnumerable<IContent>, Nullable<DateTime>)

Declaration
IEnumerable<IContent> FilterNewerPublishedVersion(IEnumerable<IContent> items, DateTime? requestTime)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IContent> items
System.Nullable<System.DateTime> requestTime
Returns
Type Description
System.Collections.Generic.IEnumerable<IContent>

FilterTypeIdentifier(IEnumerable<IContent>, IEnumerable<String>)

Declaration
IEnumerable<IContent> FilterTypeIdentifier(IEnumerable<IContent> items, IEnumerable<string> typeIdentifiers)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IContent> items
System.Collections.Generic.IEnumerable<System.String> typeIdentifiers
Returns
Type Description
System.Collections.Generic.IEnumerable<IContent>

FilterWasteBasket(IEnumerable<IContent>)

Declaration
IEnumerable<IContent> FilterWasteBasket(IEnumerable<IContent> items)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IContent> items
Returns
Type Description
System.Collections.Generic.IEnumerable<IContent>

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

Declaration
IEnumerable<IContent> Sort(IEnumerable<IContent> items, IEnumerable<SortColumn> sortColumns)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IContent> items
System.Collections.Generic.IEnumerable<SortColumn> sortColumns
Returns
Type Description
System.Collections.Generic.IEnumerable<IContent>

Extension Methods