Oracle Beehive
  Oracle® Beehive RESTful Web Services API Reference
  Release 2 (2.0.1.7)
  E16658-04

Contents

Overview

Represents rule defined in subscription. A rule contains a list of conditions and a list of actions.

Members

Name Type Required Description

actions

subscriptionActionDefinition[]

Set a list actions defined in the SubscriptionRule

collabId

beeId

Getters

conditions

subscriptionConditionDefinition[]

Set a list conditions defined in the SubscriptionRule

conjunctive

boolean

Set the conjunctive value of the SubscriptionRule true: all the conditions in the SubscriptionRule are AND together false: all the conditions in the SubscriptionRule are OR together

definition

beeId<subscriptionRuleDefinition>

Set SubscriptionDefinitionHandle of the SubscriptionRule

description

string

Set description of the SubscriptionRule

name

string

Set name of the SubscriptionRule

Hierarchy

Examples

Below are examples in JSON and XML formats. All examples are shown with all inherited members. Quoting when required is part of the examples, but you must obviously populate with your own data.

XML Example

(show inherited members)

<obh:subscriptionRule xsi:type="obh:subscriptionRule" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:actions>your_subscriptionActionDefinition_0</obh:actions>
        <obh:actions>your_subscriptionActionDefinition_1</obh:actions>
        <obh:actions>your_subscriptionActionDefinition_2</obh:actions>
        <obh:collabId>your_beeId_0</obh:collabId>
        <obh:conditions>your_subscriptionConditionDefinition_0</obh:conditions>
        <obh:conditions>your_subscriptionConditionDefinition_1</obh:conditions>
        <obh:conditions>your_subscriptionConditionDefinition_2</obh:conditions>
        <obh:conjunctive>your_boolean_0</obh:conjunctive>
        <obh:definition>your_beeId_0</obh:definition>
        <obh:description>your_string_0</obh:description>
        <obh:name>your_string_0</obh:name>
</obh:subscriptionRule>

JSON Example

(show inherited members)

{
    "beeType":"subscriptionRule",
        "actions":[
            { your_{http://www.oracle.com/beehive}actions_as_subscriptionActionDefinition0 },
            { your_{http://www.oracle.com/beehive}actions_as_subscriptionActionDefinition1 },
            { your_{http://www.oracle.com/beehive}actions_as_subscriptionActionDefinition2 }
        ],
        "collabId":{ your_{http://www.oracle.com/beehive}collabId_as_beeId0 },
        "conditions":[
            { your_{http://www.oracle.com/beehive}conditions_as_subscriptionConditionDefinition0 },
            { your_{http://www.oracle.com/beehive}conditions_as_subscriptionConditionDefinition1 },
            { your_{http://www.oracle.com/beehive}conditions_as_subscriptionConditionDefinition2 }
        ],
        "conjunctive":your_{http://www.oracle.com/beehive}conjunctive_as_boolean0,
        "definition":{ your_{http://www.oracle.com/beehive}definition_as_beeId0 },
        "description":"your_{http://www.oracle.com/beehive}description_as_string0",
        "name":"your_{http://www.oracle.com/beehive}name_as_string0"
}

XML Schema


<xs:complexType name="subscriptionRule">
    <xs:sequence>
        <xs:element maxOccurs="unbounded" minOccurs="0" name="actions"
            nillable="true" type="tns:subscriptionActionDefinition"/>
        <xs:element minOccurs="0" name="collabId" type="tns:beeId"/>
        <xs:element maxOccurs="unbounded" minOccurs="0"
            name="conditions" nillable="true" type="tns:subscriptionConditionDefinition"/>
        <xs:element name="conjunctive" type="xs:boolean"/>
        <xs:element minOccurs="0" name="definition" type="tns:beeId"/>
        <xs:element minOccurs="0" name="description" type="xs:string"/>
        <xs:element minOccurs="0" name="name" type="xs:string"/>
    </xs:sequence>
</xs:complexType>

        

References

The following data represents the references to subscriptionRule

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions