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

Contents

Overview

Resource AnnouncementDraftUpdater is used to update the fields of a DiscussionsDraft that is intended to become an Announcement. AnnouncementDraftUpdater inherits draft destination and body from TopicDraftUpdater. It contains an AnnouncementDraftPropertiesUpdater used to update properties that don't apply to a draft that will be used when the draft is posted as a new Announcement, such as expiration date.

Members

Name Type Description

addedFlags

messageFlag[]

Sets the specified enum set of message flags to this updater

changeStatus

changeStatus

Artifact change status.

draftDestination

beeId<forum>

The Forum that will contain the new Topic when the DiscussionsDraft is posted.

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:announcementDraftUpdater xsi:type="obh:announcementDraftUpdater" 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:announcementDraftUpdater>

JSON Example

(show inherited members)

{
    "beeType":"announcementDraftUpdater",
        "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="announcementDraftUpdater">
    <xs:complexContent>
        <xs:extension base="tns:topicDraftUpdater">
            <xs:sequence/>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

        

References

The following data represents the references to announcementDraftUpdater

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions

Not Referenced Directly by Representations