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

Contents

Overview

Resource DiscussionsMessageDraftUpdater is used to update the fields of a DiscussionsDraft intended as a reply to an existing Topic/Announcement. DiscussionsMessageDraftUpdater does not have a DiscussionsMessageDraftPropertiesUpdater, because there are no fields specific to DiscussionsMessages that do not also apply to DiscussionsDrafts.

Members

Name Type Description

addedFlags

messageFlag[]

Sets the specified enum set of message flags to this updater

changeStatus

changeStatus

Artifact change status.

draftDestination

beeId<discussionsMessage>

The DiscussionsMessage for which this DiscussionsDraft is an intended reply. When this DiscussionsDraft is posted, this DiscussionsMessage will be its parent DiscussionsMessage.

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

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:discussionsMessageDraftUpdater xsi:type="obh:discussionsMessageDraftUpdater" 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:draftDestination>your_beeId_0</obh:draftDestination>
        <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:discussionsMessageDraftUpdater>

JSON Example

(show inherited members)

{
    "beeType":"discussionsMessageDraftUpdater",
        "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 },
        "draftDestination":{ your_{http://www.oracle.com/beehive}draftDestination_as_beeId0 },
        "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="discussionsMessageDraftUpdater">
    <xs:complexContent>
        <xs:extension base="tns:discussionsDraftUpdater">
            <xs:sequence>
                <xs:element minOccurs="0" name="draftDestination" type="tns:beeId"/>
            </xs:sequence>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

        

References

The following data represents the references to discussionsMessageDraftUpdater

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions

Not Referenced Directly by Representations