Overview

The DelegatedRole Entity.

A DelegatedRole is created for the express purpose of granting AccessTypes and Privileges to a DelegatedPrincipal for a particular delegated Scope. As such, it is a "behind-the-scenes" Entity created during the process of setting up a DelegatedPrincipal.

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

Projection.EMPTY loads the following:

  • CollabId
Projection.BASIC loads the Projection.EMPTY fields and the following:
  • SnapshotId
  • Name
  • Parent (The owning Principal)
  • ModifiedBy
  • ModifiedOn
  • Deleted
  • Description
  • DelegatedScope
  • Privileges
Projection.META loads Projection.Empty and Projection.BASIC fields and the following:
  • Creator
  • CreatedOn

Projection.FULL does not load any additional fields.

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

The DelegatedRole snapshot and the data it contains are immutable.

Members

Show inherited members

Projections
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

delegatedScope

scope

Returns the delegated Scope.

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.

privileges

privilege[]

Returns the delegated Privileges for the specified delegated Scope.

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:delegatedRole xsi:type="obh:delegatedRole" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <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>
        <delegatedScope>your_scope_0</delegatedScope>
        <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>
        <privileges>your_privilege_0</privileges>
        <privileges>your_privilege_1</privileges>
        <privileges>your_privilege_2</privileges>
        <snapshotId>your_string_0</snapshotId>
</obh:delegatedRole>

Referenced By Representaions