com.filenet.api.core

Interface Subscribable

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void raiseEvent(CustomEvent customEvent)
      Raises a custom event for this Subscribable object.
    • Method Detail

      • raiseEvent

        void raiseEvent(CustomEvent customEvent)
        Raises a custom event for this Subscribable object. 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 the raiseEvent method on a Document object after you call the publish method on that document.

        Before you can use this method, the following conditions must be met:

        • An appropriate CustomEvent object must exist.
        • A subscription subscribes to the Subscribable object; that is, the subscription's SubscriptionTarget property has been set to this Subscribable object.
        • A subscription subscribes to the custom event to be raised; that is, the subscription's SubscribedEvents property has been set to a SubscribedEventList collection that includes the custom event.
        Parameters:
        customEvent - The CustomEvent object to be raised.

© Copyright IBM Corporation 2006, 2013. All rights reserved.