Class DcmSchemaStage
Inherited Members
Namespace: Terrasoft.Core.DcmProcess
Assembly: Terrasoft.Core.dll
Syntax
[MetaType("DB14E83F-315B-46A4-B8A2-88F0851DC5EC")]
public class DcmSchemaStage : BaseProcessSchemaElement, IMetaItem, IMetaDataSerializable, ICloneable, IFlowElementFactory, IFlowElement, IProcessElementInstanceFactory
Constructors
DcmSchemaStage()
Creates a new instance.
Declaration
public DcmSchemaStage()
DcmSchemaStage(DcmSchemaStage)
Creates a new instance that is a copy of another instance.
Declaration
protected DcmSchemaStage(DcmSchemaStage source)
Parameters
Type | Name | Description |
---|---|---|
DcmSchemaStage | source | Instance of the DcmSchemaStage type. |
Properties
Color
Color.
Declaration
[MetaTypeProperty("{2FD5ACA7-9B7C-4E08-B178-77A417FC00DF}")]
public string Color { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Elements
Declaration
public BaseProcessSchemaFactoryMetaItemCollection<DcmSchemaElement> Elements { get; }
Property Value
Type | Description |
---|---|
BaseProcessSchemaFactoryMetaItemCollection<DcmSchemaElement> |
IsAlternative
Gets flag that indicates alternative stage.
Declaration
public bool IsAlternative { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDefault
Gets or sets a value indicating whether this instance is default stage schema. Default stage is used to run DCM process when current case entity moved to stage that is not described in current DCM schema.
Declaration
public bool IsDefault { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsSuccessful
Indicates if stage is successful.
Declaration
[MetaTypeProperty("{EC46304D-CD42-42A7-9130-1E379BDF7CF3}")]
public bool IsSuccessful { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ParentMetaSchema
Parent MetaSchema that contains this instance.
Declaration
public override IMetaSchema ParentMetaSchema { get; set; }
Property Value
Type | Description |
---|---|
IMetaSchema |
Overrides
ParentStageUId
Parent stage identifier.
Declaration
[MetaTypeProperty("{4CB17F68-40C8-4198-AA2B-0AE752BE2FA1}")]
public Guid ParentStageUId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Permissions
Stage permissions.
Declaration
[MetaTypeProperty("{B7ED391A-C71A-425D-BF71-4EE0DFD6DEF2}")]
public DcmSchemaStagePermission Permissions { get; set; }
Property Value
Type | Description |
---|---|
DcmSchemaStagePermission |
StageRecordId
Stage record identifier.
Declaration
[MetaTypeProperty("{E75C4062-A69E-47A4-A7E5-E3085B5EF912}")]
public Guid StageRecordId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
TransitionType
Next stage transition type.
Declaration
[MetaTypeProperty("{D45B9E7E-9214-4F9C-A469-82A98C0A29EA}")]
public TransitionType TransitionType { get; set; }
Property Value
Type | Description |
---|---|
TransitionType |
UsePermissions
Mark of stage permissions enabled.
Declaration
[MetaTypeProperty("{EA1C19CD-1525-4409-9748-3A11E69F86E9}")]
public bool UsePermissions { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
ApplyMetaDataValue(DataReader)
Applies meta data values.
Declaration
protected override void ApplyMetaDataValue(DataReader reader)
Parameters
Type | Name | Description |
---|---|---|
DataReader | reader | Instance of the |
Overrides
CanSkipAutoTransition()
Returns flag that indicates if stage has after transitions and required elements.
Declaration
protected bool CanSkipAutoTransition()
Returns
Type | Description |
---|---|
System.Boolean | Flag. |
Clone()
Creates a new instance that is a copy of the current instance.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object |
Overrides
CreateFlowElement(FlowSchema)
Creates flow element.
Declaration
public override FlowElement CreateFlowElement(FlowSchema flowSchema)
Parameters
Type | Name | Description |
---|---|---|
FlowSchema | flowSchema | Instance of the FlowSchema type. |
Returns
Type | Description |
---|---|
FlowElement | Instance of the FlowElement type. |
Overrides
CreateProcessElement(UserConnection)
Creates the process element.
Declaration
public ProcessFlowElement CreateProcessElement(UserConnection userConnection)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection | The user connection. |
Returns
Type | Description |
---|---|
ProcessFlowElement | The process element instance. |
GetLocalizableValues(ICollection<LocalizableValue>, Boolean)
Returns localizable values list.
Declaration
protected override void GetLocalizableValues(ICollection<LocalizableValue> values, bool includeInherited)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.ICollection<LocalizableValue> | values | Localizable values list. |
System.Boolean | includeInherited | Flag that indicates include inherited resources or not. |
Overrides
GetMetaItems(ICollection<IMetaItem>)
Fills collection with items of the meta data.
Declaration
public override void GetMetaItems(ICollection<IMetaItem> metaItems)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.ICollection<IMetaItem> | metaItems | Collection of the meta items. |
Overrides
InitializeLocalizableValues(IResourceStorage, String, String)
Initializes resources from the specified storage from the specified manager and resorce group name.
Declaration
protected override void InitializeLocalizableValues(IResourceStorage storage, string resourceManagerName, string resourceGroupName)
Parameters
Type | Name | Description |
---|---|---|
IResourceStorage | storage | Resource storage. |
System.String | resourceManagerName | Resource manager name. |
System.String | resourceGroupName | Resource group name. |
Overrides
LoadLocalizableValues()
Loads localizable value.
Declaration
protected override void LoadLocalizableValues()
Overrides
WriteMetaData(DataWriter)
Writes meta data values.
Declaration
public override void WriteMetaData(DataWriter writer)
Parameters
Type | Name | Description |
---|---|---|
DataWriter | writer | Instance of the |