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

Contents

Overview

An event in the pending notifications queue when the presence of an entity the current user is watching changes. This event is raised if there is an IM client in the current session and the presence of an entity in the current user's roster changes, or the client has requested for the presence of an entity to be watched.

Members

Name Type Description

changedPresence

presence

The changed presence.

collabId

beeId

Gets the CollabId of the changed object.

snapshotId

string

Gets the SnapshotId of the affected object after the change. If this is null, it indicates that the SnaphotId is unknown. It is expected that the application will reload an object's snapshot when it receives an event with an unknown SnapshotId.

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:presenceChangeEvent xsi:type="obh:presenceChangeEvent" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:changedPresence>your_presence_0</obh:changedPresence>
        <obh:collabId>your_beeId_0</obh:collabId>
        <obh:snapshotId>your_string_0</obh:snapshotId>
</obh:presenceChangeEvent>

JSON Example

(show inherited members)

{
    "beeType":"presenceChangeEvent",
        "changedPresence":{ your_{http://www.oracle.com/beehive}changedPresence_as_presence0 },
        "collabId":{ your_{http://www.oracle.com/beehive}collabId_as_beeId0 },
        "snapshotId":"your_{http://www.oracle.com/beehive}snapshotId_as_string0"
}

XML Schema


<xs:complexType name="presenceChangeEvent">
    <xs:complexContent>
        <xs:extension base="tns:objectChangeEvent">
            <xs:sequence>
                <xs:element minOccurs="0" name="changedPresence" type="tns:presence"/>
            </xs:sequence>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

        

References

The following data represents the references to presenceChangeEvent

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions

Not Referenced Directly by Representations