Represents the actions taken when a subscribed event fires. You associate an event action with a Subscription-based object by setting the object's
Top
Top
EventAction
property. To create an
object and persist it to a Content Engine object store, call the
method on the
You can instantiate an
object in the following ways:
- Call the
orGetInstance
method on theFetchInstance Factory.EventAction class. - Get the
property on anEventActions
, and iterate theObjectStore EventActionSet collection. - Call the
method on aget_ReferencingActions CodeModule , and iterate theActionSet collection for instances of
objects.EventAction - Get the
property on aEventAction
object or subobject.Subscription
The following tables list the members exposed by IEventAction.
Public Properties
Name | Description | |
---|---|---|
![]() | IsEnabled | Indicates whether a given object is enabled or disabled. For example, you can globally disable or enable active events by setting an IEventAction object's IsEnabled property to False (off) or True (on). Likewise, you can enable or disable a subscription or a security template. Enabling a security template indicates that it can be applied to an object. A disabled security template remains part of its security policy container, but cannot be applied to an object. Disabling a security template is useful when you are testing or developing the security templates that make up a security policy. Disabling a subscription prevents the function associated with the event from being loaded and executed. You might want to disable a subscription that is undergoing modifications due to a change in business processes or when you do not want functions to execute against federated documents. Note that when you disable an IEventAction, all of its associated subscriptions are also disabled. However, when you disable one particular ISubscription, you only disable events that are in its subscribed event list. |
![]() | Subscriptions | A collection of the subscriptions associated with this object. |
Public Methods
Name | Description | |
---|---|---|
![]() | ChangeClass | Changes the class of a Content Engine object. The new class must already exist and both it and the original class must be subclasses of the same base class. The method does not modify the security for an object, even if the object's current security is derived from the default security for its source class. For the object's user-defined properties, the following rules apply:
When the class of a document object is changed, the default document lifecycle policy of the new class will only be applied to the document object's
|