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

Contents

Overview

Represents the state of the presence subscriptions between two presentities. A MutualSubscriptionState object is returned in the context of a single presentity, the watcher (the owner of the roster). It contains the state of the subscription that the watcher has on a given presentity's presence, as well as the subscription from the presentity on to the watcher's presence.

Members

Name Type Description

from

subscriptionState

The state of the subscription on the watcher from the presentity.

fromAttributes

subscriptionAttribute[]

The attributes associated with the subscription "from".

to

subscriptionState

The state of the watcher's subscription to the presentity.

toAttributes

subscriptionAttribute[]

The attributes associated with the subscription "to".

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:mutualSubscriptionState xsi:type="obh:mutualSubscriptionState" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:from>your_subscriptionState_0</obh:from>
        <obh:fromAttributes>your_subscriptionAttribute_0</obh:fromAttributes>
        <obh:fromAttributes>your_subscriptionAttribute_1</obh:fromAttributes>
        <obh:fromAttributes>your_subscriptionAttribute_2</obh:fromAttributes>
        <obh:to>your_subscriptionState_0</obh:to>
        <obh:toAttributes>your_subscriptionAttribute_0</obh:toAttributes>
        <obh:toAttributes>your_subscriptionAttribute_1</obh:toAttributes>
        <obh:toAttributes>your_subscriptionAttribute_2</obh:toAttributes>
</obh:mutualSubscriptionState>

JSON Example

(show inherited members)

{
    "beeType":"mutualSubscriptionState",
        "from":{ your_{http://www.oracle.com/beehive}from_as_subscriptionState0 },
        "fromAttributes":[
            { your_{http://www.oracle.com/beehive}fromAttributes_as_subscriptionAttribute0 },
            { your_{http://www.oracle.com/beehive}fromAttributes_as_subscriptionAttribute1 },
            { your_{http://www.oracle.com/beehive}fromAttributes_as_subscriptionAttribute2 }
        ],
        "to":{ your_{http://www.oracle.com/beehive}to_as_subscriptionState0 },
        "toAttributes":[
            { your_{http://www.oracle.com/beehive}toAttributes_as_subscriptionAttribute0 },
            { your_{http://www.oracle.com/beehive}toAttributes_as_subscriptionAttribute1 },
            { your_{http://www.oracle.com/beehive}toAttributes_as_subscriptionAttribute2 }
        ]
}

XML Schema


<xs:complexType name="mutualSubscriptionState">
    <xs:sequence>
        <xs:element minOccurs="0" name="from" type="tns:subscriptionState"/>
        <xs:element maxOccurs="unbounded" minOccurs="0"
            name="fromAttributes" type="tns:subscriptionAttribute"/>
        <xs:element minOccurs="0" name="to" type="tns:subscriptionState"/>
        <xs:element maxOccurs="unbounded" minOccurs="0"
            name="toAttributes" type="tns:subscriptionAttribute"/>
    </xs:sequence>
</xs:complexType>

        

References

The following data represents the references to mutualSubscriptionState

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions