EventDefinition Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public abstract class EventDefinition : ICloneable, IObjectWithId, IObjectWithGuid, IObjectWithDataVersion, IEventDefinition, IEntityObject, IObjectWithLastChangedInfo
The EventDefinition type exposes the following members.
| Name | Description | |
|---|---|---|
| EventDefinition |
| Name | Description | |
|---|---|---|
| Actions |
Contains the actions that will be executed by the eventdefinition.
Use AddAction() to add an action.
| |
| ChangedBy | ||
| ChangeTime | ||
| Condition | ||
| CreatedBy | ||
| CreateTime | ||
| DataObjectTypeId |
The type on which the conditions of the eventdefinition is defined.
| |
| DataVersion | ||
| Description | ||
| Disabled | ||
| EventType | ||
| Id | ||
| MaxExecPerObject |
The maximum number of times a event may be triggered.
0 = infinite.
| |
| Name | ||
| Number | ||
| TimerId |
TimerId er (kun) > 0 hvis EventType = TimerExecuted.
| |
| UId |
| Name | Description | |
|---|---|---|
| AddAction |
Adds an action to the event definition.
| |
| Clone | ||
| GetAssignedEventNewAction |
1) assigns this event as the action's Owner and this event's DataObjectTypeId to the action;
2) initializes the action's definition object (MailDefinition/CodeMethod/Modification/CopyDefinition)
| |
| GetNewCodeMethodAction | ||
| GetNewCopyAction | ||
| GetNewEmailAction | ||
| GetNewModificationAction | ||
| GetNewReassignAction | ||
| IsActivitiesTypeOnly |
Returns true if the condition filter only contains the activities type
| |
| PassesFilter | ||
| RemoveInvalidActions | ||
| ResetAll |
Resets the id etc. of the object.
The method is used when making a copy of an existing object.
| |
| setDataObjectTypeId | ||
| setEventType | ||
| ToString | (Overrides ObjectToString.) | |
| ToString(AppFormatInfo) |
| Name | Description | |
|---|---|---|
| m_dataObjectTypeId | ||
| m_eventType |
| Name | Description | |
|---|---|---|
| ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) | |
| ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) | |
| ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |
| Name | Description | |
|---|---|---|
| IObjectWithDataVersion.GetDataVersion | ||
| IObjectWithGuid.GetGuid | ||
| IObjectWithId.GetId | ||
| IEntityObjectDataVersion |
The data version of an entity object is incremented every time it gets updated.
If the entity object class embeds other objects (like a DataObjectType embeds a number of BaseProperty objects)
then the DataVersion is also "touched" when an embedded object changes.
| |
| IEntityObjectId |
Unique id of the entity object within its entity type.
| |
| IEventDefinitionId |
States the Id of the event definition.
| |
| IEventDefinitionUId |
States the UId of the event definition.
|