com.adobe.solutions.rca.domain.common

# IMemberCollection - AS3 Review, Commenting, and Approval

Package | com.adobe.solutions.rca.domain.common
Interface | public interface IMemberCollection

Language Version: | ActionScript 3.0

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

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

This interface defines an entity that has a collection of members associated with it.

Related API Elements

IMember

Public Properties

| Property | Defined By
--- | --- | ---
|  | allMemberList : IList [read-only] The property returns a collection of all members. | IMemberCollection
|  | memberList : IList [read-only] The property returns a collection of directly associated members. | IMemberCollection
|  | uniqueMemberList : IList [read-only] The property returns a collection of unique members. | IMemberCollection

Public Methods

| Method | Defined By
--- | --- | ---
|  | addMemberAndSave(member:IMember):mx.rpc:AsyncToken This remote operation adds a member to the collection and submits the change to the server. | IMemberCollection
|  | removeMemberAndSave(member:IMember):mx.rpc:AsyncToken This remote operation removes a member from the collection and submits the change to the server. | IMemberCollection
|  | updateTitleAndSave(member:IMember, title:String):mx.rpc:AsyncToken This remote operation updates the tile of a member present in collection and submits the change to the server. | IMemberCollection

Property Detail

### allMemberList

property

`allMemberList:IList` [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 all members. It takes into consideration any child objects that may be of type `IMemberCollection`.

This property can be used as the source for data binding. When this property is modified, it dispatches the `memberListChanged` event.

Implementation
`public function get allMemberList():IList`

Related API Elements

IMember

### memberList

property

`memberList:IList` [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 directly associated members.

This property can be used as the source for data binding. When this property is modified, it dispatches the `memberListChanged` event.

Implementation
`public function get memberList():IList`

Related API Elements

IMember

### uniqueMemberList

property

`uniqueMemberList:IList` [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 unique members.

This property can be used as the source for data binding. When this property is modified, it dispatches the `memberListChanged` event.

Implementation
`public function get uniqueMemberList():IList`

Related API Elements

IMember
Method Detail

### addMemberAndSave

()
method

`public function addMemberAndSave(member:IMember):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 member to the collection and submits the change to the server.

Parameters

| `member:IMember` — The member to be added to member collection.

Returns

| `mx.rpc:AsyncToken` — It returns a token on which success or fault handlers can be attached.

Related API Elements

IMember

### removeMemberAndSave

()
method

`public function removeMemberAndSave(member:IMember):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 member from the collection and submits the change to the server.

Parameters

| `member:IMember` — The member to be removed from member collection.

Returns

| `mx.rpc:AsyncToken` — It returns a token on which success or fault handlers can be attached.

Related API Elements

IMember

### updateTitleAndSave

()
method

`public function updateTitleAndSave(member:IMember, title: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)

This remote operation updates the tile of a member present in collection and submits the change to the server.

Parameters

| `member:IMember` — The member to be removed from member collection.
| `title:String` — The title of the member.

Returns

| `mx.rpc:AsyncToken` — It returns a token on which success or fault handlers can be attached.

Related API Elements

IMember

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