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

Contents

Overview

Resource TopicDraftProperties is used by DiscussionsDrafts intended to become new Topics. It encapsulates properties which do not apply to the DiscussionsDraft itself, but only apply to the Topic it will become when the draft is posted. For example, a DiscussionsDraft cannot have a folder change status, but when the DiscussionsDraft is posted and becomes a new Topic, the folder change status will then be in effect as a field of the new Topic.

Members

Name Type Required Description

changeStatus

changeStatus

The intended ChangeStatus for the Topic this DiscussionsDraft will become when it is posted.

description

string

The intended description for the Topic this DiscussionsDraft will become when it is posted.

incrementViewCount

boolean

Indicates whether the view count of the new Topic will be incremented by one when the DiscussionsDraft is posted.

map

associativeArray<stringcollabProperty>

Map of the properties.

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:topicDraftProperties xsi:type="obh:topicDraftProperties" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:changeStatus>your_changeStatus_0</obh:changeStatus>
        <obh:description>your_string_0</obh:description>
        <obh:incrementViewCount>your_boolean_0</obh:incrementViewCount>
        <obh:map>your_associativeArray_0</obh:map>
</obh:topicDraftProperties>

JSON Example

(show inherited members)

{
    "beeType":"topicDraftProperties",
        "changeStatus":{ your_{http://www.oracle.com/beehive}changeStatus_as_changeStatus0 },
        "description":"your_{http://www.oracle.com/beehive}description_as_string0",
        "incrementViewCount":your_{http://www.oracle.com/beehive}incrementViewCount_as_boolean0,
        "map":{ your_{http://www.oracle.com/beehive}map_as_associativeArray0 }
}

XML Schema


<xs:complexType name="topicDraftProperties">
    <xs:complexContent>
        <xs:extension base="tns:discussionsDraftProperties">
            <xs:sequence>
                <xs:element minOccurs="0" name="changeStatus" type="tns:changeStatus"/>
                <xs:element minOccurs="0" name="description" type="xs:string"/>
                <xs:element name="incrementViewCount" type="xs:boolean"/>
            </xs:sequence>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

        

References

The following data represents the references to topicDraftProperties

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions

Not Referenced Directly by Representations