Class DcmBaseChangeStageUserTask
Flow element that that change dcm stage.
Inheritance
System.Object
DcmBaseChangeStageUserTask
Implements
Inherited Members
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: Terrasoft.Core.DcmProcess
Assembly: Terrasoft.Core.dll
Syntax
public class DcmBaseChangeStageUserTask : ProcessUserTask, IProcessDataSerializable, IHandler<ChangeProcessElementPerformerCommand>
Constructors
DcmBaseChangeStageUserTask(UserConnection)
Initializes a new instance of the DcmBaseChangeStageUserTask class.
The user connection.Declaration
public DcmBaseChangeStageUserTask(UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection |
Properties
Connections
Declaration
protected List<DcmSchemaStageConnection> Connections { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<DcmSchemaStageConnection> |
DcmSchema
Declaration
protected DcmSchema DcmSchema { get; }
Property Value
Type | Description |
---|---|
DcmSchema |
EntitySchemaUId
Gets dcm entity schema identifier.
Declaration
public Guid EntitySchemaUId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
RecordId
Gets dcm entity record identifier.
Declaration
public Guid RecordId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
StageColumnUId
Gets stage column identifier.
Declaration
public Guid StageColumnUId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Stages
Declaration
protected BaseProcessSchemaFactoryMetaItemCollection<DcmSchemaStage> Stages { get; }
Property Value
Type | Description |
---|---|
BaseProcessSchemaFactoryMetaItemCollection<DcmSchemaStage> |
Methods
ApplyPropertiesDataValues(DataReader)
Applies state of the current process element.
Declaration
protected override void ApplyPropertiesDataValues(DataReader reader)
Parameters
Type | Name | Description |
---|---|---|
DataReader | reader | Instance that provides sequential reading of data. |
Overrides
GetNextStageId(Entity)
Returns next stage record identifier.
Declaration
protected virtual Guid GetNextStageId(Entity entity)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | Stage entity. |
Returns
Type | Description |
---|---|
System.Guid | The new stage value with System.Guid. |
InternalExecute(ProcessExecutingContext)
Executes the current element.
Declaration
protected override bool InternalExecute(ProcessExecutingContext context)
Parameters
Type | Name | Description |
---|---|---|
ProcessExecutingContext | context | Process executing context. |
Returns
Type | Description |
---|---|
System.Boolean |
|