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

Contents

Overview

Resource DiscussionsMessageUpdatePermissions is used to describe the conditions under which DiscussionsMessages in a particular Forum may be updated. The default settings are NO_REPLIES for When, AUTHOR_ONLY for Who, and 0 for time limit.

Members

Name Type Required Description

timeLimit

int

The number of minutes after the DiscussionsMessage's creation in which the DiscussionsMessage may be updated by non-moderators. For example, if this is set to 10, a non-moderator is allowed to update the DiscussionsMessage within ten minutes of its creation time. The default value is 0, indicating that a DiscussionsMessage can be updated at any time. The value -1 indicates that this Forum uses the time limit value of its parent (defers).

when

discussionsMessageCondition

Description of when DiscussionsMessages in a particular Forum may be updated. See DiscussionsMessageCondition for the meanings of particular values.

who

discussionsMessageActor

Description of who is allowed to update DiscussionsMessages in a particular Forum. See DiscussionsMessageActor for the meanings of particular values.

Hierarchy

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:discussionsMessageUpdatePermissions xsi:type="obh:discussionsMessageUpdatePermissions" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:timeLimit>your_int_0</obh:timeLimit>
        <obh:when>your_discussionsMessageCondition_0</obh:when>
        <obh:who>your_discussionsMessageActor_0</obh:who>
</obh:discussionsMessageUpdatePermissions>

JSON Example

(show inherited members)

{
    "beeType":"discussionsMessageUpdatePermissions",
        "timeLimit":your_{http://www.oracle.com/beehive}timeLimit_as_int0,
        "when":{ your_{http://www.oracle.com/beehive}when_as_discussionsMessageCondition0 },
        "who":{ your_{http://www.oracle.com/beehive}who_as_discussionsMessageActor0 }
}

XML Schema


<xs:complexType name="discussionsMessageUpdatePermissions">
    <xs:sequence>
        <xs:element name="timeLimit" type="xs:int"/>
        <xs:element minOccurs="0" name="when" type="tns:discussionsMessageCondition"/>
        <xs:element minOccurs="0" name="who" type="tns:discussionsMessageActor"/>
    </xs:sequence>
</xs:complexType>

        

References

The following data represents the references to discussionsMessageUpdatePermissions

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions