Class WorkflowEdit
General tab of a Workflow edit page.
public sealed class WorkflowEdit : InfoEditPage<ContentWorkflowInfo>, IPage
- Inheritance
-
objectWorkflowEdit
- Implements
- Inherited Members
- Extension Methods
Constructors
WorkflowEdit(IFormComponentMapper, IFormDataBinder)
Creates a new instance of WorkflowEdit.
public WorkflowEdit(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder)
Parameters
formComponentMapper
IFormComponentMapperformDataBinder
IFormDataBinder
Properties
ObjectId
ID of the object.
[PageParameter(typeof(IntPageModelBinder))]
public override int ObjectId { get; set; }
Property Value
- int
Methods
ConfigurePage()
Set up page's configuration. Configures the submit action.
public override Task ConfigurePage()
Returns
- Task
GetFormItems()
Prepares form items for editing object of the specified ObjectType.
protected override Task<ICollection<IFormItem>> GetFormItems()
Returns
- Task<ICollection<IFormItem>>
Returns the collection of form items.
SetFormData(ContentWorkflowInfo, IFormFieldValueProvider)
Sets the infoObject
.
protected override Task SetFormData(ContentWorkflowInfo infoObject, IFormFieldValueProvider fieldValueProvider)
Parameters
infoObject
ContentWorkflowInfoInfo object to be set.
fieldValueProvider
IFormFieldValueProviderProvider of form field values.
Returns
- Task