com.filenet.api.core
Interface Subscribable
-
- All Known Subinterfaces:
- Action, ActionConsumer, Annotation, ChoiceList, ClassDefinition, ClassSubscription, ClassWorkflowSubscription, CmAbstractPersistable, CmAdvancedStorageArea, CmAuditDispositionPolicy, CmAuditProcessingBookmark, CmBackgroundSearch, CmBulkMoveContentJob, CmChangePreprocessorAction, CmContentBackoutQueueSweep, CmContentConversionAction, CmContentConversionSettings, CmContentDeletionQueueSweep, CmContentMigrationPolicy, CmContentReplicationQueueSweep, CmConversionSettingsClassDefinition, CmCustomQueueSweep, CmCustomStorageDevice, CmCustomSweepJob, CmCustomSweepPolicy, CmDisposalPolicy, CmFileSystemStorageDevice, CmHold, CmHoldRelationship, CmOpenStackStorageDevice, CmPolicyControlledSweep, CmQueueEntryClassDefinition, CmQueueSweep, CmRecoveryBin, CmRecoveryItem, CmRetentionUpdateJob, CmRetentionUpdatePolicy, CmSearchFunctionDefinition, CmSecuredStorageDevice, CmStorageDevice, CmSweep, CmSweepAction, CmSweepJob, CmSweepPolicy, CmSweepPolicyRelationship, CmSweepRelationship, CmTask, CmTaskRelationship, CmTextExtractionSettings, CmTextIndexingPreprocessorAction, CmTextSearchIndexArea, CmThumbnail, CmThumbnailGenerationJob, CmThumbnailGenerationSubscription, CmThumbnailRequestSweep, CodeModule, ComponentRelationship, ContainmentRelationship, CustomObject, DatabaseStorageArea, Document, DocumentClassDefinition, DocumentClassificationAction, DocumentLifecycleAction, DocumentLifecyclePolicy, DynamicReferentialContainmentRelationship, EventAction, EventClassDefinition, FileStorageArea, FixedStorageArea, Folder, IndexArea, InstanceSubscription, InstanceWorkflowSubscription, Link, PropertyTemplate, PropertyTemplateBinary, PropertyTemplateBoolean, PropertyTemplateDateTime, PropertyTemplateFloat64, PropertyTemplateId, PropertyTemplateInteger32, PropertyTemplateObject, PropertyTemplateString, PublishRequest, PublishStyleTemplate, PublishTemplate, ReferentialContainmentRelationship, Relationship, ReplicableClassDefinition, SecurityPolicy, StorageArea, StoragePolicy, StoredSearch, SubscribableClassDefinition, Subscription, VerityIndexArea, VersionableClassDefinition, VersionSeries, WorkflowDefinition, WorkflowEventAction, XMLPropertyMappingScript
public interface SubscribableServes as a target of an event subscription, represented by aSubscription-based object.Subscribableis a base interface of several derived interfaces that can be used as a subscription target. To set aSubscribableobject as the target of a subscription, use theSubscriptionTargetproperty of theSubscription-based object.You can instantiate a
Subscribableobject in the following ways:- By calling the
get_SubscriptionTargetmethod on aSubscription-based object. - By returning a
Subscribableobject from aSubscribableSetcollection.
Metadata
-
-
Method Summary
Methods Modifier and Type Method and Description voidraiseEvent(CustomEvent customEvent)Raises a custom event for thisSubscribableobject.
-
-
-
Method Detail
-
raiseEvent
void raiseEvent(CustomEvent customEvent)
Raises a custom event for thisSubscribableobject. For example, you can define a custom event class in the Content Engine for an operation such as publishing a document, then specify the custom event in a call to theraiseEventmethod on aDocumentobject after you call thepublishmethod on that document.Before you can use this method, the following conditions must be met:
- An appropriate
CustomEventobject must exist. - A subscription subscribes to the
Subscribableobject; that is, the subscription'sSubscriptionTargetproperty has been set to thisSubscribableobject. - A subscription subscribes to the custom event to be raised; that is, the subscription's
SubscribedEventsproperty has been set to aSubscribedEventListcollection that includes the custom event.
- Parameters:
customEvent- TheCustomEventobject to be raised.
- An appropriate
-
-