包 | com.adobe.solutions.prm.domain.impl |
类 | public class Project |
继承 | Project EventDispatcher Object |
实现 | IProject |
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
相关 API 元素
属性 | 由以下参数定义 | ||
---|---|---|---|
allMemberList : IList [只读]
The property returns a collection of all members. | Project | ||
attributes : Object
Defines the map of key value pair attributes. | Project | ||
constructor : 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 |
方法 | 由以下参数定义 | ||
---|---|---|---|
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 | ||
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 | ||
将事件调度到事件流中。 | 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 | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | EventDispatcher | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | 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 | ||
从 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 | ||
设置循环操作动态属性的可用性。 | Object | ||
This remote operation terminates the current project. | Project | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
This remote operation updates the tile of a member present in collection and submits the change to the server. | Project | ||
返回指定对象的原始值。 | Object | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | 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 | 属性 |
createdBy | 属性 |
creationDate | 属性 |
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 | 属性 |
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 | 属性 |
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 | 属性 |
itemName | 属性 |
itemStartDate | 属性 |
itemState | 属性 |
itemStatus | 属性 |
itemType | 属性 |
lastUpdatedBy | 属性 |
lastUpdatedDate | 属性 |
memberList | 属性 |
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 元素
messages | 属性 |
milestones | 属性 |
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 | 属性 |
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 | 属性 |
showParent | 属性 |
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 | 属性 |
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 | 属性 |
type | 属性 |
uniqueMemberList | 属性 |
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 | 属性 |
workItems | 属性 |
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 | () | 方法 |
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.
|
Tue Jun 12 2018, 11:04 AM Z