Class WorkflowDefinitionDataSource
DataSource control for WorkflowDefinition
Inheritance
Implements
Inherited Members
Namespace: EPiServer.WorkflowFoundation.WebControls
Assembly: EPiServer.WorkflowFoundation.dll
Version: 7.19.2Syntax
public class WorkflowDefinitionDataSource : GenericDataSource<WorkflowDefinition, List<WorkflowDefinition>, Guid>, IDataSourceMethodsConstructors
WorkflowDefinitionDataSource()
Declaration
public WorkflowDefinitionDataSource()Properties
CanInsert
Gets a value indicating whether this instance can insert.
Declaration
protected override bool CanInsert { get; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | false | 
Overrides
CanUpdate
Gets a value indicating whether this instance can update.
Declaration
protected override bool CanUpdate { get; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | false | 
Overrides
DefinitionId
Gets or sets if the data source control should load a specific instance
Declaration
public Guid DefinitionId { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Guid | The definition id. | 
DefinitionName
Gets or sets if the data source control should load a specific instance
Declaration
public string DefinitionName { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | The name of the definition. | 
KeyName
Gets the KeyName for this control
Declaration
protected override string KeyName { get; }Property Value
| Type | Description | 
|---|---|
| System.String | DefinitionId | 
Overrides
Methods
CreateItem(List<WorkflowDefinition>)
Creates the item. Not implemented
Declaration
protected override WorkflowDefinition CreateItem(List<WorkflowDefinition> items)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.Generic.List<WorkflowDefinition> | items | The items. | 
Returns
| Type | Description | 
|---|---|
| WorkflowDefinition | 
Overrides
Delete(IDictionary)
Deletes the specified values.
Declaration
public override int Delete(IDictionary values)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.IDictionary | values | The values. | 
Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
DeleteItem(WorkflowDefinition)
Deletes the item.
Declaration
protected override void DeleteItem(WorkflowDefinition item)Parameters
| Type | Name | Description | 
|---|---|---|
| WorkflowDefinition | item | The item. | 
Overrides
IsValid(WorkflowDefinition, ref String)
Determines whether the specified item is valid.
Declaration
protected override bool IsValid(WorkflowDefinition item, ref string message)Parameters
| Type | Name | Description | 
|---|---|---|
| WorkflowDefinition | item | The item. | 
| System.String | message | The message. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
 | 
Overrides
ListItems()
Lists the workflow definitions
Declaration
protected override List<WorkflowDefinition> ListItems()Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.List<WorkflowDefinition> | 
Overrides
LoadItem(Guid)
Loads the workflow defintion
Declaration
protected override WorkflowDefinition LoadItem(Guid key)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Guid | key | The key. | 
Returns
| Type | Description | 
|---|---|
| WorkflowDefinition | 
Overrides
SaveItem(WorkflowDefinition)
Saves the item. Not implemented
Declaration
protected override void SaveItem(WorkflowDefinition item)Parameters
| Type | Name | Description | 
|---|---|---|
| WorkflowDefinition | item | The item. | 
