Oracle® Beehive RESTful Web Services API Reference Release 2 (2.0.1.7) E16658-04 |
DocumentSubscription can be retrieved by calling getMaterializedSubscription from a Subscription instance.
DocumentSubscription 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 document created or moved into (or under a sub-folder of) a given folder container that subscription is attached to.
SubscriptionTriggerType.ANY_UPDATED_IN_ATTACHED_CONTAINER : for any document updated in (or under a sub-folder of) a given folder container that subscription is attached to.
SubscriptionTriggerType.ANY_DELETED_IN_ATTACHED_CONTAINER : for any document deleted in (or under a sub-folder of) a given folder container that subscription is attached to.
SubscriptionTriggerType.UPDATED_ON_ATTACHED_INSTANCE : for the update on a given document instance that subscription is attached to.
SubscriptionTriggerType.DELETED_ON_ATTACHED_INSTANCE : for the delete on a given document instance that subscription is attached to.
Name | Type | Description |
---|---|---|
actions |
List of DocumentSubscriptionAction for the DocumentSubscription | |
conditions |
List of DocumentSubscriptionCondition for the DocumentSubscription | |
triggerType |
Operation type on the attached Folder container or Document instance the subscription is listening to. For any document under a folder container, the trigger types include: ANY_CREATED_IN_ATTACHED_CONTAINER, ANY_UPDATED_IN_ATTACHED_CONTAINER, ANY_DELETED_IN_ATTACHED_CONTAINER For document instance itself, the trigger types include: UPDATED_ON_ATTACHED_INSTANCE, DELETED_ON_ATTACHED_INSTANCE |
Inherits From
<xs:complexType name="documentSubscription"> <xs:complexContent> <xs:extension base="tns:materializedSubscription"> <xs:sequence> <xs:element maxOccurs="unbounded" minOccurs="0" name="actions" type="tns:documentSubscriptionAction"/> <xs:element maxOccurs="unbounded" minOccurs="0" name="conditions" type="tns:documentSubscriptionCondition"/> <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