com.adobe.solutions.rca.vo

# DocumentVO - AS3 Review, Commenting, and Approval

Package | com.adobe.solutions.rca.vo
Class | public class DocumentVO
Inheritance | DocumentVO BaseVO Object

Language Version: | ActionScript 3.0

Product Version: | Review, Commenting, and Approval Building Block 10

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

Represents a Value Object for a supporting document.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | constructor : Object A reference to the class object or constructor function for a given object instance. | Object
|  | contentType : String Gets the document content type. | DocumentVO
|  | createdBy : String Gets the name of the creator of the document. | DocumentVO
|  | createdOn : Date Gets the creation date of the document. | DocumentVO
|  | description : String Gets the document description. | DocumentVO
|  | file : File Gets the instance of File for this document. | DocumentVO
|  | id : String Get the ID of the VO. | BaseVO
|  | name : String Returns the name of the document. | DocumentVO
|  | type : String Gets the type of supporting document. | DocumentVO
|  | uri : String Returns document URI. | DocumentVO

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | DocumentVO() The constructor for DocumentVO class. | DocumentVO
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():Object Returns the primitive value of the specified object. | Object

Property Detail

### contentType

property

`contentType:String`

Language Version: | ActionScript 3.0

Product Version: | Review, Commenting, and Approval Building Block 10

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

Gets the document content type.

Implementation
`public function get contentType():String`
`public function set contentType(value:String):void`

### createdBy

property

`createdBy:String`

Language Version: | ActionScript 3.0

Product Version: | Review, Commenting, and Approval Building Block 10

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

Gets the name of the creator of the document.

Implementation
`public function get createdBy():String`
`public function set createdBy(value:String):void`

### createdOn

property

`createdOn:Date`

Language Version: | ActionScript 3.0

Product Version: | Review, Commenting, and Approval Building Block 10

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

Gets the creation date of the document.

Implementation
`public function get createdOn():Date`
`public function set createdOn(value:Date):void`

### description

property

`description:String`

Language Version: | ActionScript 3.0

Product Version: | Review, Commenting, and Approval Building Block 10

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

Gets the document description.

Implementation
`public function get description():String`
`public function set description(value:String):void`

### file

property

`file:File`

Language Version: | ActionScript 3.0

Product Version: | Review, Commenting, and Approval Building Block 10

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

Gets the instance of `File` for this document.

Implementation
`public function get file():File`
`public function set file(value:File):void`

### name

property

`name:String`

Language Version: | ActionScript 3.0

Product Version: | Review, Commenting, and Approval Building Block 10

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

Returns the name of the document.

Implementation
`public function get name():String`
`public function set name(value:String):void`

### type

property

`type:String`

Language Version: | ActionScript 3.0

Product Version: | Review, Commenting, and Approval Building Block 10

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

Gets the type of supporting document. Supporting document can be of the following two type:

- REF
- DOCUMENT

Implementation
`public function get type():String`
`public function set type(value:String):void`

### uri

property

`uri:String`

Language Version: | ActionScript 3.0

Product Version: | Review, Commenting, and Approval Building Block 10

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

Returns document URI.

Implementation
`public function get uri():String`
`public function set uri(value:String):void`
Constructor Detail

### DocumentVO

()
Constructor

`public function DocumentVO()`

Language Version: | ActionScript 3.0

Product Version: | Review, Commenting, and Approval Building Block 10

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

The constructor for `DocumentVO` class.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00