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

Class WorkflowTaskRepository

Default implementaion of IWorkflowTaskRepository.

Inheritance
System.Object
WorkflowTaskRepository
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.DataAbstraction
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
[Obsolete("The old workflow system have been removed as of CMS 9")]
[ServiceConfiguration(typeof(IWorkflowTaskRepository))]
public class WorkflowTaskRepository : IWorkflowTaskRepository

Constructors

WorkflowTaskRepository(ServiceAccessor<TaskDB>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the WorkflowTaskRepository class.

Declaration
public WorkflowTaskRepository(ServiceAccessor<TaskDB> taskDataAccess)
Parameters
Type Name Description
ServiceAccessor<TaskDB> taskDataAccess

The task data access.

Methods

List(IPrincipal)

Gets all tasks which the principal has permission to view.

Declaration
public IEnumerable<Task> List(IPrincipal user)
Parameters
Type Name Description
System.Security.Principal.IPrincipal user

The principal to list tasks for.

Returns
Type Description
System.Collections.Generic.IEnumerable<Task>

Collection of Task objects

Implements

Extension Methods