Overview

The AssignedRole Entity.

An AssignedRole assigns a RoleDefinition to a Scope and set of Accessors. AssignedRoles are always enabled if the RoleDefinition is marked as 'AlwaysEnabled'. If not AlwaysEnabled the AssignedRole can be enabled through methods on the UserContext.

The following specifies which attributes are loaded when each Projection type is used to load an AssignedRole snapshot:

Projection.EMPTY loads the following:

  • CollabId
Projection.BASIC loads the Projection.EMPTY fields and the following:
  • SnapshotId
  • Name
  • Parent (The owning Scope)
  • ModifiedBy
  • ModifiedOn
  • Deleted
  • Description
  • AssignedScope
  • RoleDefinition
  • Accessors
Projection.META loads Projection.Empty and Projection.BASIC fields and the following:
  • Creator
  • CreatedOn

Projection.FULL does not load any additional fields.

The AssignedRole's LocalACL (LACL) is managed using an AccessControlFieldsUpdater.

The AssignedRole's Accessors are managed using an AssignedRoleUpdater.

The AssignedRole snapshot and the data it contains are immutable.

Members

Show inherited members

Projections
Name Type Required Description

accessors

baseAccessor[]

Returns the Accessors for which the AssignedScope and RoleDefinition apply.

assignedScope

scope

Returns the Scope to which to assign the RoleDefinition for the set of Accessors.

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.

description

string

Returns the Description.

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.

roleDefinition

roleDefinition

Returns the RoleDefinition being assigned to a Scope and set of Accessors.

snapshotId

string

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

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

Referenced By Representaions