Oracle® Beehive RESTful Web Services API Reference Release 2 (2.0.1.7) E16658-04 |
DiscussionsMessageSubscription can be retrieved by calling getMaterializedSubscription from a Subscription instance.
DiscussionsMessageSubscription can be created by specifying SubscriptionTriggerType to describe what kind of content operation(s) the subscription is listening to.
SubscriptionTriggerType.ANY_CREATED_IN_ATTACHED_CONTAINER : for any DiscussionsMessage created or moved into (or under a sub-Topic of) a given Topic container that subscription is attached to.
SubscriptionTriggerType.ANY_UPDATED_IN_ATTACHED_CONTAINER : for any DiscussionsMessage updated in (or under a sub-Topic of) a given Topic container that subscription is attached to.
SubscriptionTriggerType.ANY_DELETED_IN_ATTACHED_CONTAINER : for any DiscussionsMessage deleted in (or under a sub-Topic of) a given Topic container that subscription is attached to.
Name | Type | Description |
---|---|---|
actions |
List of DiscussionsMessageSubscriptionAction for the DiscussionsMessageSubscription | |
conditions |
List of DiscussionsMessageSubscriptionCondition for the DiscussionsMessageSubscription | |
triggerType |
Operation type on the attached Topic container or DiscussionsMessage instance the subscription is listening to. For any DiscussionsMessage under a Topic container, the trigger types include: ANY_CREATED_IN_ATTACHED_CONTAINER, ANY_UPDATED_IN_ATTACHED_CONTAINER, ANY_DELETED_IN_ATTACHED_CONTAINER For DiscussionsMessage instance itself, the trigger types include: UPDATED_ON_ATTACHED_INSTANCE, DELETED_ON_ATTACHED_INSTANCE |
Inherits From
<xs:complexType name="discussionsMessageSubscription"> <xs:complexContent> <xs:extension base="tns:materializedSubscription"> <xs:sequence> <xs:element maxOccurs="unbounded" minOccurs="0" name="actions" type="tns:discussionsMessageSubscriptionAction"/> <xs:element maxOccurs="unbounded" minOccurs="0" name="conditions" type="tns:discussionsMessageSubscriptionCondition"/> <xs:element minOccurs="0" name="triggerType" type="tns:subscriptionTriggerType"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType>
Copyright © 2008, 2012, Oracle and/or its affiliates. All rights reserved.
Legal Notices