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

Contents

Overview

PolicyUpdater is used to create/update the policy.

Members

Name Type Description

attributeApplicationListUpdater

attributeApplicationListUpdater

returns the attribute app list updater

changeStatus

changeStatus

Artifact change status.

description

string

Sets the description of the policy

enabled

boolean

Sets the enable flag of the policy

name

string

Get the Name of the Entity

policyTemplate

beeId

Sets the PolicyTemplateHandle from which the policy rules are created. If the policy already has the handle then the updation of the policy should throw a checked exception

propertiesUpdater

collabPropertiesUpdater

A CollabPropertiesUpdater which can be used to add or remove CollabProperties for this Artifact.

ruleListUpdater

ruleListUpdater

A singleton instance of RuleListUpdater is returned

type

policyType

Sets the type of Policy.

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:policyUpdater xsi:type="obh:policyUpdater" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:attributeApplicationListUpdater>your_attributeApplicationListUpdater_0</obh:attributeApplicationListUpdater>
        <obh:changeStatus>your_changeStatus_0</obh:changeStatus>
        <obh:description>your_string_0</obh:description>
        <obh:enabled>your_boolean_0</obh:enabled>
        <obh:name>your_string_0</obh:name>
        <obh:policyTemplate>your_beeId_0</obh:policyTemplate>
        <obh:propertiesUpdater>your_collabPropertiesUpdater_0</obh:propertiesUpdater>
        <obh:ruleListUpdater>your_ruleListUpdater_0</obh:ruleListUpdater>
        <obh:type>your_policyType_0</obh:type>
        <obh:userCreatedOn>your_dateTime_0</obh:userCreatedOn>
        <obh:userModifiedOn>your_dateTime_0</obh:userModifiedOn>
        <obh:viewerPropertiesUpdater>your_collabPropertiesUpdater_0</obh:viewerPropertiesUpdater>
</obh:policyUpdater>

JSON Example

(show inherited members)

{
    "beeType":"policyUpdater",
        "attributeApplicationListUpdater":{ your_{http://www.oracle.com/beehive}attributeApplicationListUpdater_as_attributeApplicationListUpdater0 },
        "changeStatus":{ your_{http://www.oracle.com/beehive}changeStatus_as_changeStatus0 },
        "description":"your_{http://www.oracle.com/beehive}description_as_string0",
        "enabled":your_{http://www.oracle.com/beehive}enabled_as_boolean0,
        "name":"your_{http://www.oracle.com/beehive}name_as_string0",
        "policyTemplate":{ your_{http://www.oracle.com/beehive}policyTemplate_as_beeId0 },
        "propertiesUpdater":{ your_{http://www.oracle.com/beehive}propertiesUpdater_as_collabPropertiesUpdater0 },
        "ruleListUpdater":{ your_{http://www.oracle.com/beehive}ruleListUpdater_as_ruleListUpdater0 },
        "type":{ your_{http://www.oracle.com/beehive}type_as_policyType0 },
        "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 final="extension restriction" name="policyUpdater">
    <xs:complexContent>
        <xs:extension base="tns:artifactUpdater">
            <xs:sequence>
                <xs:element minOccurs="0"
                    name="attributeApplicationListUpdater" type="tns:attributeApplicationListUpdater"/>
                <xs:element minOccurs="0" name="description" type="xs:string"/>
                <xs:element minOccurs="0" name="enabled" type="xs:boolean"/>
                <xs:element minOccurs="0" name="policyTemplate" type="tns:beeId"/>
                <xs:element minOccurs="0" name="ruleListUpdater" type="tns:ruleListUpdater"/>
                <xs:element minOccurs="0" name="type" type="tns:policyType"/>
            </xs:sequence>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

        

References

The following data represents the references to policyUpdater

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions