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

Contents

Overview

RuleDefinition lies in the Policy, PolicyTemplate and PolicySchema. RuleDefinitionUpdater is used to update the rule defintion in all the above entities. In case of a policy , RuleDefinition that is inherited from the template or schema cannot be changed, updateting that rule must not be allowed. However if the rule is defined with in the policy and not inherited from either schema/template then updating the rule is allowed

Members

Name Type Description

attributeDefinitionListUpdater

attributeDefinitionListUpdater

A singleton instance of the AttributeDefinitionListUpdater is returned

condtion

anyType

(constrained to BooleanExpression)

Sets the boolean expression. This experssion can contain the attribute definition as part of the string

description

string

Sets the description

eventDefinition

beeId

eventDefinitionHandle

beeId<eventDefinition>

handle

beeId

name

string

sets the name of the rule definition

priority

int

Sets the priority

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:ruleDefinitionUpdater xsi:type="obh:ruleDefinitionUpdater" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:attributeDefinitionListUpdater>your_attributeDefinitionListUpdater_0</obh:attributeDefinitionListUpdater>
        <obh:condtion>your_anyType_0</obh:condtion>
        <obh:description>your_string_0</obh:description>
        <obh:eventDefinition>your_beeId_0</obh:eventDefinition>
        <obh:eventDefinitionHandle>your_beeId_0</obh:eventDefinitionHandle>
        <obh:handle>your_beeId_0</obh:handle>
        <obh:name>your_string_0</obh:name>
        <obh:priority>your_int_0</obh:priority>
</obh:ruleDefinitionUpdater>

JSON Example

(show inherited members)

{
    "beeType":"ruleDefinitionUpdater",
        "attributeDefinitionListUpdater":{ your_{http://www.oracle.com/beehive}attributeDefinitionListUpdater_as_attributeDefinitionListUpdater0 },
        "condtion":"your_{http://www.oracle.com/beehive}condtion_as_anyType0",
        "description":"your_{http://www.oracle.com/beehive}description_as_string0",
        "eventDefinition":{ your_{http://www.oracle.com/beehive}eventDefinition_as_beeId0 },
        "eventDefinitionHandle":{ your_{http://www.oracle.com/beehive}eventDefinitionHandle_as_beeId0 },
        "handle":{ your_{http://www.oracle.com/beehive}handle_as_beeId0 },
        "name":"your_{http://www.oracle.com/beehive}name_as_string0",
        "priority":your_{http://www.oracle.com/beehive}priority_as_int0
}

XML Schema


<xs:complexType final="extension restriction" name="ruleDefinitionUpdater">
    <xs:complexContent>
        <xs:extension base="tns:identifiableUpdater">
            <xs:sequence>
                <xs:element minOccurs="0"
                    name="attributeDefinitionListUpdater" type="tns:attributeDefinitionListUpdater"/>
                <xs:element minOccurs="0" name="condtion" type="xs:anyType"/>
                <xs:element minOccurs="0" name="description" type="xs:string"/>
                <xs:element minOccurs="0" name="eventDefinition" type="tns:beeId"/>
                <xs:element minOccurs="0" name="eventDefinitionHandle" type="tns:beeId"/>
                <xs:element minOccurs="0" name="handle" type="tns:beeId"/>
                <xs:element minOccurs="0" name="name" type="xs:string"/>
                <xs:element minOccurs="0" name="priority" type="xs:int"/>
            </xs:sequence>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

        

References

The following data represents the references to ruleDefinitionUpdater

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions