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

Contents

Overview

Entity is a snapshot of a server-side entity instance. It is an immutable object associated with an entity instance which has some of its attributes materialized during a load operation. The set of loaded attributes depends on the projection used in load operation. Entities are created using a creator object of the corresponding type and entity attributes are updated using the corresponding updater object. From an object model point of view, an entity is a tuple with a globally unique entity ID and an optional name. An entity's name is mutable. Virtually all manipulable objects are entities. Access to every entity is controlled through access control rules. Basically, each entity can define one or more operations that can be performed on it and for each operation specify one or more privileges that the requesting actor must carry in order to be allowed to perform the operation. Note that we allow owner to be either a single actor, or a group. The actor that made the entity come into existence is the creator of the entity and this value cannot be changed. Each entity can have zero or more labels associated with it.

Members

Name Type Required Description

attachedMarkers

marker[]

Set of marker elements associated with the entity.

attachedReminders

reminder[]

List of reminders attached to the entity

attachedSubscriptions

subscription[]

List of subscriptions attached to the entity

collabId

beeId

CollabId of the snapshot

createdOn

dateTime

Entity's creation date

creator

actor

The actor that created this entity

deleted

boolean

Deletion flag. If this property is set to true the entity is deleted.

modifiedBy

actor

The actor that last modified the entity

modifiedOn

dateTime

The date when entity was last modified

name

string

Name of the entity.

parent

entity

The parent for this entity.

snapshotId

string

Contains the snapshot identifier for this snapshot. Snapshot identifiers are used to implement optimistic locking on the server.

Hierarchy

Inherits From

Inherited By

Applied Markers

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:entity xsi:type="obh:entity" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:attachedMarkers>your_marker_0</obh:attachedMarkers>
        <obh:attachedMarkers>your_marker_1</obh:attachedMarkers>
        <obh:attachedMarkers>your_marker_2</obh:attachedMarkers>
        <obh:attachedReminders>your_reminder_0</obh:attachedReminders>
        <obh:attachedReminders>your_reminder_1</obh:attachedReminders>
        <obh:attachedReminders>your_reminder_2</obh:attachedReminders>
        <obh:attachedSubscriptions>your_subscription_0</obh:attachedSubscriptions>
        <obh:attachedSubscriptions>your_subscription_1</obh:attachedSubscriptions>
        <obh:attachedSubscriptions>your_subscription_2</obh:attachedSubscriptions>
        <obh:collabId>your_beeId_0</obh:collabId>
        <obh:createdOn>your_dateTime_0</obh:createdOn>
        <obh:creator>your_actor_0</obh:creator>
        <obh:deleted>your_boolean_0</obh:deleted>
        <obh:modifiedBy>your_actor_0</obh:modifiedBy>
        <obh:modifiedOn>your_dateTime_0</obh:modifiedOn>
        <obh:name>your_string_0</obh:name>
        <obh:parent>your_entity_0</obh:parent>
        <obh:snapshotId>your_string_0</obh:snapshotId>
</obh:entity>

JSON Example

(show inherited members)

{
    "beeType":"entity",
        "attachedMarkers":[
            { your_{http://www.oracle.com/beehive}attachedMarkers_as_marker0 },
            { your_{http://www.oracle.com/beehive}attachedMarkers_as_marker1 },
            { your_{http://www.oracle.com/beehive}attachedMarkers_as_marker2 }
        ],
        "attachedReminders":[
            { your_{http://www.oracle.com/beehive}attachedReminders_as_reminder0 },
            { your_{http://www.oracle.com/beehive}attachedReminders_as_reminder1 },
            { your_{http://www.oracle.com/beehive}attachedReminders_as_reminder2 }
        ],
        "attachedSubscriptions":[
            { your_{http://www.oracle.com/beehive}attachedSubscriptions_as_subscription0 },
            { your_{http://www.oracle.com/beehive}attachedSubscriptions_as_subscription1 },
            { your_{http://www.oracle.com/beehive}attachedSubscriptions_as_subscription2 }
        ],
        "collabId":{ your_{http://www.oracle.com/beehive}collabId_as_beeId0 },
        "createdOn":"your_{http://www.oracle.com/beehive}createdOn_as_dateTime0",
        "creator":{ your_{http://www.oracle.com/beehive}creator_as_actor0 },
        "deleted":your_{http://www.oracle.com/beehive}deleted_as_boolean0,
        "modifiedBy":{ your_{http://www.oracle.com/beehive}modifiedBy_as_actor0 },
        "modifiedOn":"your_{http://www.oracle.com/beehive}modifiedOn_as_dateTime0",
        "name":"your_{http://www.oracle.com/beehive}name_as_string0",
        "parent":{ your_{http://www.oracle.com/beehive}parent_as_entity0 },
        "snapshotId":"your_{http://www.oracle.com/beehive}snapshotId_as_string0"
}

XML Schema


<xs:complexType name="entity">
    <xs:complexContent>
        <xs:extension base="tns:identifiableSnapshot">
            <xs:sequence>
                <xs:element maxOccurs="unbounded" minOccurs="0"
                    name="attachedMarkers" type="tns:marker"/>
                <xs:element maxOccurs="unbounded" minOccurs="0"
                    name="attachedReminders" nillable="true" type="tns:reminder"/>
                <xs:element maxOccurs="unbounded" minOccurs="0"
                    name="attachedSubscriptions" nillable="true" type="tns:subscription"/>
                <xs:element minOccurs="0" name="createdOn" type="xs:dateTime"/>
                <xs:element minOccurs="0" name="creator" type="tns:actor"/>
                <xs:element name="deleted" type="xs:boolean"/>
                <xs:element minOccurs="0" name="modifiedBy" type="tns:actor"/>
                <xs:element minOccurs="0" name="modifiedOn" type="xs:dateTime"/>
                <xs:element minOccurs="0" name="name" type="xs:string"/>
                <xs:element minOccurs="0" name="parent" type="tns:entity"/>
                <xs:element minOccurs="0" name="snapshotId" type="xs:string"/>
            </xs:sequence>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

        

References

The following data represents the references to entity

Referenced By Resources

Usage Resource Method
Request AddressBook Apply Label Batch
Request AddressBook Remove Label Batch
Request Announcement Apply Label Batch
Request Announcement Remove Label Batch
Request Assigned Role Apply Label Batch
Request Assigned Role Remove Label Batch
Request BookableResource Apply Label Batch
Request BookableResource Remove Label Batch
Request Category Apply Label Batch
Request Category Remove Label Batch
Request CategoryTemplate Apply Label Batch
Request CategoryTemplate Remove Label Batch
Request Conference Apply Label Batch
Request Conference Remove Label Batch
Request DiscussThisForum Apply Label Batch
Request DiscussThisForum Remove Label Batch
Request DiscussionsDraft Apply Label Batch
Request DiscussionsDraft Remove Label Batch
Request DiscussionsMessage Apply Label Batch
Request DiscussionsMessage Remove Label Batch
Request Document Apply Label Batch
Request Document Remove Label Batch
Request DynamicGroup Apply Label Batch
Request DynamicGroup Remove Label Batch
Request EmailMessage Apply Label Batch
Request EmailMessage Remove Label Batch
Request Enterprise Apply Label Batch
Request Enterprise Remove Label Batch
Request ExpertiseConnection Apply Label Batch
Request ExpertiseConnection Remove Label Batch
Request ExpertiseUserScope Apply Label Batch
Request ExpertiseUserScope Remove Label Batch
Request ExternalArtifact Apply Label Batch
Request ExternalArtifact Remove Label Batch
Request Fax Message Apply Label Batch
Request Fax Message Remove Label Batch
Request Forum Apply Label Batch
Request Forum Remove Label Batch
Request Group Apply Label Batch
Request Group Remove Label Batch
Request GroupContact Apply Label Batch
Request GroupContact Remove Label Batch
Request Heterogeneous Folder Apply Label Batch
Request Heterogeneous Folder Remove Label Batch
Response Label List Labeled Entities
Request LabelBundle Apply Label Batch
Request LabelBundle Remove Label Batch
Request Link Apply Label Batch
Request Link Remove Label Batch
Request Lock Apply Label Batch
Request Lock Remove Label Batch
Request Organization Apply Label Batch
Request Organization Remove Label Batch
Request PersonContact Apply Label Batch
Request PersonContact Remove Label Batch
Request PersonalWorkspace Apply Label Batch
Request PersonalWorkspace Remove Label Batch
Request RelationshipConnection Apply Label Batch
Request RelationshipConnection Remove Label Batch
Request Reminder Apply Label Batch
Request Reminder Remove Label Batch
Request ReminderList Apply Label Batch
Request ReminderList Remove Label Batch
Request RemoteDocument Apply Label Batch
Request RemoteDocument Remove Label Batch
Request RemoteFolder Apply Label Batch
Request RemoteFolder Remove Label Batch
Request RemoteRepository Apply Label Batch
Request RemoteRepository Remove Label Batch
Request RemoteShare Apply Label Batch
Request RemoteShare Remove Label Batch
Request ResourceContact Apply Label Batch
Request ResourceContact Remove Label Batch
Request Role Definition Apply Label Batch
Request Role Definition Remove Label Batch
Request Sensitivity Apply Label Batch
Request Sensitivity Remove Label Batch
Request Subscription Apply Label Batch
Request Subscription Remove Label Batch
Request SubscriptionList Apply Label Batch
Request SubscriptionList Remove Label Batch
Request TeamWorkspace Apply Label Batch
Request TeamWorkspace Remove Label Batch
Request Topic Apply Label Batch
Request Topic Remove Label Batch
Request Trash Apply Label Batch
Request Trash Remove Label Batch
Request TrashItem Apply Label Batch
Request TrashItem Remove Label Batch
Request Version Apply Label Batch
Request Version Remove Label Batch
Request Voice Message Apply Label Batch
Request Voice Message Remove Label Batch
Request Wiki Page Apply Label Batch
Request Wiki Page Remove Label Batch

Referenced By Representaions