ContentType Methods |
The ContentType type exposes the following members.
Name | Description | |
---|---|---|
AddActivity(String) |
Adds a new activity.
| |
AddActivity(Activity) |
Adds the specified activity.
| |
AddColumn(String) |
Adds a new column.
| |
AddColumn(String, ContentColumnType) |
Adds a new column.
| |
AddColumn(String, String, ContentColumnType) |
Adds a new column.
| |
AddDefaultNotification |
Adds a default notification rule, sending notifications for all assigned tasks.
| |
AddFakeState |
Adds a new fake state.
| |
AddFakeState(Int32, Int32) |
Adds a new fake state.
| |
AddFakeTransition |
Adds a new fake transition.
| |
AddItem |
Adds a new modeled item.
| |
AddLabel |
Adds a new label.
| |
AddLabel(Int32, Int32) |
Adds a new label.
| |
AddMessage |
Adds a new message.
| |
AddMessage(ContentMessage) |
Adds the specified message.
| |
AddNotification |
Adds a new notification.
| |
AddNotification(Notification) |
Adds the specified notification.
| |
AddState(String) |
Adds a new state.
| |
AddState(State) |
Adds the specified state.
| |
AddStep(String) |
Adds a new step.
| |
AddStep(Step) |
Adds the specified step.
| |
AddView(String) |
Adds a new view.
| |
AddView(ContentView) |
Adds the specified view.
| |
CheckColumnName |
Verifies if the given column name is unique (except for the specified id).
| |
CheckFormName |
Verifies if the given name is unique (except for the specified id).
| |
Children |
Returns all children objects.
(Inherited from ModelingObject.) | |
ContainsColumn |
Determines whether the specified column id is in this content-type.
| |
DeleteActivity |
Deletes the specified activity.
| |
DeleteColumn(Int32) |
Deletes the column with the specified id.
| |
DeleteColumn(ContentColumn) |
Deletes the specified column.
| |
DeleteFakeState |
Deletes the specified fake state.
| |
DeleteFakeTransition |
Deletes the specified fake transition.
| |
DeleteItem |
Deletes the specified modeled item.
| |
DeleteLabel |
Deletes the specified label.
| |
DeleteMessage(Int32) |
Deletes the message with the specified id.
| |
DeleteMessage(ContentMessage) |
Deletes the specified message.
| |
DeleteNotification(Int32) |
Deletes the notification with the specified id.
| |
DeleteNotification(Notification) |
Deletes the specified notification.
| |
DeleteState |
Deletes the specified state.
| |
DeleteStep |
Deletes the specified step.
| |
DeleteView |
Deletes the specified view.
| |
EnsurePermissionContext |
Ensures that all entries (global/states by permissions/privileges).
On first ensure, also add the default permissions of standard roles.
| |
GetActivity(Guid) |
Gets an activity by its GUID.
| |
GetActivity(Int32) |
Gets an activity by its id.
| |
GetAllShapePositions |
Gets the positions of all states, fake states and labels of the workflow schema.
| |
GetAllTransitions |
Gets the transitions of all states.
| |
GetChoiceView |
Gets a view referenced by a choice column.
| |
GetColumn(Guid) |
Gets a column by its GUID.
| |
GetColumn(Int32) |
Gets a column by its id.
| |
GetColumn(String) |
Gets a column by its name.
| |
GetColumns |
Gets columns by their ids.
| |
GetContentTypeBaseType |
Gets the content-type's base type.
| |
GetContentTypeDisplayName |
Gets the content-type's display name.
| |
GetContentTypeGuid |
Gets the content-type's GUID.
| |
GetContentTypeId |
Gets the content-type's id.
| |
GetContentTypeName |
Gets the content-type's name.
| |
GetDisplayName |
Gets the display name of this content-type.
[IModelContentTypeInfo]
| |
GetFakeState |
Gets a fake state by its id.
| |
GetFakeTransition |
Gets a fake transition by its id.
| |
GetGuid |
Gets the Guid.
(Inherited from ModelingObject.) | |
GetIColumn |
Gets a column by its GUID.
| |
GetIColumns |
Gets all columns.
| |
GetInboundTransitions |
Get all transitions with the specified state as destination "To".
| |
GetIState |
Gets a state by its GUID.
| |
GetIStates |
Gets all states.
| |
GetItem |
Gets a modeled item by its GUID.
| |
GetIView |
Gets a view by its GUID.
| |
GetIViews |
Gets all views.
| |
GetKeyColumnName |
Gets the key column name of this content-type.
[IModelContentTypeInfo]
| |
GetListItem |
Gets a text representing this object using Id and Name.
(Inherited from ModelingObject.) | |
GetMessage(Int32) |
Gets a message by its id.
| |
GetMessage(String) |
Gets a message by its name.
| |
GetModelGuid |
Gets the guid of the parent model of this content-type.
[IModelContentTypeInfo]
| |
GetName |
Gets the name.
(Inherited from ModelingObject.) | |
GetNotification |
Gets a notification by its id.
| |
GetParentParentType |
Returns the first parent of a given type in the modeling tree.
Returns null if not found.
(Inherited from ModelingObject.) | |
GetStartState |
Gets the start state, set by default on created items.
| |
GetState(Guid) |
Gets a state by its GUID.
| |
GetState(Int32) |
Gets a state by its id.
| |
GetStep(Guid) |
Gets a step by its GUID.
| |
GetStep(Int32) |
Gets a step by its id.
| |
GetTransitionById |
Gets a transition by its id.
| |
GetView(Guid) |
Gets a view by its GUID.
| |
GetView(Int32) |
Gets a view by its id.
| |
GetView(String) |
Gets a view by its name.
| |
GetViewByGuid |
Gets a view by its temporary GUID.
| |
Init |
Initializes name and display name with a default value.
| |
IsLocalSecondary |
Determines whether the content-type is local and secondary.
| |
MoveTransition |
Moves a transition from its current parent state to another.
| |
ShouldSerializeObjectNotes |
Indicates whether the ObjectNotes property should be generated during the serialization.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateWorkFormName |
Updates the name of the work form.
|
Name | Description | |
---|---|---|
AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |