Represents a request to execute an event action when an event
is triggered on a target Content Engine object.
For example, you can have a subscription that notifies you by email when documents
of a certain class are created and saved in the object store.
The specified EventAction and
Subscribable objects, which represent the
event action and target object, must exist before
you can create a Subscription object and persist it.
Subscription is the base class for subclasses defined with specialized behavior. You can create objects for the subclasses, but you cannot create a base Subscription object. You can, however, instantiate one in the following ways:
- By calling the GetInstance or FetchInstance method on the Factory.Subscription class.
- By getting the Subscriptions property on an ObjectStore object or an EventAction object, then iterating the SubscriptionSet collection.
- By getting the WorkflowSourceSubscriptions property on a WorkflowDefinition object, then iterating the SubscriptionSet collection.
Namespace:
FileNet.Api.Events
Assembly:
FileNet.Api (in FileNet.Api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Interface ISubscription _ Implements IActionConsumer, IRepositoryObject, IReplicable, ISubscribable, _ IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable |
C# |
---|
public interface ISubscription : IActionConsumer, IRepositoryObject, IReplicable, ISubscribable, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable |
Visual C++ |
---|
public interface class ISubscription : IActionConsumer, IRepositoryObject, IReplicable, ISubscribable, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable |
JavaScript |
---|
FileNet.Api.Events.ISubscription = function(); FileNet.Api.Events.ISubscription.createInterface('FileNet.Api.Events.ISubscription'); |
Remarks
Metadata
Auditable: false
AllowsInstances: false
AllowsSubClasses: false
ClassDefinitionName: None
IsDependent: false
IsHidden: false
Searchable: true
StorageType: ObjectStore
SuperclassName: ActionConsumer