Overview

Resource EntityActivity encapsulates all information about a single entity activity entry.

Members

Name Type Description

activityType

entityActivityType

The type of this activity.

affectedEntity

entity

Secondary entity that is associated with this activity. For example, if a user tags a Document, the affected entity will be the tag, while the Document is the primary entity. This entity should be null for activities that do not define such a secondary entity. By default, the affected entity is only projected with CollabId.

bulkContext

bulkContext

Context information of the bulk-operation. This allows clients to determine activities that are performed as a single bulk-operation.

entity

entity

Primary entity associated with this activity. For content activities, this is object on which the user applied the operation. For metadata-related activities, this would be the entity to which metadata is applied (e.g., an entity being tagged) By default, the entity is only projected with CollabId, name, visibility (isDeleted), parent, and tags (visible shared-labels) that have been applied to it. The projection it uses is PRIMARY_ENTITY_PROJECTION. The parent of the primary entity might be null if the entity does not have a parent container (Enterprise). Also by default the parent is only projected with CollabId (Projection.EMPTY)

entityPath

string

Primary entity's path. For entities that do not support path, this will be null.

performedBy

actor

The user that undertook this activity. By default, the actor is only projected with CollabId.

performedOn

dateTime

The time at which this activity occurred. By default, the date will be in UTC.

relatedEntity

entity

Related entity that is associated with this activity. This is used only for specific activity types (e.g., activities related to comments). For other cases it will be null. For example, if a user creates a Discussion Message (comment) discussing a Wiki Page, then the Wiki Page is the primary entity, the Topic of the Discussion Message (comment) is the related entity, while the Discussion Message (comment) itself is the affected entity. By default, the related entity is only projected with CollabId.

workspace

workspace

The Workspace under which this activity was performed. It can often be viewed as the Workspace of the primary entity. If the primary entity is not under a Workspace (Enterprise or Organization), then the Workspace will be null. By default, the Workspace is only projected with CollabId.

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:entityActivity xsi:type="obh:entityActivity" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <activityType>your_entityActivityType_0</activityType>
        <affectedEntity>your_entity_0</affectedEntity>
        <bulkContext>your_bulkContext_0</bulkContext>
        <entity>your_entity_0</entity>
        <entityPath>your_string_0</entityPath>
        <performedBy>your_actor_0</performedBy>
        <performedOn>your_dateTime_0</performedOn>
        <relatedEntity>your_entity_0</relatedEntity>
        <workspace>your_workspace_0</workspace>
</obh:entityActivity>

Referenced By Representaions

Not Referenced Directly by Representations