用于 Adobe® Flash® Platform 的 ActionScript® 3.0 参考
主页  |  隐藏包列表和类列表 |   |   |  新增内容  |  索引  |  附录  |  为什么显示为英语?
过滤条件: 正在从服务器检索数据...
正在从服务器检索数据...
com.adobe.solutions.prm.domain.impl 

Project  - AS3 Project Management

com.adobe.solutions.prm.domain.impl
public class Project
继承Project Inheritance EventDispatcher Inheritance Object
实现 IProject

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10.0
运行时版本: Flash Player 10.2, AIR (unsupported)

This class defines a project domain entity. It exposes the properties of project value object and domain specific operations.

相关 API 元素



公共属性
 属性由以下参数定义
  allMemberList : IList
[只读] The property returns a collection of all members.
Project
  attributes : Object
Defines the map of key value pair attributes.
Project
 Inheritedconstructor : Object
对类对象或给定对象实例的构造函数的引用。
Object
  createdBy : String
Principal name for a user who created an entity.
Project
  creationDate : Date
Date of creation of an entity.
Project
  defaultWorkItemTemplateName : String
Defines the default workItem template name.
Project
  description : String
Description.
Project
  documents : ArrayCollection
[只读] The property returns a collection of associated documents.
Project
  editedTemplate : Boolean
Defines a Boolean flag that indicates if workItems use a template identified by a name specified in defaultWorkItemTemplate, or use a template definition stored along with the project as reviewTemplate.
Project
  endDate : Date
Defines the end date of a project.
Project
  expectedEndDate : Date
Defines the expected end date of a project.
Project
  ganttItems : ArrayCollection
[只读] A collection of the displayable children that are displayed in the Gantt chart if showChildren flag is set to True.
Project
  icon : File
Defines the icon used in a project.
Project
  id : String
Unique identifier.
Project
  inheritDocsFromParent : Boolean
Defines the current value of inheritDocsFromParent flag.
Project
  itemEndDate : Date
[只读] End date of the item.
Project
  itemName : String
[只读] Name of the item.
Project
  itemStartDate : Date
[只读] Start date of the item.
Project
  itemState : String
[只读] State of the item.
Project
  itemStatus : String
[只读] Status of the item.
Project
  itemType : String
[只读] Type of item.
Project
  lastUpdatedBy : String
Principal name for a user who last updated an entity.
Project
  lastUpdatedDate : Date
Date when an entity was last updated.
Project
  memberList : IList
[只读] The property returns a collection of directly associated members.
Project
  members : IList
Defines list of members of a project, replacing an existing list of members, if present.
Project
  messages : IList
Defines the messages to the project.
Project
  milestones : IList
Project
  name : String
Defines the name of a project.
Project
  operationList : ArrayCollection
[只读] A collection of operations that are available to a user through the context menu in the Gantt chart.
Project
  owner : IUser
Defines the owner of a project.
Project
  parentProject : IProject
Defines the parent project for a project.
Project
  projects : IList
Defines the list of child projects.
Project
  referenceDocuments : IList
Defines the reference documents associated with a project.
Project
  reviewTemplate : com.adobe.solutions.rca.domain:IReviewTemplate
Defines the review template that is to be inherited by children.
Project
  rootProject : IProject
Defines the root project.
Project
  showChildren : Boolean
A Boolean flag to determine if the children need to be displayed.
Project
  showParent : Boolean
A Boolean flag to determine if the parent needs to be displayed.
Project
  startDate : Date
Defines the start date of a project.
Project
  state : String
Defines the state of a project.
Project
  status : String
Defines the status of a project.
Project
  statusReasonCode : String
Defines the status reason code.
Project
  tags : IList
Defines the list of tags that can be associated with an entity.
Project
  type : String
Defines the type of a project.
Project
  uniqueMemberList : IList
[只读] The property returns a collection of unique members.
Project
  users : IList
Defines a list of local users of the project.
Project
  vo : ProjectVO
This property refers to an instance of the project value object.
Project
  workItems : IList
Defines the list of workItems.
Project
公共方法
 方法由以下参数定义
  
Project(value:ProjectVO, parent:IProject, root:IProject)
The constructor of Project class.
Project
  
This remote operation activates a current project and its child projects or workItems.
Project
  
This remote operation adds a document from the collection and submits the change on the server.
Project
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。
EventDispatcher
  
This remote operation adds a member to the collection and submits the change to the server.
Project
  
This method adds a project to a collection of projects.
Project
  
This remote operation adds a sub-project to the current project and updates it on the server.
Project
  
This method adds a reference document to a collection of referenceDocuments.
Project
  
This method adds a team member to a collection of members.
Project
  
This method adds a workitem to a collection of workitems.
Project
  
This remote operation adds a workitem to the current project and updates the changes on the server.
Project
 Inherited
将事件调度到事件流中。
EventDispatcher
  
This remote operation fetches a complete project from a server.
Project
  
This method gets the title of a member, if any title is assigned to a user.
Project
  
A Boolean function to determine if the item has displayable children.
Project
 Inherited
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。
EventDispatcher
 Inherited
表示对象是否已经定义了指定的属性。
Object
 Inherited
表示 Object 类的实例是否在指定为参数的对象的原型链中。
Object
 Inherited
表示指定的属性是否存在、是否可枚举。
Object
  
This remote operation removes itself from its parent project and updates the change on the server.
Project
  
This remote operation removes a document from the collection and submits the change on the server.
Project
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
从 EventDispatcher 对象中删除侦听器。
EventDispatcher
  
This remote operation removes a member from the collection and submits the change to the server.
Project
  
This method removes a team member, at the specified index, from a collection of members.
Project
  
This remote operation removes a sub-project from the current project and updates the change on the server.
Project
  
This method removes a project at the specified index from a collection of projects.
Project
  
This method removes a reference document, at the specified index, from a collection of referenceDocuments.
Project
  
This remote operation removes a workitem from the current project and updates the changes on the server.
Project
  
This method removes a workitem at a specified index from a collection of workitems.
Project
  
This remote operation saves the current state of a project on a server.
Project
 Inherited
设置循环操作动态属性的可用性。
Object
  
This remote operation terminates the current project.
Project
 Inherited
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。
Object
 Inherited
返回指定对象的字符串表示形式。
Object
  
This remote operation updates the tile of a member present in collection and submits the change to the server.
Project
 Inherited
返回指定对象的原始值。
Object
 Inherited
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。
EventDispatcher
事件
 事件 摘要 由以下参数定义
 Inherited[广播事件] Flash Player 或 AIR 应用程序获得操作系统焦点并变为活动状态时将调度此事件。EventDispatcher
 Inherited[广播事件] Flash Player 或 AIR 应用程序失去操作系统焦点并变为非活动状态时将调度此事件。EventDispatcher
属性详细信息

allMemberList

属性
allMemberList:IList  [只读]

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: 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.

此属性可用作数据绑定的源。修改此属性后,将调度 memberListChanged 事件。



实现
    public function get allMemberList():IList

attributes

属性 
attributes:Object

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the map of key value pair attributes.



实现
    public function get attributes():Object
    public function set attributes(value:Object):void

createdBy

属性 
createdBy:String

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Principal name for a user who created an entity.



实现
    public function get createdBy():String
    public function set createdBy(value:String):void

creationDate

属性 
creationDate:Date

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Date of creation of an entity.



实现
    public function get creationDate():Date
    public function set creationDate(value:Date):void

defaultWorkItemTemplateName

属性 
defaultWorkItemTemplateName:String

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the default workItem template name. Every workItem is associated with a RCA template. If a template is not directly associated with a workItem then a template is inherited from a parent project in the hierarchy, going from bottom to top. The default workItem template specifies the template name to be used at project. This can eventually be inherited by children workItems. Template name being unique, you need to specify only the name. Ensure that a template exists before it is used.



实现
    public function get defaultWorkItemTemplateName():String
    public function set defaultWorkItemTemplateName(value:String):void

description

属性 
description:String

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Description.



实现
    public function get description():String
    public function set description(value:String):void

documents

属性 
documents:ArrayCollection  [只读]

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

The property returns a collection of associated documents.

此属性可用作数据绑定的源。修改此属性后,将调度 propertyChange 事件。



实现
    public function get documents():ArrayCollection

editedTemplate

属性 
editedTemplate:Boolean

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines a Boolean flag that indicates if workItems use a template identified by a name specified in defaultWorkItemTemplate, or use a template definition stored along with the project as reviewTemplate. If it is True then reviewTemplate is used, else defaultWorkItemTemplate is used. There are two ways to associated a template with a project. You can either use setReviewTemplate or use setDefaultWorkItemTemplateName. While creating a project, you must set the editedTemplate flag appropriately.



实现
    public function get editedTemplate():Boolean
    public function set editedTemplate(value:Boolean):void

endDate

属性 
endDate:Date

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the end date of a project. Since the end date is a calculated field, client should not call the setter.



实现
    public function get endDate():Date
    public function set endDate(value:Date):void

expectedEndDate

属性 
expectedEndDate:Date

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the expected end date of a project. If expectedEndDate is null, then it is inherited from the parent project. For this reason, a root project can not have a null expected end date.



实现
    public function get expectedEndDate():Date
    public function set expectedEndDate(value:Date):void

ganttItems

属性 
ganttItems:ArrayCollection  [只读]

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

A collection of the displayable children that are displayed in the Gantt chart if showChildren flag is set to True.

此属性可用作数据绑定的源。修改此属性后,将调度 ganttItemsChanged 事件。



实现
    public function get ganttItems():ArrayCollection

icon

属性 
icon:File

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the icon used in a project. Icon is an image, that is associate with a project, for easy reference as a visual indicator.



实现
    public function get icon():File
    public function set icon(value:File):void

id

属性 
id:String

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Unique identifier.



实现
    public function get id():String
    public function set id(value:String):void

inheritDocsFromParent

属性 
inheritDocsFromParent:Boolean

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the current value of inheritDocsFromParent flag. If this Boolean flag is set to True, the project inherits reference documents from the parent project. If it is set to False, then it does not inherit reference documents.



实现
    public function get inheritDocsFromParent():Boolean
    public function set inheritDocsFromParent(value:Boolean):void

itemEndDate

属性 
itemEndDate:Date  [只读]

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

End date of the item.

此属性可用作数据绑定的源。修改此属性后,将调度 ganttDataItemDurationChanged 事件。



实现
    public function get itemEndDate():Date

itemName

属性 
itemName:String  [只读]

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Name of the item.

此属性可用作数据绑定的源。修改此属性后,将调度 ganttDataItemNameChanged 事件。



实现
    public function get itemName():String

itemStartDate

属性 
itemStartDate:Date  [只读]

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Start date of the item.

此属性可用作数据绑定的源。修改此属性后,将调度 ganttDataItemDurationChanged 事件。



实现
    public function get itemStartDate():Date

itemState

属性 
itemState:String  [只读]

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

State of the item.

此属性可用作数据绑定的源。修改此属性后,将调度 ganttDataItemStateChanged 事件。



实现
    public function get itemState():String

itemStatus

属性 
itemStatus:String  [只读]

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Status of the item.

此属性可用作数据绑定的源。修改此属性后,将调度 ganttDataItemStatusChanged 事件。



实现
    public function get itemStatus():String

itemType

属性 
itemType:String  [只读]

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Type of item.



实现
    public function get itemType():String

lastUpdatedBy

属性 
lastUpdatedBy:String

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Principal name for a user who last updated an entity.



实现
    public function get lastUpdatedBy():String
    public function set lastUpdatedBy(value:String):void

lastUpdatedDate

属性 
lastUpdatedDate:Date

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Date when an entity was last updated.



实现
    public function get lastUpdatedDate():Date
    public function set lastUpdatedDate(value:Date):void

memberList

属性 
memberList:IList  [只读]

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

The property returns a collection of directly associated members.

此属性可用作数据绑定的源。修改此属性后,将调度 memberListChanged 事件。



实现
    public function get memberList():IList

members

属性 
members:IList

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines list of members of a project, replacing an existing list of members, if present. Team members get notifications of various events during the life cycle of a project.



实现
    public function get members():IList
    public function set members(value:IList):void

相关 API 元素

ITeamMember

messages

属性 
messages:IList

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the messages to the project. It is a collection of type MessageVO.



实现
    public function get messages():IList
    public function set messages(value:IList):void

相关 API 元素

milestones

属性 
milestones:IList

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)



实现
    public function get milestones():IList
    public function set milestones(value:IList):void

相关 API 元素

name

属性 
name:String

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the name of a project. Project name is a mandatory attribute and should not be null. [ ] / | * . .. : and trailing spaces are not allowed in the project name.



实现
    public function get name():String
    public function set name(value:String):void

operationList

属性 
operationList:ArrayCollection  [只读]

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

A collection of operations that are available to a user through the context menu in the Gantt chart.



实现
    public function get operationList():ArrayCollection

owner

属性 
owner:IUser

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the owner of a project. Owner information is fetched based on Principal Name of the user present in ProjectVO.

此属性可用作数据绑定的源。修改此属性后,将调度 ownerUpdated 事件。



实现
    public function get owner():IUser
    public function set owner(value:IUser):void

parentProject

属性 
parentProject:IProject

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10.0
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the parent project for a project. This method is used internally and should not be used by a user.



实现
    public function get parentProject():IProject
    public function set parentProject(value:IProject):void

projects

属性 
projects:IList

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the list of child projects. It is the collection of IProject.



实现
    public function get projects():IList
    public function set projects(value:IList):void

referenceDocuments

属性 
referenceDocuments:IList

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the reference documents associated with a project.



实现
    public function get referenceDocuments():IList
    public function set referenceDocuments(value:IList):void

相关 API 元素

reviewTemplate

属性 
reviewTemplate:com.adobe.solutions.rca.domain:IReviewTemplate

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the review template that is to be inherited by children. If the template is locally edited in context of a project, an instance of the review templateis is stored with the project definition.



实现
    public function get reviewTemplate():com.adobe.solutions.rca.domain:IReviewTemplate
    public function set reviewTemplate(value:com.adobe.solutions.rca.domain:IReviewTemplate):void

相关 API 元素

rootProject

属性 
rootProject:IProject

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the root project. This method is used internally and should not be used by a user.



实现
    public function get rootProject():IProject
    public function set rootProject(value:IProject):void

showChildren

属性 
showChildren:Boolean

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

A Boolean flag to determine if the children need to be displayed.



实现
    public function get showChildren():Boolean
    public function set showChildren(value:Boolean):void

showParent

属性 
showParent:Boolean

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

A Boolean flag to determine if the parent needs to be displayed.



实现
    public function get showParent():Boolean
    public function set showParent(value:Boolean):void

startDate

属性 
startDate:Date

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the start date of a project. If a start date is set in future, then project is scheduled to start on that date. If the start date is in the past or is a current date, then the project starts immediately, upon project activation. If the start date of a project is null, then the start date is inherited from a parent project. For this reason, a root project can not have a null start date.



实现
    public function get startDate():Date
    public function set startDate(value:Date):void

state

属性 
state:String

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the state of a project. Since the state is a calculated attribute, clients should not call this setter. For possible values in the default implementation, please refer to com.adobe.solutions.prm.constant.ProjectState.



实现
    public function get state():String
    public function set state(value:String):void

相关 API 元素

status

属性 
status:String

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the status of a project.



实现
    public function get status():String
    public function set status(value:String):void

相关 API 元素

statusReasonCode

属性 
statusReasonCode:String

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the status reason code. Reason codes provide information about the status, provide reason for specific status being set. The default implementation has two status, reed and green. Red status indicates that an action is required or an error has occurred. Green status indicates desired progress.



实现
    public function get statusReasonCode():String
    public function set statusReasonCode(value:String):void

相关 API 元素

tags

属性 
tags:IList

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the list of tags that can be associated with an entity.



实现
    public function get tags():IList
    public function set tags(value:IList):void

type

属性 
type:String

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the type of a project.



实现
    public function get type():String
    public function set type(value:String):void

相关 API 元素

uniqueMemberList

属性 
uniqueMemberList:IList  [只读]

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

The property returns a collection of unique members.

此属性可用作数据绑定的源。修改此属性后,将调度 memberListChanged 事件。



实现
    public function get uniqueMemberList():IList

users

属性 
users:IList

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines a list of local users of the project. Local users can be used to keep a list of users associated with a project, who have been assigned an organization title. This list of local user has no runtime significance. It is provided just as a convenient data structure to keep a local cache of users associated with a project.



实现
    public function get users():IList
    public function set users(value:IList):void

vo

属性 
vo:ProjectVO

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This property refers to an instance of the project value object.



实现
    public function get vo():ProjectVO
    public function set vo(value:ProjectVO):void

workItems

属性 
workItems:IList

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

Defines the list of workItems.



实现
    public function get workItems():IList
    public function set workItems(value:IList):void

相关 API 元素

IWorkItem
构造函数详细信息

Project

()构造函数
public function Project(value:ProjectVO, parent:IProject, root:IProject)

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10.0
运行时版本: Flash Player 10.2, AIR (unsupported)

The constructor of Project class. It creates a project using project value object and reference to the parent project and root project.

参数
value:ProjectVO — Project value object.
 
parent:IProject — Reference of parent project to which this project is assigned.
 
root:IProject — Reference of top level project, that is, the root node of the tree in which this project is assigned.
方法详细信息

activate

()方法
public function activate():mx.rpc:AsyncToken

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This remote operation activates a current project and its child projects or workItems.

返回
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached. The resulting event contains the value object of the activated project.

addDocumentAndSave

()方法 
public function addDocumentAndSave(doc:ISupportingDocument):mx.rpc:AsyncToken

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This remote operation adds a document from the collection and submits the change on the server.

参数

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.

addMemberAndSave

()方法 
public function addMemberAndSave(member:IMember):mx.rpc:AsyncToken

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This remote operation adds a member to the collection and submits the change to the server.

参数

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

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

addProject

()方法 
public function addProject(project:IProject):void

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This method adds a project to a collection of projects. It adds the project locally and not on a server.

参数

project:IProject — The project to be added.

addProjectAndSave

()方法 
public function addProjectAndSave(project:IProject):mx.rpc:AsyncToken

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This remote operation adds a sub-project to the current project and updates it on the server. If the operation is successful, it refreshes the current object with a new value object returned from the server.

参数

project:IProject — A project to be added.

返回
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached. The resulting event contains the value object of the project.

addReferenceDocument

()方法 
public function addReferenceDocument(doc:ISupportingDocument):void

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This method adds a reference document to a collection of referenceDocuments. It adds the document locally and not on a server.

参数

doc:ISupportingDocument — Reference document to be added.

addTeamMember

()方法 
public function addTeamMember(teamMember:com.adobe.solutions.prm.domain:ITeamMember):void

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This method adds a team member to a collection of members. It adds a team member locally and not on a server.

参数

teamMember:com.adobe.solutions.prm.domain:ITeamMember — Team Member to be added.

addWorkItem

()方法 
public function addWorkItem(item:IWorkItem):void

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This method adds a workitem to a collection of workitems. It adds the workitem locally and not on a server.

参数

item:IWorkItem — The WorkItem to be added.

addWorkItemAndSave

()方法 
public function addWorkItemAndSave(workItem:IWorkItem):mx.rpc:AsyncToken

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This remote operation adds a workitem to the current project and updates the changes on the server. If operation is successful, it refreshes the current object with a new value object returned from the server.

参数

workItem:IWorkItem — A WorkItem to be added.

返回
mx.rpc:AsyncToken — It returns a token on which success fault handlers can be attached. The resulting event contains the value object of the added workitem.

fetchCompleteProject

()方法 
public function fetchCompleteProject():mx.rpc:AsyncToken

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This remote operation fetches a complete project from a server. Value object property of the current project is updated with that of the fetched project. This operation can be used to synchronise data on a client from a server.

返回
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached. The resulting event contains the value object of the project, including the child projects.

getMemberTitle

()方法 
public function getMemberTitle(member:IMember):String

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This method gets the title of a member, if any title is assigned to a user.

参数

member:IMember — An instance of the member whose title is required.

返回
String — The title of the member.

hasChildren

()方法 
public function hasChildren():Boolean

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

A Boolean function to determine if the item has displayable children.

返回
Boolean — It returns a True value if there are displayable children.

remove

()方法 
public function remove():mx.rpc:AsyncToken

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This remote operation removes itself from its parent project and updates the change on the server.

返回
mx.rpc:AsyncToken — It returns a token on which success fault handlers can be attached. The resulting event contains the value object of the removed project.

removeDocumentAndSave

()方法 
public function removeDocumentAndSave(doc:ISupportingDocument):mx.rpc:AsyncToken

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This remote operation removes a document from the collection and submits the change on the server.

参数

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.

removeMemberAndSave

()方法 
public function removeMemberAndSave(member:IMember):mx.rpc:AsyncToken

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This remote operation removes a member from the collection and submits the change to the server.

参数

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

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

removeMemberAt

()方法 
public function removeMemberAt(index:int):com.adobe.solutions.prm.domain:ITeamMember

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This method removes a team member, at the specified index, from a collection of members. It removes a team member locally and not from a server.

参数

index:int — Index of the member to be removed.

返回
com.adobe.solutions.prm.domain:ITeamMember — It returns a reference to the removed member.

removeProjectAndSave

()方法 
public function removeProjectAndSave(project:IProject):mx.rpc:AsyncToken

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This remote operation removes a sub-project from the current project and updates the change on the server.

参数

project:IProject — A sub-project to be removed.

返回
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached. The resulting event contains the value object of the removed project.

removeProjectAt

()方法 
public function removeProjectAt(index:int):IProject

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This method removes a project at the specified index from a collection of projects. It removes the project locally and not from a server.

参数

index:int — Index of the project to be removed.

返回
IProject — It returns a reference to the removed project.

removeReferenceDocumentAt

()方法 
public function removeReferenceDocumentAt(index:int):ISupportingDocument

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This method removes a reference document, at the specified index, from a collection of referenceDocuments. It removes the reference document locally and not on a server.

参数

index:int — Index of the reference document to be removed.

返回
ISupportingDocument — It returns a reference to the removed document.

removeWorkItemAndSave

()方法 
public function removeWorkItemAndSave(workItem:IWorkItem):mx.rpc:AsyncToken

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This remote operation removes a workitem from the current project and updates the changes on the server.

参数

workItem:IWorkItem — A WorkItem to be removed.

返回
mx.rpc:AsyncToken — It returns a token on which success fault handlers can be attached. The resulting event contains the value object of the removed workitem.

removeWorkItemAt

()方法 
public function removeWorkItemAt(index:int):IWorkItem

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This method removes a workitem at a specified index from a collection of workitems. It removes the workitem locally and not from a server.

参数

index:int — Index of a workitem to be removed.

返回
IWorkItem — It returns a reference to the removed workitem.

save

()方法 
public function save():mx.rpc:AsyncToken

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This remote operation saves the current state of a project on a server. If the current state is successfully saved, the operation also refreshes the current object with the new value object returned from the server.

返回
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached. The resulting event contains the value object of the saved project.

terminate

()方法 
public function terminate():mx.rpc:AsyncToken

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: Flash Player 10.2, AIR (unsupported)

This remote operation terminates the current project. If operation is successful, it refreshes the current object with a new value object returned by the server.

返回
mx.rpc:AsyncToken — It returns a token on which success fault handlers can be attached. The resulting event contains the value object of the terminated project.

updateTitleAndSave

()方法 
public function updateTitleAndSave(member:IMember, title:String):mx.rpc:AsyncToken

语言版本: ActionScript 3.0
产品版本: Project Management Building Block 10
运行时版本: 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.

参数

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

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




[ X ]为什么显示为英语?
《ActionScript 3.0 参考》中的内容以英语显示

《ActionScript 3.0 参考》中的部分内容未翻译成所有语言。当某个语言元素未翻译时,将显示为英语。例如,ga.controls.HelpBox 类未翻译成任何语言。因此在简体中文版的参考中,ga.controls.HelpBox 类显示为英语。