|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Subscribable
Serves as a target of an event subscription, represented by a Subscription-based object
.
Subscribable
is a base interface of several derived interfaces that can be used as a subscription target.
To set a Subscribable
object as the target of a subscription, use the SubscriptionTarget
property of the Subscription
-based object.
You can instantiate a Subscribable
object in the following ways:
get_SubscriptionTarget
method on a Subscription
-based object.Subscribable
object from a
SubscribableSet
collection.Metadata
Auditable: false
Method Summary | |
---|---|
void |
raiseEvent(CustomEvent customEvent)
Raises a custom event for this Subscribable object. |
Method Detail |
---|
void raiseEvent(CustomEvent customEvent)
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:
CustomEvent
object must exist.Subscribable
object; that is, the subscription's
SubscriptionTarget
property has been set to this Subscribable
object.SubscribedEvents
property has been set to a
SubscribedEventList
collection that includes the custom event.
customEvent
- The CustomEvent
object to be raised.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |