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

Contents

Overview

Resource DiscussionsDraftUpdater is used to update the various fields of the DiscussionsDraft. It is not used directly. Instead, the user should pick the updater that corresponds to the DiscussionsDraft's type: TopicDraftUpdater, AnnouncementDraftUpdater, and DiscussionsMessageDraftUpdater.

Members

Name Type Description

addedFlags

messageFlag[]

Sets the specified enum set of message flags to this updater

changeStatus

changeStatus

Artifact change status.

flags

messageFlag[]

Message flags for the message. Flags not included in the collection are to be reset. Flags not added previously are to be added implicitly.

name

string

Get the Name of the Entity

overriddenFlags

messageFlag[]

Sets the overridden message flags

propertiesUpdater

collabPropertiesUpdater

A CollabPropertiesUpdater which can be used to add or remove CollabProperties for this Artifact.

removedFlags

messageFlag[]

Sets the enum set of removed message flags

updatedBody

contentUpdater

The updater for updating the content of the DiscussionsDraft's internal DiscussionsMessage.

userCreatedOn

dateTime

The user creation time (if created offline) for the Artifact

userModifiedOn

dateTime

The user modification time (if created offline) for the Artifact

viewerPropertiesUpdater

collabPropertiesUpdater

A CollabPropertiesUpdater which can be used to add or remove viewer private CollabProperties for this Artifact.

Hierarchy

Inherits From

Inherited By

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:discussionsDraftUpdater xsi:type="obh:discussionsDraftUpdater" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:addedFlags>your_messageFlag_0</obh:addedFlags>
        <obh:addedFlags>your_messageFlag_1</obh:addedFlags>
        <obh:addedFlags>your_messageFlag_2</obh:addedFlags>
        <obh:changeStatus>your_changeStatus_0</obh:changeStatus>
        <obh:flags>your_messageFlag_0</obh:flags>
        <obh:flags>your_messageFlag_1</obh:flags>
        <obh:flags>your_messageFlag_2</obh:flags>
        <obh:name>your_string_0</obh:name>
        <obh:overriddenFlags>your_messageFlag_0</obh:overriddenFlags>
        <obh:overriddenFlags>your_messageFlag_1</obh:overriddenFlags>
        <obh:overriddenFlags>your_messageFlag_2</obh:overriddenFlags>
        <obh:propertiesUpdater>your_collabPropertiesUpdater_0</obh:propertiesUpdater>
        <obh:removedFlags>your_messageFlag_0</obh:removedFlags>
        <obh:removedFlags>your_messageFlag_1</obh:removedFlags>
        <obh:removedFlags>your_messageFlag_2</obh:removedFlags>
        <obh:updatedBody>your_contentUpdater_0</obh:updatedBody>
        <obh:userCreatedOn>your_dateTime_0</obh:userCreatedOn>
        <obh:userModifiedOn>your_dateTime_0</obh:userModifiedOn>
        <obh:viewerPropertiesUpdater>your_collabPropertiesUpdater_0</obh:viewerPropertiesUpdater>
</obh:discussionsDraftUpdater>

JSON Example

(show inherited members)

{
    "beeType":"discussionsDraftUpdater",
        "addedFlags":[
            { your_{http://www.oracle.com/beehive}addedFlags_as_messageFlag0 },
            { your_{http://www.oracle.com/beehive}addedFlags_as_messageFlag1 },
            { your_{http://www.oracle.com/beehive}addedFlags_as_messageFlag2 }
        ],
        "changeStatus":{ your_{http://www.oracle.com/beehive}changeStatus_as_changeStatus0 },
        "flags":[
            { your_{http://www.oracle.com/beehive}flags_as_messageFlag0 },
            { your_{http://www.oracle.com/beehive}flags_as_messageFlag1 },
            { your_{http://www.oracle.com/beehive}flags_as_messageFlag2 }
        ],
        "name":"your_{http://www.oracle.com/beehive}name_as_string0",
        "overriddenFlags":[
            { your_{http://www.oracle.com/beehive}overriddenFlags_as_messageFlag0 },
            { your_{http://www.oracle.com/beehive}overriddenFlags_as_messageFlag1 },
            { your_{http://www.oracle.com/beehive}overriddenFlags_as_messageFlag2 }
        ],
        "propertiesUpdater":{ your_{http://www.oracle.com/beehive}propertiesUpdater_as_collabPropertiesUpdater0 },
        "removedFlags":[
            { your_{http://www.oracle.com/beehive}removedFlags_as_messageFlag0 },
            { your_{http://www.oracle.com/beehive}removedFlags_as_messageFlag1 },
            { your_{http://www.oracle.com/beehive}removedFlags_as_messageFlag2 }
        ],
        "updatedBody":{ your_{http://www.oracle.com/beehive}updatedBody_as_contentUpdater0 },
        "userCreatedOn":"your_{http://www.oracle.com/beehive}userCreatedOn_as_dateTime0",
        "userModifiedOn":"your_{http://www.oracle.com/beehive}userModifiedOn_as_dateTime0",
        "viewerPropertiesUpdater":{ your_{http://www.oracle.com/beehive}viewerPropertiesUpdater_as_collabPropertiesUpdater0 }
}

XML Schema


<xs:complexType name="discussionsDraftUpdater">
    <xs:complexContent>
        <xs:extension base="tns:messageUpdater">
            <xs:sequence>
                <xs:element minOccurs="0" name="updatedBody" type="tns:contentUpdater"/>
            </xs:sequence>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

        

References

The following data represents the references to discussionsDraftUpdater

Referenced By Resources

Usage Resource Method
Request DiscussionsDraft Update

Referenced By Representaions

Not Referenced Directly by Representations