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

Contents

Overview

Resource WikiPage is a document that is always version-controlled and always discussed. A WikiPage has a "raw" form and a "rendered" form. The raw form of the WikiPage is the actual content stored in the WikiPage with no processing applied to it. It often contains content that is marked-up using wiki syntax, such as Creole. The rendered form of the WikiPage is the HTML representation of the "raw" form. Much like a document, it has a size associated with it, is contained within a folder, and can be locked.

Members

Name Type Required Description

attachedMarkers

marker[]

Set of marker elements associated with the entity.

attachedReminders

reminder[]

List of reminders attached to the entity

attachedSubscriptions

subscription[]

List of subscriptions attached to the entity

bonds

bond[]

List of artifact bonds

changeStatus

changeStatus

The change status of the artifact

checkedOut

boolean

This member is true if the isFamily member is true and the WikiPage is currently checked out for editing.

checkedOutBy

actor

The actor who currently has a WikiPage checked out for editing.

checkedOutOn

dateTime

The time at which a checked-out WikiPage was checked out for editing.

checkoutComments

string

If this item represents a WikiPage that is currently checked out for editing, then the checkoutComments member stores the comments that describe the edits made for the checkout.

collabId

beeId

CollabId of the snapshot

content

content

The Content object associated with this WikiPage snapshot. It can safely be cast to an IdentifiableSimpleContent.

contentSnapshotId

string

ID marking the state of the wiki page at the time that the content was last updated.

createdOn

dateTime

Entity's creation date

creator

actor

The actor that created this entity

deleted

boolean

Deletion flag. If this property is set to true the entity is deleted.

description

string

The description of this WikiPage.

family

boolean

This member is true if this item represents a WikiPage with versions.

locks

lock[]

All locks that are currently held on the WikiPage.

modifiedBy

actor

The actor that last modified the entity

modifiedOn

dateTime

The date when entity was last modified

name

string

Name of the entity.

parent

entity

The parent for this entity.

parentFamily

anyType

(constrained to Versionable)

If this item represents a specific version of a WikiPage, then this member can be loaded to get the overall WikiPage (the family) of which this item is a part.

parentVersion

version

If this item represents a specific version of a WikiPage, then this member can be loaded to get the metadata for this particular version.

path

string

The path to the location of this WikiPage.

properties

collabProperties

The properties of the artifact that are shared among all the actors

renderedData

anyType

The rendered data portion of this WikiPage as an Object. Only returned from the WikiControl.renderData member.

renderedPage

string

The rendered content of this WikiPage. Only returned from the WikiControl.renderPage member.

representativeVersion

version

If this item represents a WikiPage with versions, then this member can be loaded to get the metadata for the latest version or the working copy, depending on whether the current actor has the WikiPage checked out for editing.

representativeVersionable

anyType

(constrained to Versionable)

If this item represents a WikiPage with versions, then this member can be loaded to get the content of the latest version or the working copy, depending on whether the current actor has the WikiPage checked out for editing.

size

long

The user-visible current size of this WikiPage. If the WikiPage has multiple versions, this member refers to the size of the latest version.

snapshotId

string

Contains the snapshot identifier for this snapshot. Snapshot identifiers are used to implement optimistic locking on the server.

totalSize

long

The total size of this WikiPage, including the aggregate size of all of its versions if the isFamily member is equal to true.

userCreatedOn

dateTime

The user creation date (if created offline)

userModifiedOn

dateTime

The user last modified date (if modified offline)

version

boolean

This member is true if this item represents the content of a specific version of a WikiPage.

versionControlled

boolean

This member is true if the WikiPage is under version control and is either a family, version, or working copy.

versionHistory

version[]

List of the metadata for each Version of the WikiPage, which includes the version numbers and comments associated with each version.

versionableHistory

anyType[]

List of all Versions of the WikiPage. These types can be loaded to retrieve the actual WikiPage content associated with each version.

viewCount

int

The number of times this WikiPage has been viewed

viewer

actor

The actor for which this artifact snapshot was loaded. All the artifact viewer properties in this snapshot are loaded for this actor.

viewerProperties

collabProperties

The viewer properties of the artifact that are private to loading actor

workingCopy

boolean

This member is true if this item represents the content of a checked-out WikiPage.

workspace

workspace

The Workspace that is the parent container of this WikiPage

Hierarchy

Inherits From

Applied Markers

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:wikiPage xsi:type="obh:wikiPage" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:attachedMarkers>your_marker_0</obh:attachedMarkers>
        <obh:attachedMarkers>your_marker_1</obh:attachedMarkers>
        <obh:attachedMarkers>your_marker_2</obh:attachedMarkers>
        <obh:attachedReminders>your_reminder_0</obh:attachedReminders>
        <obh:attachedReminders>your_reminder_1</obh:attachedReminders>
        <obh:attachedReminders>your_reminder_2</obh:attachedReminders>
        <obh:attachedSubscriptions>your_subscription_0</obh:attachedSubscriptions>
        <obh:attachedSubscriptions>your_subscription_1</obh:attachedSubscriptions>
        <obh:attachedSubscriptions>your_subscription_2</obh:attachedSubscriptions>
        <obh:bonds>your_bond_0</obh:bonds>
        <obh:bonds>your_bond_1</obh:bonds>
        <obh:bonds>your_bond_2</obh:bonds>
        <obh:changeStatus>your_changeStatus_0</obh:changeStatus>
        <obh:checkedOut>your_boolean_0</obh:checkedOut>
        <obh:checkedOutBy>your_actor_0</obh:checkedOutBy>
        <obh:checkedOutOn>your_dateTime_0</obh:checkedOutOn>
        <obh:checkoutComments>your_string_0</obh:checkoutComments>
        <obh:collabId>your_beeId_0</obh:collabId>
        <obh:content>your_content_0</obh:content>
        <obh:contentSnapshotId>your_string_0</obh:contentSnapshotId>
        <obh:createdOn>your_dateTime_0</obh:createdOn>
        <obh:creator>your_actor_0</obh:creator>
        <obh:deleted>your_boolean_0</obh:deleted>
        <obh:description>your_string_0</obh:description>
        <obh:family>your_boolean_0</obh:family>
        <obh:locks>your_lock_0</obh:locks>
        <obh:locks>your_lock_1</obh:locks>
        <obh:locks>your_lock_2</obh:locks>
        <obh:modifiedBy>your_actor_0</obh:modifiedBy>
        <obh:modifiedOn>your_dateTime_0</obh:modifiedOn>
        <obh:name>your_string_0</obh:name>
        <obh:parent>your_entity_0</obh:parent>
        <obh:parentFamily>your_anyType_0</obh:parentFamily>
        <obh:parentVersion>your_version_0</obh:parentVersion>
        <obh:path>your_string_0</obh:path>
        <obh:properties>your_collabProperties_0</obh:properties>
        <obh:renderedData>your_anyType_0</obh:renderedData>
        <obh:renderedPage>your_string_0</obh:renderedPage>
        <obh:representativeVersion>your_version_0</obh:representativeVersion>
        <obh:representativeVersionable>your_anyType_0</obh:representativeVersionable>
        <obh:size>your_long_0</obh:size>
        <obh:snapshotId>your_string_0</obh:snapshotId>
        <obh:totalSize>your_long_0</obh:totalSize>
        <obh:userCreatedOn>your_dateTime_0</obh:userCreatedOn>
        <obh:userModifiedOn>your_dateTime_0</obh:userModifiedOn>
        <obh:version>your_boolean_0</obh:version>
        <obh:versionControlled>your_boolean_0</obh:versionControlled>
        <obh:versionHistory>your_version_0</obh:versionHistory>
        <obh:versionHistory>your_version_1</obh:versionHistory>
        <obh:versionHistory>your_version_2</obh:versionHistory>
        <obh:versionableHistory>your_anyType_0</obh:versionableHistory>
        <obh:versionableHistory>your_anyType_1</obh:versionableHistory>
        <obh:versionableHistory>your_anyType_2</obh:versionableHistory>
        <obh:viewCount>your_int_0</obh:viewCount>
        <obh:viewer>your_actor_0</obh:viewer>
        <obh:viewerProperties>your_collabProperties_0</obh:viewerProperties>
        <obh:workingCopy>your_boolean_0</obh:workingCopy>
        <obh:workspace>your_workspace_0</obh:workspace>
</obh:wikiPage>

JSON Example

(show inherited members)

{
    "beeType":"wikiPage",
        "attachedMarkers":[
            { your_{http://www.oracle.com/beehive}attachedMarkers_as_marker0 },
            { your_{http://www.oracle.com/beehive}attachedMarkers_as_marker1 },
            { your_{http://www.oracle.com/beehive}attachedMarkers_as_marker2 }
        ],
        "attachedReminders":[
            { your_{http://www.oracle.com/beehive}attachedReminders_as_reminder0 },
            { your_{http://www.oracle.com/beehive}attachedReminders_as_reminder1 },
            { your_{http://www.oracle.com/beehive}attachedReminders_as_reminder2 }
        ],
        "attachedSubscriptions":[
            { your_{http://www.oracle.com/beehive}attachedSubscriptions_as_subscription0 },
            { your_{http://www.oracle.com/beehive}attachedSubscriptions_as_subscription1 },
            { your_{http://www.oracle.com/beehive}attachedSubscriptions_as_subscription2 }
        ],
        "bonds":[
            { your_{http://www.oracle.com/beehive}bonds_as_bond0 },
            { your_{http://www.oracle.com/beehive}bonds_as_bond1 },
            { your_{http://www.oracle.com/beehive}bonds_as_bond2 }
        ],
        "changeStatus":{ your_{http://www.oracle.com/beehive}changeStatus_as_changeStatus0 },
        "checkedOut":your_{http://www.oracle.com/beehive}checkedOut_as_boolean0,
        "checkedOutBy":{ your_{http://www.oracle.com/beehive}checkedOutBy_as_actor0 },
        "checkedOutOn":"your_{http://www.oracle.com/beehive}checkedOutOn_as_dateTime0",
        "checkoutComments":"your_{http://www.oracle.com/beehive}checkoutComments_as_string0",
        "collabId":{ your_{http://www.oracle.com/beehive}collabId_as_beeId0 },
        "content":{ your_{http://www.oracle.com/beehive}content_as_content0 },
        "contentSnapshotId":"your_{http://www.oracle.com/beehive}contentSnapshotId_as_string0",
        "createdOn":"your_{http://www.oracle.com/beehive}createdOn_as_dateTime0",
        "creator":{ your_{http://www.oracle.com/beehive}creator_as_actor0 },
        "deleted":your_{http://www.oracle.com/beehive}deleted_as_boolean0,
        "description":"your_{http://www.oracle.com/beehive}description_as_string0",
        "family":your_{http://www.oracle.com/beehive}family_as_boolean0,
        "locks":[
            { your_{http://www.oracle.com/beehive}locks_as_lock0 },
            { your_{http://www.oracle.com/beehive}locks_as_lock1 },
            { your_{http://www.oracle.com/beehive}locks_as_lock2 }
        ],
        "modifiedBy":{ your_{http://www.oracle.com/beehive}modifiedBy_as_actor0 },
        "modifiedOn":"your_{http://www.oracle.com/beehive}modifiedOn_as_dateTime0",
        "name":"your_{http://www.oracle.com/beehive}name_as_string0",
        "parent":{ your_{http://www.oracle.com/beehive}parent_as_entity0 },
        "parentFamily":"your_{http://www.oracle.com/beehive}parentFamily_as_anyType0",
        "parentVersion":{ your_{http://www.oracle.com/beehive}parentVersion_as_version0 },
        "path":"your_{http://www.oracle.com/beehive}path_as_string0",
        "properties":{ your_{http://www.oracle.com/beehive}properties_as_collabProperties0 },
        "renderedData":"your_{http://www.oracle.com/beehive}renderedData_as_anyType0",
        "renderedPage":"your_{http://www.oracle.com/beehive}renderedPage_as_string0",
        "representativeVersion":{ your_{http://www.oracle.com/beehive}representativeVersion_as_version0 },
        "representativeVersionable":"your_{http://www.oracle.com/beehive}representativeVersionable_as_anyType0",
        "size":your_{http://www.oracle.com/beehive}size_as_long0,
        "snapshotId":"your_{http://www.oracle.com/beehive}snapshotId_as_string0",
        "totalSize":your_{http://www.oracle.com/beehive}totalSize_as_long0,
        "userCreatedOn":"your_{http://www.oracle.com/beehive}userCreatedOn_as_dateTime0",
        "userModifiedOn":"your_{http://www.oracle.com/beehive}userModifiedOn_as_dateTime0",
        "version":your_{http://www.oracle.com/beehive}version_as_boolean0,
        "versionControlled":your_{http://www.oracle.com/beehive}versionControlled_as_boolean0,
        "versionHistory":[
            { your_{http://www.oracle.com/beehive}versionHistory_as_version0 },
            { your_{http://www.oracle.com/beehive}versionHistory_as_version1 },
            { your_{http://www.oracle.com/beehive}versionHistory_as_version2 }
        ],
        "versionableHistory":[
            "your_{http://www.oracle.com/beehive}versionableHistory_as_anyType0",
            "your_{http://www.oracle.com/beehive}versionableHistory_as_anyType1",
            "your_{http://www.oracle.com/beehive}versionableHistory_as_anyType2"
        ],
        "viewCount":your_{http://www.oracle.com/beehive}viewCount_as_int0,
        "viewer":{ your_{http://www.oracle.com/beehive}viewer_as_actor0 },
        "viewerProperties":{ your_{http://www.oracle.com/beehive}viewerProperties_as_collabProperties0 },
        "workingCopy":your_{http://www.oracle.com/beehive}workingCopy_as_boolean0,
        "workspace":{ your_{http://www.oracle.com/beehive}workspace_as_workspace0 }
}

XML Schema


<xs:complexType name="wikiPage">
    <xs:complexContent>
        <xs:extension base="tns:artifact">
            <xs:sequence>
                <xs:element name="checkedOut" type="xs:boolean"/>
                <xs:element minOccurs="0" name="checkedOutBy" type="tns:actor"/>
                <xs:element minOccurs="0" name="checkedOutOn" type="xs:dateTime"/>
                <xs:element minOccurs="0" name="checkoutComments" type="xs:string"/>
                <xs:element minOccurs="0" name="content" type="tns:content"/>
                <xs:element minOccurs="0" name="contentSnapshotId" type="xs:string"/>
                <xs:element minOccurs="0" name="description" type="xs:string"/>
                <xs:element name="family" type="xs:boolean"/>
                <xs:element maxOccurs="unbounded" minOccurs="0"
                    name="locks" nillable="true" type="tns:lock"/>
                <xs:element minOccurs="0" name="parentFamily" type="xs:anyType"/>
                <xs:element minOccurs="0" name="parentVersion" type="tns:version"/>
                <xs:element minOccurs="0" name="path" type="xs:string"/>
                <xs:element minOccurs="0" name="renderedData" type="xs:anyType"/>
                <xs:element minOccurs="0" name="renderedPage" type="xs:string"/>
                <xs:element minOccurs="0" name="representativeVersion" type="tns:version"/>
                <xs:element minOccurs="0"
                    name="representativeVersionable" type="xs:anyType"/>
                <xs:element name="size" type="xs:long"/>
                <xs:element name="totalSize" type="xs:long"/>
                <xs:element name="version" type="xs:boolean"/>
                <xs:element name="versionControlled" type="xs:boolean"/>
                <xs:element maxOccurs="unbounded" minOccurs="0"
                    name="versionHistory" nillable="true" type="tns:version"/>
                <xs:element maxOccurs="unbounded" minOccurs="0"
                    name="versionableHistory" nillable="true" type="xs:anyType"/>
                <xs:element name="viewCount" type="xs:int"/>
                <xs:element name="workingCopy" type="xs:boolean"/>
                <xs:element minOccurs="0" name="workspace" type="tns:workspace"/>
            </xs:sequence>
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

        

References

The following data represents the references to wikiPage

Referenced By Resources

Usage Resource Method
Response Wiki Page Copy
Response Wiki Page Create
Response Wiki Page List
Response Wiki Page List Orphan WikiPages
Response Wiki Page Read
Response Wiki Page Read Batch
Request Wiki Page Read Batch
Response Wiki Page Render Data
Response Wiki Page Render Data With Default Context
Response Wiki Page Render Page
Response Wiki Page Render Page With Default Context
Response Wiki Page Update

Referenced By Representaions