To define the actions to take, write a JavaScript or Java event handler class that implements the EventActionHandler interface.
To create an EventAction object and persist it to a Content Engine object store, call the CreateInstance method on the Factory.EventAction class.
You can instantiate an EventAction object in the following ways:
- Call the GetInstance or FetchInstance method on the Factory.EventAction class.
- Get the EventActions property on an ObjectStore, and iterate the EventActionSet collection.
- Call the get_ReferencingActions method on a CodeModule, and iterate the ActionSet collection for instances of EventAction objects.
- Get the EventAction property on a Subscription object or subobject.
Namespace:
FileNet.Api.Events
Assembly:
FileNet.Api (in FileNet.Api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Interface IEventAction _ Implements IAction, IRepositoryObject, IReplicable, ISubscribable, _ IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable |
C# |
---|
public interface IEventAction : IAction, IRepositoryObject, IReplicable, ISubscribable, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable |
Visual C++ |
---|
public interface class IEventAction : IAction, IRepositoryObject, IReplicable, ISubscribable, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable |
JavaScript |
---|
FileNet.Api.Events.IEventAction = function(); FileNet.Api.Events.IEventAction.createInterface('FileNet.Api.Events.IEventAction'); |
Remarks
Metadata
Auditable: true
AllowsInstances: true
AllowsSubClasses: true
ClassDefinitionName: ReplicableClassDefinition
IsDependent: false
IsHidden: false
Name: DisplayName
Searchable: true
StorageType: ObjectStore
SuperclassName: Action