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

Contents

Overview

Represents rule definition defined in subscription template. A rule definition contains a list of condition definitions and a list of action definitions.

Members

Name Type Description

actions

subscriptionActionDefinition[]

Set a list of action definitions defined in the SubscriptionRuleDefinition

collabId

beeId

Set collab id of the SubscriptionRuleDefinition

conditions

subscriptionConditionDefinition[]

Set a list of condition definitions defined in the SubscriptionRuleDefinition

description

string

Set description of the SubscriptionRuleDefinition

name

string

Getters

Hierarchy

Applied Markers

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:subscriptionRuleDefinition xsi:type="obh:subscriptionRuleDefinition" 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:description>your_string_0</obh:description>
        <obh:name>your_string_0</obh:name>
</obh:subscriptionRuleDefinition>

JSON Example

(show inherited members)

{
    "beeType":"subscriptionRuleDefinition",
        "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 }
        ],
        "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="subscriptionRuleDefinition">
    <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 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 subscriptionRuleDefinition

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions