套件 | 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, 03:47 PM Z