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

Class ContentActivitiesQueryBase

Inheritance
System.Object
ContentActivitiesQueryBase
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Cms.Shell.UI.Rest.ContentQuery
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7
Syntax
public abstract class ContentActivitiesQueryBase : IContentQuery, IRestQuery<IContent>

Constructors

ContentActivitiesQueryBase(IContentQueryHelper, IContentRepository)

Declaration
protected ContentActivitiesQueryBase(IContentQueryHelper queryHelper, IContentRepository contentRepository)
Parameters
Type Name Description
IContentQueryHelper queryHelper
IContentRepository contentRepository

Properties

DisplayName

Declaration
public abstract string DisplayName { get; }
Property Value
Type Description
System.String

Name

Declaration
public abstract string Name { get; }
Property Value
Type Description
System.String

PlugInAreas

Declaration
public abstract IEnumerable<string> PlugInAreas { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>

Rank

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

RequiredAccess

Declaration
protected virtual AccessLevel RequiredAccess { get; }
Property Value
Type Description
AccessLevel

SortOrder

Declaration
public abstract int SortOrder { get; }
Property Value
Type Description
System.Int32

VersionSpecific

Declaration
public virtual bool VersionSpecific { get; }
Property Value
Type Description
System.Boolean

Methods

CanHandleQuery(IQueryParameters)

Declaration
public virtual bool CanHandleQuery(IQueryParameters parameters)
Parameters
Type Name Description
IQueryParameters parameters
Returns
Type Description
System.Boolean

ExecuteQuery(IQueryParameters)

Declaration
public QueryRange<IContent> ExecuteQuery(IQueryParameters parameters)
Parameters
Type Name Description
IQueryParameters parameters
Returns
Type Description
QueryRange<IContent>

Filter(IEnumerable<IContent>, ContentQueryParameters)

Declaration
protected virtual IEnumerable<IContent> Filter(IEnumerable<IContent> items, ContentQueryParameters parameters)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IContent> items
ContentQueryParameters parameters
Returns
Type Description
System.Collections.Generic.IEnumerable<IContent>

GetActivities(Int32, Int32, IPrincipal, String)

Declaration
protected abstract IList<ContentVersion> GetActivities(int offset, int count, IPrincipal user, string language)
Parameters
Type Name Description
System.Int32 offset
System.Int32 count
System.Security.Principal.IPrincipal user
System.String language
Returns
Type Description
System.Collections.Generic.IList<ContentVersion>

Sort(IEnumerable<IContent>, ContentQueryParameters)

Declaration
protected virtual IEnumerable<IContent> Sort(IEnumerable<IContent> items, ContentQueryParameters parameters)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IContent> items
ContentQueryParameters parameters
Returns
Type Description
System.Collections.Generic.IEnumerable<IContent>

Implements

Extension Methods