Click or drag to resize

Transition Class

Represents a transition between two states in a content-type's workflow.
Inheritance Hierarchy

Namespace:  Packflow.Modeling
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public class Transition : ModelingObject_Extended

The Transition type exposes the following members.

Constructors
  NameDescription
Public methodTransition
Initializes a new instance of the Transition class.
Top
Properties
  NameDescription
Public propertyColor
Gets or sets the transition color in the workflow schema. This is an helper property, the source value is Coloration.
Public propertyColoration
Gets or sets the transition color in the workflow schema as text (ARGB format).
Public propertyCondition
Gets or sets the condition to get through this transition.
Public propertyDescription
Gets or sets the description.
Public propertyDescriptionRes
Gets or sets the resource containing translations for the Description property.
Public propertyDisplayName
Gets or sets the display name.
Public propertyDisplayNameRes
Gets or sets the resource containing translations for the DisplayName property.
Public propertyDocStatus
Gets or sets the status set on the item when traversing this transition.
Public propertyDocStatusRes
Gets or sets the resource containing translations for the DocStatus property.
Public propertyFrom
Gets or sets the inbound state's id.
Public propertyGuid
Gets the GUID identifying this object.
(Inherited from ModelingObject.)
Public propertyId
Gets the id identifying this object.
(Inherited from ModelingObject.)
Public propertyInstanceGuid
Gets a guid, unique for this object instance.
(Inherited from ModelingObject.)
Public propertyInstanceLanguage
Gets or sets the instance language (two letters format).
(Inherited from ModelingObject.)
Public propertyIsExtended
Gets a value indicating whether this object is Extended (ModelingObject_Extended) or not, allowing to avoid an "is" verification.
(Inherited from ModelingObject_Extended.)
Public propertyModel
Gets the model hosting this object. The Model is the root object of the modeling tree.
(Inherited from ModelingObject.)
Public propertyName
Gets the name of this object.
(Inherited from ModelingObject.)
Public propertyParent
Gets the parent object in the modeling tree.
(Inherited from ModelingObject.)
Public propertyParentType
Gets the type of the parent object in the modeling tree.
(Inherited from ModelingObject.)
Public propertyPosXBegin
Gets or sets the horizontal position of the transition start in the workflow schema. Default value: 100.
Public propertyPosXEnd
Gets or sets the horizontal position of the transition end in the workflow schema. Default value: 50.
Public propertyPosYBegin
Gets or sets the vertical position of the transition start in the workflow schema. Default value: 50.
Public propertyPosYEnd
Gets or sets the vertical position of the transition end in the workflow schema. Default value: 100.
Public propertyPriority
Gets or sets the transition's priority. Biggest is the value highest is the priority. This priority is used when multiple transitions can be taken but the system cannot decide between them.
Public propertyTasksDueDates
Gets the due dates' definitions for the tasks created for the outbound state.
Public propertyTo
Gets or sets the outbound state's id.
Top
Methods
  NameDescription
Public methodAddTasksDueDate
Adds a new task due date.
Public methodChildren
Returns all children objects.
(Inherited from ModelingObject.)
Public methodGetConditionColumn
Gets the column referenced by the condition.
Public methodGetFullDisplayName
Gets a text including the source and target states' internal names.
Public methodGetGuid
Gets the Guid.
(Inherited from ModelingObject.)
Public methodGetListItem
Gets a text representing this transition, containing its id and display name.
Public methodGetName
Gets the name.
(Inherited from ModelingObject.)
Public methodGetParentParentType
Returns the first parent of a given type in the modeling tree. Returns null if not found.
(Inherited from ModelingObject.)
Public methodIsMinImediateParticipationReached
Determines whether the minimum participation (for immediate trigger) has been reached. If enough tasks have been accomplished and are choosing this as outbound transition, the transition will be taken even if the state's minimum participation has not been reached yet.
Public methodIsMinParticipationReached
Determines whether the minimum participation has been reached. The transition cannot be taken if its minimal participation hasn't been reached, this means that enough tasks (choosing this as outbound transition) must have been accomplished to consider taking this transition.
Public methodIsVerified
Checks if field value corresponds to the condition to pass through this transition.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateDisplayName
Updates the display name with a text including the source and the target states.
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also