Overview

A Presence describe the reachability, and activities of a presentity. A Presence provides a list of contact methods that describe to the viewer how to reach the presentity. The viewer can choose any one of the contact methods based on circumstances. In addition, the Presence includes a list of activities which describe what the presentity is currently doing.

Members

Show inherited members

Projections
Name Type Required Description

collabId

beeId

CollabId of the snapshot

contactMethods

contactMethod[]

Returns the set of contact methods which may describe how to communicate with the presentity. The returned list is sorted by priority. The ContactMethod with the highest priority will be the first element in the returned list.

currentActivities

activity[]

Gets the current set of activities. Activities may exist for calendar appointments or other user activities.

modificationTimestamp

long

Returns the time of the last modification of this presence object, or -1 if the time is unknown. The addition or removal of a ContactMethod or Activity as well as the change the status of a ContactMethod is considered a modification.

Hierarchy

Inherits From

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:presence xsi:type="obh:presence" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <collabId>your_beeId_0</collabId>
        <contactMethods>your_contactMethod_0</contactMethods>
        <contactMethods>your_contactMethod_1</contactMethods>
        <contactMethods>your_contactMethod_2</contactMethods>
        <currentActivities>your_activity_0</currentActivities>
        <currentActivities>your_activity_1</currentActivities>
        <currentActivities>your_activity_2</currentActivities>
        <modificationTimestamp>your_long_0</modificationTimestamp>
</obh:presence>

Referenced By Representaions