ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.solutions.rca.services.impl 

FileDataService  - AS3 Review, Commenting, and Approval

Packagecom.adobe.solutions.rca.services.impl
Classpublic class FileDataService
InheritanceFileDataService Inheritance Object
Implements IFileDataService

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

This class implements the operations on managed file instances.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Protected Properties
 PropertyDefined By
  fileCollection : ListCollectionView
A collection of files that are populated by data services.
FileDataService
Public Methods
 MethodDefined By
  
The constructor for FileDataService class.
FileDataService
  
Gets managed instance of file located at the filePath.
FileDataService
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  FILE_MANAGEMENT_DATA_SERVICE_DS : String = "com.adobe.livecycle.content.File"
[static] Name of the file management data service.
FileDataService
Property Detail

fileCollection

property
protected var fileCollection:ListCollectionView

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

A collection of files that are populated by data services.

Constructor Detail

FileDataService

()Constructor
public function FileDataService()

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

The constructor for FileDataService class.

Method Detail

getManagedFile

()method
public function getManagedFile(filePath:String):mx.rpc:AsyncToken

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Gets managed instance of file located at the filePath. This helps to listen to any changes in the content of the file.

Parameters

filePath:String — The path to the file of which a managed instance is sought.

Returns
mx.rpc:AsyncToken — It returns a token on which success or failure handlers can be attached. The resulting event contains a managed instance of the file.
Constant Detail

FILE_MANAGEMENT_DATA_SERVICE_DS

Constant
public static const FILE_MANAGEMENT_DATA_SERVICE_DS:String = "com.adobe.livecycle.content.File"

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Name of the file management data service.