Overview

A SubscriptionRoster contains all presence subscription state for a given presence watcher. It has an entry for each presentity to which the watcher has subscription to or from that is not in the state SubscriptionState.NONE.

A SubscriptionRoster has a CollabId so that an application can use the Object Event Framework to receive a notification whenever it is modified. A notification is sent whenever an entry is modified (either the stateTo or stateFrom) or whenever an entry is added or removed. To detect changes, the receiver of the change notification should reload the subscription roster using the PresenceControl.

Members

Name Type Description

collabId

beeId

entries

rosterEntry[]

The collection of presence entries in the current user's roster.

Hierarchy

Examples

Below are examples in 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:roster xsi:type="obh:roster" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <collabId>your_beeId_0</collabId>
        <entries>your_rosterEntry_0</entries>
        <entries>your_rosterEntry_1</entries>
        <entries>your_rosterEntry_2</entries>
</obh:roster>

Referenced By Representaions