包 | com.adobe.solutions.prm.domain |
接口 | public interface IWorkItem extends IGanttDataItem , IMemberCollection , IDocumentCollection |
实现器 | WorkItem |
语言版本: | 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. | IMemberCollection | ||
asset : IAsset
Defines the asset of WorkItem. | IWorkItem | ||
attributes : Object
Defines the map of key value pair attributes. | IWorkItem | ||
context : IReviewContext [只读]
This property returns a reference to the workflow template that will be used by the work item. | IWorkItem | ||
createdBy : String
Principal name for a user who created an entity. | IWorkItem | ||
creationDate : Date
Date of creation of an entity. | IWorkItem | ||
description : String
Description. | IWorkItem | ||
documents : ArrayCollection [只读]
The property returns a collection of associated documents. | IDocumentCollection | ||
editedTemplate : Boolean
Defines the current value of editedTemplate flag. | IWorkItem | ||
endDate : Date
Defines the end date of a workItem. | IWorkItem | ||
expectedEndDate : Date
Defines the expected end date for a workItem. | IWorkItem | ||
ganttItems : ArrayCollection [只读]
A collection of the displayable children that are displayed in the Gantt chart if showChildren flag is set to True. | IGanttDataItem | ||
id : String
Unique identifier. | IWorkItem | ||
inheritDocsFromParent : Boolean
Defines the current value of inheritDocsFromParent flag. | IWorkItem | ||
instanceId : String
Defines the instance ID of the workflow associated with a workItem. | IWorkItem | ||
itemEndDate : Date [只读]
End date of the item. | IGanttDataItem | ||
itemName : String [只读]
Name of the item. | IGanttDataItem | ||
itemStartDate : Date [只读]
Start date of the item. | IGanttDataItem | ||
itemState : String [只读]
State of the item. | IGanttDataItem | ||
itemStatus : String [只读]
Status of the item. | IGanttDataItem | ||
itemType : String [只读]
Type of item. | IGanttDataItem | ||
lastUpdatedBy : String
Principal name for a user who last updated an entity. | IWorkItem | ||
lastUpdatedDate : Date
Date when an entity was last updated. | IWorkItem | ||
memberList : IList [只读]
The property returns a collection of directly associated members. | IMemberCollection | ||
members : IList
Defines a list of members of the project. | IWorkItem | ||
name : String
Defines the name of the workItem, workItem name is a mandatory attribute should not be null. | IWorkItem | ||
operationList : ArrayCollection [只读]
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 workItem. | IWorkItem | ||
parentProject : IProject
Defines the immediate parent of a workItem in the project hierarchy. | IWorkItem | ||
referenceDocuments : IList
Defines the reference documents associated with a workItem. | IWorkItem | ||
reviewContextList : IList [只读]
Defines the list of reviewContext List, If the workitem is has a running instance of review associated with it, then it gives list of review context
each corresponding to a different revision of review. | IWorkItem | ||
reviewTemplate : com.adobe.solutions.rca.domain:IReviewTemplate
Defines the reivewTemplate. | IWorkItem | ||
rootProject : IProject
Defines the root project. | IWorkItem | ||
showChildren : Boolean
A Boolean flag to determine if the children need to be displayed. | IGanttDataItem | ||
showParent : Boolean
A Boolean flag to determine if the parent needs to be displayed. | IGanttDataItem | ||
startDate : Date
Defines start date of a workItem. | IWorkItem | ||
state : String
Defines the state of a WorkItem. | IWorkItem | ||
status : String
Defines the status of a WorkItem. | IWorkItem | ||
statusReasonCode : String
Defines the status reason code. | IWorkItem | ||
tags : IList
Defines the list of tags that can be associated with an entity. | IWorkItem | ||
templateName : String
Defines the workItem template name. | IWorkItem | ||
type : String
Defines the type of workItem. | IWorkItem | ||
uniqueMemberList : IList [只读]
The property returns a collection of unique members. | IMemberCollection | ||
vo : WorkItemVO
This property refers to an instance of a workItem value object. | IWorkItem | ||
workflowDisposition : String
Stores additional status information about the status of workflow associated with a workItem. | IWorkItem |
方法 | 由以下参数定义 | ||
---|---|---|---|
This remote operation activates the current workitem. | IWorkItem | ||
This remote operation adds a document from the collection and submits the change on the server. | IDocumentCollection | ||
This remote operation adds a member to the collection and submits the change to the server. | IMemberCollection | ||
This method adds a reference document to the referenceDocuments collection. | IWorkItem | ||
This method adds a team member to the collection of the members. | IWorkItem | ||
This method returns the title of the member, if any title is assigned to the user. | IWorkItem | ||
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 a server. | IWorkItem | ||
This remote operation removes a document from the collection and submits the change on the server. | IDocumentCollection | ||
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 the collections of the members. | IWorkItem | ||
This method removes a reference document, at the specified index, from the referenceDocuments collection. | IWorkItem | ||
This remote operation restarts the workflow attached to a workitem. | IWorkItem | ||
This remote operation saves the current state of a workitem on a server. | IWorkItem | ||
This remote operation terminates the current workitem. | IWorkItem | ||
This remote operation updates the tile of a member present in collection and submits the change to the server. | IMemberCollection |
asset | 属性 |
attributes | 属性 |
context | 属性 |
context:IReviewContext
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This property returns a reference to the workflow template that will be used by the work item. A local template is returned if attached, else parent template is returned.
实现
public function get context():IReviewContext
createdBy | 属性 |
creationDate | 属性 |
description | 属性 |
editedTemplate | 属性 |
editedTemplate:Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Defines the current value of editedTemplate
flag.
If this Boolean flag is set to True
, a template has been locally modified for this work item.
实现
public function get editedTemplate():Boolean
public function set editedTemplate(value:Boolean):void
endDate | 属性 |
endDate:Date
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Defines the end date of a workItem. As the end date is a calculated field, client should never 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.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Defines the expected end date for a workItem. If expectedEndDate
is null
, then it is inherited from the parent project.
For this reason, a root project can not have a null
value for the expected end date.
实现
public function get expectedEndDate():Date
public function set expectedEndDate(value:Date):void
id | 属性 |
inheritDocsFromParent | 属性 |
inheritDocsFromParent:Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Defines the current value of inheritDocsFromParent
flag. If this Boolean flag is set to True
, the workItem inherits the
reference documents from parent project and so on. If the flag is set to False
, then it does not inherit reference documents.
实现
public function get inheritDocsFromParent():Boolean
public function set inheritDocsFromParent(value:Boolean):void
instanceId | 属性 |
instanceId:String
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Defines the instance ID of the workflow associated with a workItem. Instance ID uniquely identifies an ongoing workflow instance.
实现
public function get instanceId():String
public function set instanceId(value:String):void
lastUpdatedBy | 属性 |
lastUpdatedDate | 属性 |
members | 属性 |
members:IList
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Defines a list of members of the project. Replaces any existing list of members. Team members get a notification of various events during a workItem life cycle.
实现
public function get members():IList
public function set members(value:IList):void
name | 属性 |
name:String
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Defines the name of the workItem, workItem name is a mandatory attribute should not be null
.
[ ] / | * . .. : and trailing spaces are not allowed in the name.
实现
public function get name():String
public function set name(value:String):void
owner | 属性 |
owner:IUser
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Defines the owner of a workItem. Owner information is based on the Principal Name of the user present in WorkItemVO.
此属性可用作数据绑定的源。修改此属性后,将调度 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 immediate parent of a workItem in the project hierarchy. Since a project can have only one immediate parent, only a single instance of
project is returned. Please note that for the first level children in a project hierarchy, parent project or root project have the same value.
Parent project value is null
for a root project itself.
实现
public function get parentProject():IProject
public function set parentProject(value:IProject):void
referenceDocuments | 属性 |
referenceDocuments:IList
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Defines the reference documents associated with a workItem.
实现
public function get referenceDocuments():IList
public function set referenceDocuments(value:IList):void
reviewContextList | 属性 |
reviewContextList:IList
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Defines the list of reviewContext
List, If the workitem is has a running instance of review associated with it, then it gives list of review context
each corresponding to a different revision of review.
实现
public function get reviewContextList():IList
相关 API 元素
reviewTemplate | 属性 |
reviewTemplate:com.adobe.solutions.rca.domain:IReviewTemplate
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Defines the reivewTemplate
. It keeps the edited value or the populated value of a review template, based on templateName
.
实现
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.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Defines the root project. This method is used internally and should not be used by a client.
实现
public function get rootProject():IProject
public function set rootProject(value:IProject):void
startDate | 属性 |
startDate:Date
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Defines start date of a workItem. If start date is set in future, then workItem is scheduled to start on the future date.
If start date is in past or current date, then such a workItem starts, as soon as the workItem is activated.
If the start date of a workItem is null
, then the start date is inherited from the parent project.
实现
public function get startDate():Date
public function set startDate(value:Date):void
state | 属性 |
status | 属性 |
statusReasonCode | 属性 |
statusReasonCode:String
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Defines the status reason code. Reason codes provide more information about the status and provide reason for specific status being set. In the default implementation, it has only two status, red and green
实现
public function get statusReasonCode():String
public function set statusReasonCode(value:String):void
相关 API 元素
tags | 属性 |
templateName | 属性 |
templateName:String
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Defines the workItem template name. Every workItem is associated with a RCA template. If a template is not directly assigned to a workItem, then a template is inherited from a parent project in the hierarchy, going from bottom to top. You need to specify only the template name, since it is unique. Ensure that the template exists before it is used.
实现
public function get templateName():String
public function set templateName(value:String):void
type | 属性 |
type:String
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Defines the type of workItem. This attribute is not used in the current implementation, but the provided value is stored and associated with the workItem. A custom implementation can use the type, if required.
实现
public function get type():String
public function set type(value:String):void
vo | 属性 |
vo:WorkItemVO
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This property refers to an instance of a workItem value object.
实现
public function get vo():WorkItemVO
public function set vo(value:WorkItemVO):void
相关 API 元素
workflowDisposition | 属性 |
workflowDisposition:String
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Stores additional status information about the status of workflow associated with a workItem. It is not used in the current implementation. It is reserved for future use.
实现
public function get workflowDisposition():String
public function set workflowDisposition(value:String):void
activate | () | 方法 |
public function activate():mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This remote operation activates the current workitem.
返回mx.rpc:AsyncToken — It returns a token on which success fault handlers can be attached. The resulting event contains the value object of the activated workitem.
|
addReferenceDocument | () | 方法 |
public function addReferenceDocument(doc:ISupportingDocument):void
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This method adds a reference document to the referenceDocuments
collection.
It adds the document locally and not on a server.
参数
doc:ISupportingDocument — A 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.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This method adds a team member to the collection of the members. It adds the team member locally and not on a server.
参数
teamMember:com.adobe.solutions.prm.domain:ITeamMember — Team Member to be added.
|
getMemberTitle | () | 方法 |
public function getMemberTitle(member:IMember):String
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This method returns the title of the member, if any title is assigned to the user.
参数
member:IMember — Member instance whose title is required.
|
String — It returns the title of the member.
|
相关 API 元素
remove | () | 方法 |
public function remove():mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This remote operation removes itself from its parent project and updates the change on a 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 workitem.
|
removeMemberAt | () | 方法 |
public function removeMemberAt(index:int):com.adobe.solutions.prm.domain:ITeamMember
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This method removes a team member, at the specified index, from the collections of the members. It removes a team member locally and not on 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.
|
removeReferenceDocumentAt | () | 方法 |
public function removeReferenceDocumentAt(index:int):ISupportingDocument
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This method removes a reference document, at the specified index, from the referenceDocuments
collection.
It removes the document locally and not on a server.
参数
index:int — Index of the document to be removed.
|
ISupportingDocument — It returns a reference to the removed document.
|
restartSchedule | () | 方法 |
public function restartSchedule(file:File, stageNumber:int):mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This remote operation restarts the workflow attached to a workitem. While restarting a new file can be provided, to be used in the restarted workflow. User has the option of restarting a schedule from a specific stage.
参数
file:File — New asset to be used in the restarted workflow.
| |
stageNumber:int — Stage number from which the schedule should restarted.
|
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached.
|
save | () | 方法 |
public function save():mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This remote operation saves the current state of a workitem on a server. If save is successful, it 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 workitem.
|
terminate | () | 方法 |
public function terminate():mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Project Management Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This remote operation terminates the current workitem. If the operation is successful, it refreshes current object with the new value object returned 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 terminated workitem.
|
Tue Jun 12 2018, 11:04 AM Z