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

Contents

Overview

This type is crafted for applications wishing to present a "roster" as seen in most Instant Messaging clients. It represents an entry in the logical roster, containing data on the current presence of a given user. In addition to the current presence state, the type also contains information on the relative presence subscriptions. Subscriptions represent a presence-watching relationship between two users.

Members

Name Type Description

presence

presence

The current presence of presentity

presentity

beeId<Watchable>

The id of the entity whose presence is subscribed to.

state

mutualSubscriptionState

The subscription relationship between the current user and the presentity.

Hierarchy

Inherits From

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:presenceRosterEntry xsi:type="obh:presenceRosterEntry" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:presence>your_presence_0</obh:presence>
        <obh:presentity>your_beeId_0</obh:presentity>
        <obh:state>your_mutualSubscriptionState_0</obh:state>
</obh:presenceRosterEntry>

JSON Example

(show inherited members)

{
    "beeType":"presenceRosterEntry",
        "presence":{ your_{http://www.oracle.com/beehive}presence_as_presence0 },
        "presentity":{ your_{http://www.oracle.com/beehive}presentity_as_beeId0 },
        "state":{ your_{http://www.oracle.com/beehive}state_as_mutualSubscriptionState0 }
}

XML Schema


<xs:complexType name="presenceRosterEntry">
    <xs:complexContent>
        <xs:extension base="tns:rosterEntry">
            <xs:sequence>
                <xs:element minOccurs="0" ref="tns:presence"/>
            </xs:sequence>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

        

References

The following data represents the references to presenceRosterEntry

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions

Not Referenced Directly by Representations