Click or drag to resize

ContentType Methods

The ContentType type exposes the following members.

Methods
  NameDescription
Public methodAddActivity(String)
Adds a new activity.
Public methodAddActivity(Activity)
Adds the specified activity.
Public methodAddColumn(String)
Adds a new column.
Public methodAddColumn(String, ContentColumnType)
Adds a new column.
Public methodAddColumn(String, String, ContentColumnType)
Adds a new column.
Public methodAddDefaultNotification
Adds a default notification rule, sending notifications for all assigned tasks.
Public methodAddFakeState
Adds a new fake state.
Public methodAddFakeState(Int32, Int32)
Adds a new fake state.
Public methodAddFakeTransition
Adds a new fake transition.
Public methodAddItem
Adds a new modeled item.
Public methodAddLabel
Adds a new label.
Public methodAddLabel(Int32, Int32)
Adds a new label.
Public methodAddMessage
Adds a new message.
Public methodAddMessage(ContentMessage)
Adds the specified message.
Public methodAddNotification
Adds a new notification.
Public methodAddNotification(Notification)
Adds the specified notification.
Public methodAddState(String)
Adds a new state.
Public methodAddState(State)
Adds the specified state.
Public methodAddStep(String)
Adds a new step.
Public methodAddStep(Step)
Adds the specified step.
Public methodAddView(String)
Adds a new view.
Public methodAddView(ContentView)
Adds the specified view.
Public methodCheckColumnName
Verifies if the given column name is unique (except for the specified id).
Public methodCheckFormName
Verifies if the given name is unique (except for the specified id).
Public methodChildren
Returns all children objects.
(Inherited from ModelingObject.)
Public methodContainsColumn
Determines whether the specified column id is in this content-type.
Public methodDeleteActivity
Deletes the specified activity.
Public methodDeleteColumn(Int32)
Deletes the column with the specified id.
Public methodDeleteColumn(ContentColumn)
Deletes the specified column.
Public methodDeleteFakeState
Deletes the specified fake state.
Public methodDeleteFakeTransition
Deletes the specified fake transition.
Public methodDeleteItem
Deletes the specified modeled item.
Public methodDeleteLabel
Deletes the specified label.
Public methodDeleteMessage(Int32)
Deletes the message with the specified id.
Public methodDeleteMessage(ContentMessage)
Deletes the specified message.
Public methodDeleteNotification(Int32)
Deletes the notification with the specified id.
Public methodDeleteNotification(Notification)
Deletes the specified notification.
Public methodDeleteState
Deletes the specified state.
Public methodDeleteStep
Deletes the specified step.
Public methodDeleteView
Deletes the specified view.
Public methodEnsurePermissionContext
Ensures that all entries (global/states by permissions/privileges). On first ensure, also add the default permissions of standard roles.
Public methodGetActivity(Guid)
Gets an activity by its GUID.
Public methodGetActivity(Int32)
Gets an activity by its id.
Public methodGetAllShapePositions
Gets the positions of all states, fake states and labels of the workflow schema.
Public methodGetAllTransitions
Gets the transitions of all states.
Public methodGetChoiceView
Gets a view referenced by a choice column.
Public methodGetColumn(Guid)
Gets a column by its GUID.
Public methodGetColumn(Int32)
Gets a column by its id.
Public methodGetColumn(String)
Gets a column by its name.
Public methodGetColumns
Gets columns by their ids.
Public methodGetContentTypeBaseType
Gets the content-type's base type.
Public methodGetContentTypeDisplayName
Gets the content-type's display name.
Public methodGetContentTypeGuid
Gets the content-type's GUID.
Public methodGetContentTypeId
Gets the content-type's id.
Public methodGetContentTypeName
Gets the content-type's name.
Public methodGetDisplayName
Gets the display name of this content-type. [IModelContentTypeInfo]
Public methodGetFakeState
Gets a fake state by its id.
Public methodGetFakeTransition
Gets a fake transition by its id.
Public methodGetGuid
Gets the Guid.
(Inherited from ModelingObject.)
Public methodGetIColumn
Gets a column by its GUID.
Public methodGetIColumns
Gets all columns.
Public methodGetInboundTransitions
Get all transitions with the specified state as destination "To".
Public methodGetIState
Gets a state by its GUID.
Public methodGetIStates
Gets all states.
Public methodGetItem
Gets a modeled item by its GUID.
Public methodGetIView
Gets a view by its GUID.
Public methodGetIViews
Gets all views.
Public methodGetKeyColumnName
Gets the key column name of this content-type. [IModelContentTypeInfo]
Public methodGetListItem
Gets a text representing this object using Id and Name.
(Inherited from ModelingObject.)
Public methodGetMessage(Int32)
Gets a message by its id.
Public methodGetMessage(String)
Gets a message by its name.
Public methodGetModelGuid
Gets the guid of the parent model of this content-type. [IModelContentTypeInfo]
Public methodGetName
Gets the name.
(Inherited from ModelingObject.)
Public methodGetNotification
Gets a notification by its id.
Public methodGetParentParentType
Returns the first parent of a given type in the modeling tree. Returns null if not found.
(Inherited from ModelingObject.)
Public methodGetStartState
Gets the start state, set by default on created items.
Public methodGetState(Guid)
Gets a state by its GUID.
Public methodGetState(Int32)
Gets a state by its id.
Public methodGetStep(Guid)
Gets a step by its GUID.
Public methodGetStep(Int32)
Gets a step by its id.
Public methodGetTransitionById
Gets a transition by its id.
Public methodGetView(Guid)
Gets a view by its GUID.
Public methodGetView(Int32)
Gets a view by its id.
Public methodGetView(String)
Gets a view by its name.
Public methodGetViewByGuid
Gets a view by its temporary GUID.
Public methodInit
Initializes name and display name with a default value.
Public methodIsLocalSecondary
Determines whether the content-type is local and secondary.
Public methodStatic memberMoveTransition
Moves a transition from its current parent state to another.
Public methodShouldSerializeObjectNotes
Indicates whether the ObjectNotes property should be generated during the serialization.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateWorkFormName
Updates the name of the work form.
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