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

Contents

Overview

RemoteRepositorySchema is the schema representation of remote content system. It defines the set of properties (not values) in the form of attributes definitions for the system admin or workspace admins to create configurable s in order to create . The following properties are defined whenever a remote repository schema is created:

Host - location at which the remote content server is residing Port - port to connect to the Host Parent - the location at which the remote share has to be hosted (current implementation only supports workspace) RepositoryType - type of the repository Protocol - type of the protocol to talk to remote system All the above properties are to be mandatory attributes and the corresponding arribute templates in the RemoteRepository will be defined implicity. No need for the admins to define these attributes explicitly. Again RepositoryType and Protocol are defined in the schema are neither modified at the RemoteRepository or at the RemoteShare. In essence for each external repository type and protocol there will be corresponding schema.

Following are the attributes that the admins can define and will be interpreted by the beehive system : RemoteUser - user in the remote system for the beehive system to connect in behalf. RemoteUserPassword - password of the remote user. If these two properties are not defined by the admin then the beehive user will prompted whenever s/he browses through the remote repositories for credentials(for the first time).

Rest of the properties which are specific to the remote repositories or protocol can be defined in the form of attribute definitions. Those properties names MUST not match with the above standard properties.

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

attributes

attributeDefinition[]

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

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

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:remoteRepositoryDefinition xsi:type="obh:remoteRepositoryDefinition" 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:attributes>your_attributeDefinition_0</obh:attributes>
        <obh:attributes>your_attributeDefinition_1</obh:attributes>
        <obh:attributes>your_attributeDefinition_2</obh:attributes>
        <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:description>your_string_0</obh:description>
        <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:remoteRepositoryDefinition>

JSON Example

(show inherited members)

{
    "beeType":"remoteRepositoryDefinition",
        "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 }
        ],
        "attributes":[
            { your_{http://www.oracle.com/beehive}attributes_as_attributeDefinition0 },
            { your_{http://www.oracle.com/beehive}attributes_as_attributeDefinition1 },
            { your_{http://www.oracle.com/beehive}attributes_as_attributeDefinition2 }
        ],
        "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,
        "description":"your_{http://www.oracle.com/beehive}description_as_string0",
        "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="remoteRepositoryDefinition">
    <xs:complexContent>
        <xs:extension base="tns:entitySchema">
            <xs:sequence/>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

        

References

The following data represents the references to remoteRepositoryDefinition

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions