適用於 Adobe® Flash® Platform 的 ActionScript® 3.0 參考
首頁  |  隱藏套件和類別清單 |  套件  |  類別  |  新增內容  |  索引  |  附錄  |  為什麼顯示英文?
篩選: 從伺服器擷取資料...
從伺服器擷取資料...
com.adobe.solutions.prm.domain 

IWorkItem  - AS3 Project Management

套件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)

An interface for defining a WorkItem domain object. A WorkItem describes an unit of work within a project. A WorkItem can have a workflow associated with it.

相關 API 元素



公用屬性
 屬性定義自
 InheritedallMemberList : 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
 Inheriteddocuments : 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
 InheritedganttItems : 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
 InheriteditemEndDate : Date
[唯讀] End date of the item.
IGanttDataItem
 InheriteditemName : String
[唯讀] Name of the item.
IGanttDataItem
 InheriteditemStartDate : Date
[唯讀] Start date of the item.
IGanttDataItem
 InheriteditemState : String
[唯讀] State of the item.
IGanttDataItem
 InheriteditemStatus : String
[唯讀] Status of the item.
IGanttDataItem
 InheriteditemType : 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
 InheritedmemberList : 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
 InheritedoperationList : 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
 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 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
 InheriteduniqueMemberList : 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
 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 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
 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 a server.
IWorkItem
 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 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
 Inherited
This remote operation updates the tile of a member present in collection and submits the change to the server.
IMemberCollection
屬性詳細資訊

asset

屬性
asset:IAsset

語言版本: ActionScript 3.0
產品版本: Project Management Building Block 10.0
執行階段版本: Flash Player 10.2, AIR (unsupported)

Defines the asset of WorkItem.



實作
    public function get asset():IAsset
    public function set asset(value:IAsset):void

attributes

屬性 
attributes:Object

語言版本: ActionScript 3.0
產品版本: Project Management Building Block 10.0
執行階段版本: Flash Player 10.2, AIR (unsupported)

Defines the map of key value pair attributes.



實作
    public function get attributes():Object
    public function set attributes(value:Object):void

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

屬性 
createdBy:String

語言版本: ActionScript 3.0
產品版本: Project Management Building Block 10.0
執行階段版本: Flash Player 10.2, AIR (unsupported)

Principal name for a user who created an entity.



實作
    public function get createdBy():String
    public function set createdBy(value:String):void

creationDate

屬性 
creationDate:Date

語言版本: ActionScript 3.0
產品版本: Project Management Building Block 10.0
執行階段版本: Flash Player 10.2, AIR (unsupported)

Date of creation of an entity.



實作
    public function get creationDate():Date
    public function set creationDate(value:Date):void

description

屬性 
description:String

語言版本: ActionScript 3.0
產品版本: Project Management Building Block 10.0
執行階段版本: Flash Player 10.2, AIR (unsupported)

Description.



實作
    public function get description():String
    public function set description(value:String):void

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

屬性 
id:String

語言版本: ActionScript 3.0
產品版本: Project Management Building Block 10.0
執行階段版本: Flash Player 10.2, AIR (unsupported)

Unique identifier.



實作
    public function get id():String
    public function set id(value:String):void

inheritDocsFromParent

屬性 
inheritDocsFromParent:Boolean

語言版本: ActionScript 3.0
產品版本: Project Management Building Block 10.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

屬性 
lastUpdatedBy:String

語言版本: ActionScript 3.0
產品版本: Project Management Building Block 10.0
執行階段版本: Flash Player 10.2, AIR (unsupported)

Principal name for a user who last updated an entity.



實作
    public function get lastUpdatedBy():String
    public function set lastUpdatedBy(value:String):void

lastUpdatedDate

屬性 
lastUpdatedDate:Date

語言版本: ActionScript 3.0
產品版本: Project Management Building Block 10.0
執行階段版本: Flash Player 10.2, AIR (unsupported)

Date when an entity was last updated.



實作
    public function get lastUpdatedDate():Date
    public function set lastUpdatedDate(value:Date):void

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

屬性 
state:String

語言版本: ActionScript 3.0
產品版本: Project Management Building Block 10.0
執行階段版本: Flash Player 10.2, AIR (unsupported)

Defines the state of a WorkItem.



實作
    public function get state():String
    public function set state(value:String):void

status

屬性 
status:String

語言版本: ActionScript 3.0
產品版本: Project Management Building Block 10.0
執行階段版本: Flash Player 10.2, AIR (unsupported)

Defines the status of a WorkItem.



實作
    public function get status():String
    public function set status(value:String):void

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

屬性 
tags:IList

語言版本: ActionScript 3.0
產品版本: Project Management Building Block 10.0
執行階段版本: Flash Player 10.2, AIR (unsupported)

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



實作
    public function get tags():IList
    public function set tags(value:IList):void

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.




[ X ]為什麼顯示英文?
「ActionScript 3.0 參考」的內容是以英文顯示

並非所有「ActionScript 3.0 參考」的內容都翻譯為所有語言。當語言元素未翻譯時,就會以英文顯示。例如,ga.controls.HelpBox 類別並沒有翻譯為任何語言。因此在參考的繁體中文版本中,ga.controls.HelpBox 類別就會以英文顯示。