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

Contents

Overview

Resource AnnouncementDraftProperties is a container for properties that are unique to Announcements. It is used by DiscussionsDrafts that are intended to become Announcements. For example, a DiscussionsDraft cannot have an expiration date, so the intended expiration date is stored in AnnouncementDraftProperties. When the DiscussionsDraft is posted and it becomes an Announcement, the saved expiration date will be used as the expiration date of the new Announcement.

Members

Name Type Required Description

activatesOn

dateTime

The intended activation date for when the DiscussionsDraft is posted as an Announcement

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.

expiresOn

dateTime

The intended expiration date for when the DiscussionsDraft is posted as an Announcement

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

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

JSON Example

(show inherited members)

{
    "beeType":"announcementDraftProperties",
        "activatesOn":"your_{http://www.oracle.com/beehive}activatesOn_as_dateTime0",
        "changeStatus":{ your_{http://www.oracle.com/beehive}changeStatus_as_changeStatus0 },
        "description":"your_{http://www.oracle.com/beehive}description_as_string0",
        "expiresOn":"your_{http://www.oracle.com/beehive}expiresOn_as_dateTime0",
        "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="announcementDraftProperties">
    <xs:complexContent>
        <xs:extension base="tns:topicDraftProperties">
            <xs:sequence>
                <xs:element minOccurs="0" name="activatesOn" type="xs:dateTime"/>
                <xs:element minOccurs="0" name="expiresOn" type="xs:dateTime"/>
            </xs:sequence>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

        

References

The following data represents the references to announcementDraftProperties

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions

Not Referenced Directly by Representations