ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.solutions.prm.domain 

IProject  - AS3 Project Management

Packagecom.adobe.solutions.prm.domain
Interfacepublic interface IProject extends IGanttDataItem , IMemberCollection , IDocumentCollection
Implementors Project

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

An interface for defining a project domain object. A project can have sub-projects or work items.

Related API Elements



Public Properties
 PropertyDefined By
 InheritedallMemberList : IList
[read-only] The property returns a collection of all members.
IMemberCollection
  attributes : Object
Defines the map of key value pair attributes.
IProject
  createdBy : String
Principal name for a user who created an entity.
IProject
  creationDate : Date
Date of creation of an entity.
IProject
  defaultWorkItemTemplateName : String
Defines the default workItem template name.
IProject
  description : String
Description.
IProject
 Inheriteddocuments : ArrayCollection
[read-only] The property returns a collection of associated documents.
IDocumentCollection
  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.
IProject
  endDate : Date
Defines the end date of a project.
IProject
  expectedEndDate : Date
Defines the expected end date of a project.
IProject
 InheritedganttItems : ArrayCollection
[read-only] A collection of the displayable children that are displayed in the Gantt chart if showChildren flag is set to True.
IGanttDataItem
  icon : File
Defines the icon used in a project.
IProject
  id : String
Unique identifier.
IProject
  inheritDocsFromParent : Boolean
Defines the current value of inheritDocsFromParent flag.
IProject
 InheriteditemEndDate : Date
[read-only] End date of the item.
IGanttDataItem
 InheriteditemName : String
[read-only] Name of the item.
IGanttDataItem
 InheriteditemStartDate : Date
[read-only] Start date of the item.
IGanttDataItem
 InheriteditemState : String
[read-only] State of the item.
IGanttDataItem
 InheriteditemStatus : String
[read-only] Status of the item.
IGanttDataItem
 InheriteditemType : String
[read-only] Type of item.
IGanttDataItem
  lastUpdatedBy : String
Principal name for a user who last updated an entity.
IProject
  lastUpdatedDate : Date
Date when an entity was last updated.
IProject
 InheritedmemberList : IList
[read-only] The property returns a collection of directly associated members.
IMemberCollection
  members : IList
Defines list of members of a project, replacing an existing list of members, if present.
IProject
  messages : IList
Defines the messages to the project.
IProject
  milestones : IList
IProject
  name : String
Defines the name of a project.
IProject
 InheritedoperationList : ArrayCollection
[read-only] A collection of operations that are available to a user through the context menu in the Gantt chart.
IGanttDataItem
  owner : IUser
Defines the owner of a project.
IProject
  parentProject : IProject
Defines the parent project for a project.
IProject
  projects : IList
Defines the list of child projects.
IProject
  referenceDocuments : IList
Defines the reference documents associated with a project.
IProject
  reviewTemplate : com.adobe.solutions.rca.domain:IReviewTemplate
Defines the review template that is to be inherited by children.
IProject
  rootProject : IProject
Defines the root project.
IProject
 InheritedshowChildren : Boolean
A Boolean flag to determine if the children need to be displayed.
IGanttDataItem
 InheritedshowParent : Boolean
A Boolean flag to determine if the parent needs to be displayed.
IGanttDataItem
  startDate : Date
Defines the start date of a project.
IProject
  state : String
Defines the state of a project.
IProject
  status : String
Defines the status of a project.
IProject
  statusReasonCode : String
Defines the status reason code.
IProject
  tags : IList
Defines the list of tags that can be associated with an entity.
IProject
  type : String
Defines the type of a project.
IProject
 InheriteduniqueMemberList : IList
[read-only] The property returns a collection of unique members.
IMemberCollection
  users : IList
Defines a list of local users of the project.
IProject
  vo : ProjectVO
This property refers to an instance of the project value object.
IProject
  workItems : IList
Defines the list of workItems.
IProject
Public Methods
 MethodDefined By
  
This remote operation activates a current project and its child projects or workItems.
IProject
 Inherited
This remote operation adds a document from the collection and submits the change on the server.
IDocumentCollection
 Inherited
This remote operation adds a member to the collection and submits the change to the server.
IMemberCollection
  
This method adds a project to a collection of projects.
IProject
  
This remote operation adds a sub-project to the current project and updates it on the server.
IProject
  
This method adds a reference document to a collection of referenceDocuments.
IProject
  
This method adds a team member to a collection of members.
IProject
  
This method adds a workitem to a collection of workitems.
IProject
  
This remote operation adds a workitem to the current project and updates the changes on the server.
IProject
  
This remote operation fetches a complete project from a server.
IProject
  
This method gets the title of a member, if any title is assigned to a user.
IProject
 Inherited
A Boolean function to determine if the item has displayable children.
IGanttDataItem
  
This remote operation removes itself from its parent project and updates the change on the server.
IProject
 Inherited
This remote operation removes a document from the collection and submits the change on the server.
IDocumentCollection
 Inherited
This remote operation removes a member from the collection and submits the change to the server.
IMemberCollection
  
This method removes a team member, at the specified index, from a collection of members.
IProject
  
This remote operation removes a sub-project from the current project and updates the change on the server.
IProject
  
This method removes a project at the specified index from a collection of projects.
IProject
  
This method removes a reference document, at the specified index, from a collection of referenceDocuments.
IProject
  
This remote operation removes a workitem from the current project and updates the changes on the server.
IProject
  
This method removes a workitem at a specified index from a collection of workitems.
IProject
  
This remote operation saves the current state of a project on a server.
IProject
  
This remote operation terminates the current project.
IProject
 Inherited
This remote operation updates the tile of a member present in collection and submits the change to the server.
IMemberCollection
Property Detail

attributes

property
attributes:Object

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Defines the map of key value pair attributes.



Implementation
    public function get attributes():Object
    public function set attributes(value:Object):void

createdBy

property 
createdBy:String

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Principal name for a user who created an entity.



Implementation
    public function get createdBy():String
    public function set createdBy(value:String):void

creationDate

property 
creationDate:Date

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Date of creation of an entity.



Implementation
    public function get creationDate():Date
    public function set creationDate(value:Date):void

defaultWorkItemTemplateName

property 
defaultWorkItemTemplateName:String

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.



Implementation
    public function get defaultWorkItemTemplateName():String
    public function set defaultWorkItemTemplateName(value:String):void

description

property 
description:String

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Description.



Implementation
    public function get description():String
    public function set description(value:String):void

editedTemplate

property 
editedTemplate:Boolean

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.



Implementation
    public function get editedTemplate():Boolean
    public function set editedTemplate(value:Boolean):void

endDate

property 
endDate:Date

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.



Implementation
    public function get endDate():Date
    public function set endDate(value:Date):void

expectedEndDate

property 
expectedEndDate:Date

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.



Implementation
    public function get expectedEndDate():Date
    public function set expectedEndDate(value:Date):void

icon

property 
icon:File

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.



Implementation
    public function get icon():File
    public function set icon(value:File):void

id

property 
id:String

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Unique identifier.



Implementation
    public function get id():String
    public function set id(value:String):void

inheritDocsFromParent

property 
inheritDocsFromParent:Boolean

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.



Implementation
    public function get inheritDocsFromParent():Boolean
    public function set inheritDocsFromParent(value:Boolean):void

lastUpdatedBy

property 
lastUpdatedBy:String

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Principal name for a user who last updated an entity.



Implementation
    public function get lastUpdatedBy():String
    public function set lastUpdatedBy(value:String):void

lastUpdatedDate

property 
lastUpdatedDate:Date

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Date when an entity was last updated.



Implementation
    public function get lastUpdatedDate():Date
    public function set lastUpdatedDate(value:Date):void

members

property 
members:IList

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.



Implementation
    public function get members():IList
    public function set members(value:IList):void

Related API Elements

messages

property 
messages:IList

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

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



Implementation
    public function get messages():IList
    public function set messages(value:IList):void

Related API Elements

milestones

property 
milestones:IList

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)



Implementation
    public function get milestones():IList
    public function set milestones(value:IList):void

Related API Elements

name

property 
name:String

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.



Implementation
    public function get name():String
    public function set name(value:String):void

owner

property 
owner:IUser

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.

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



Implementation
    public function get owner():IUser
    public function set owner(value:IUser):void

parentProject

property 
parentProject:IProject

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.



Implementation
    public function get parentProject():IProject
    public function set parentProject(value:IProject):void

projects

property 
projects:IList

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

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



Implementation
    public function get projects():IList
    public function set projects(value:IList):void

referenceDocuments

property 
referenceDocuments:IList

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Defines the reference documents associated with a project.



Implementation
    public function get referenceDocuments():IList
    public function set referenceDocuments(value:IList):void

Related API Elements

reviewTemplate

property 
reviewTemplate:com.adobe.solutions.rca.domain:IReviewTemplate

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.



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

Related API Elements

rootProject

property 
rootProject:IProject

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

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



Implementation
    public function get rootProject():IProject
    public function set rootProject(value:IProject):void

startDate

property 
startDate:Date

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.



Implementation
    public function get startDate():Date
    public function set startDate(value:Date):void

state

property 
state:String

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.



Implementation
    public function get state():String
    public function set state(value:String):void

Related API Elements

status

property 
status:String

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Defines the status of a project.



Implementation
    public function get status():String
    public function set status(value:String):void

Related API Elements

statusReasonCode

property 
statusReasonCode:String

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.



Implementation
    public function get statusReasonCode():String
    public function set statusReasonCode(value:String):void

Related API Elements

tags

property 
tags:IList

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

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



Implementation
    public function get tags():IList
    public function set tags(value:IList):void

type

property 
type:String

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Defines the type of a project.



Implementation
    public function get type():String
    public function set type(value:String):void

Related API Elements

users

property 
users:IList

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.



Implementation
    public function get users():IList
    public function set users(value:IList):void

vo

property 
vo:ProjectVO

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

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



Implementation
    public function get vo():ProjectVO
    public function set vo(value:ProjectVO):void

Related API Elements

workItems

property 
workItems:IList

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Defines the list of workItems.



Implementation
    public function get workItems():IList
    public function set workItems(value:IList):void

Related API Elements

Method Detail

activate

()method
public function activate():mx.rpc:AsyncToken

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

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

Returns
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.

addProject

()method 
public function addProject(prj:IProject):void

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.

Parameters

prj:IProject — The project to be added.

addProjectAndSave

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

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.

Parameters

project:IProject — A project to be added.

Returns
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

()method 
public function addReferenceDocument(doc:ISupportingDocument):void

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.

Parameters

doc:ISupportingDocument — Reference document to be added.

addTeamMember

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

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.

Parameters

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

addWorkItem

()method 
public function addWorkItem(item:IWorkItem):void

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.

Parameters

item:IWorkItem — The WorkItem to be added.

addWorkItemAndSave

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

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.

Parameters

workItem:IWorkItem — A WorkItem to be added.

Returns
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

()method 
public function fetchCompleteProject():mx.rpc:AsyncToken

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.

Returns
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

()method 
public function getMemberTitle(member:IMember):String

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

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

Parameters

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

Returns
String — The title of the member.

Related API Elements

remove

()method 
public function remove():mx.rpc:AsyncToken

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

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

Returns
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.

removeMemberAt

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

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.

Parameters

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

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

removeProjectAndSave

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

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

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

Parameters

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

Returns
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

()method 
public function removeProjectAt(index:int):IProject

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.

Parameters

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

Returns
IProject — It returns a reference to the removed project.

removeReferenceDocumentAt

()method 
public function removeReferenceDocumentAt(index:int):ISupportingDocument

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.

Parameters

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

Returns
ISupportingDocument — It returns a reference to the removed document.

removeWorkItemAndSave

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

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

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

Parameters

workItem:IWorkItem — A WorkItem to be removed.

Returns
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

()method 
public function removeWorkItemAt(index:int):IWorkItem

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.

Parameters

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

Returns
IWorkItem — It returns a reference to the removed workitem.

save

()method 
public function save():mx.rpc:AsyncToken

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.

Returns
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

()method 
public function terminate():mx.rpc:AsyncToken

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: 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.

Returns
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.