| Package | com.adobe.solutions.rca.domain.common | 
| Interface | public interface IDocumentCollection | 
| Language Version: | ActionScript 3.0 | 
| Product Version: | Review, Commenting, and Approval Building Block 10.0 | 
| Runtime Versions: | Flash Player 10.2, AIR (unsupported) | 
Related API Elements
Public Properties
| Property | Defined By | ||
|---|---|---|---|
| documents : ArrayCollection [read-only]  
	 The property returns a collection of associated documents.  | IDocumentCollection | ||
Public Methods 
| Method | Defined By | ||
|---|---|---|---|
 
	 This remote operation adds a document from the collection and submits the change on the server.  | IDocumentCollection | ||
 
	 This remote operation removes a document from the collection and submits the change on the server.  | IDocumentCollection | ||
Property Detail
documents | property | 
documents:ArrayCollection  [read-only] | Language Version: | ActionScript 3.0 | 
| Product Version: | Review, Commenting, and Approval Building Block 10.0 | 
| Runtime Versions: | Flash Player 10.2, AIR (unsupported) | 
The property returns a collection of associated documents.
This property can be used as the source for data binding. When this property is modified, it dispatches the  propertyChange                 event.
Implementation
    public function get documents():ArrayCollectionRelated API Elements
Method Detail
addDocumentAndSave | () | method | 
 public function addDocumentAndSave(doc:ISupportingDocument):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) | 
This remote operation adds a document from the collection and submits the change on the server.
Parameters
doc:ISupportingDocument — The document to be added to document collection.
	 
	  | 
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached.
	 
      | 
Related API Elements
removeDocumentAndSave | () | method | 
 public function removeDocumentAndSave(doc:ISupportingDocument):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) | 
This remote operation removes a document from the collection and submits the change on the server.
Parameters
doc:ISupportingDocument — The document to be removed from document collection.
	 
	  | 
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached.
	 
      | 
Related API Elements
Thu Dec 6 2018, 01:12 PM -08:00