| Пакет | com.adobe.solutions.prm.domain.impl |
| Класс | public class WorkItem |
| Наследование | WorkItem Object |
| Реализует | IWorkItem, IEventDispatcher |
| Язык версии: | 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. | WorkItem | ||
| asset : IAsset
Defines the asset of WorkItem. | WorkItem | ||
| attributes : Object
Defines the map of key value pair attributes. | WorkItem | ||
![]() | constructor : Object
Ссылка на объект класса или функцию конструктора для данного экземпляра объекта. | Object | |
| context : IReviewContext [только для чтения]
This property returns a reference to the workflow template that will be used by the work item. | WorkItem | ||
| createdBy : String
Principal name for a user who created an entity. | WorkItem | ||
| creationDate : Date
Date of creation of an entity. | WorkItem | ||
| description : String
Description. | WorkItem | ||
| documents : ArrayCollection [только для чтения]
The property returns a collection of associated documents. | WorkItem | ||
| editedTemplate : Boolean
Defines the current value of editedTemplate flag. | WorkItem | ||
| endDate : Date
Defines the end date of a workItem. | WorkItem | ||
| expectedEndDate : Date
Defines the expected end date for a workItem. | WorkItem | ||
| ganttItems : ArrayCollection [только для чтения]
A collection of the displayable children that are displayed in the Gantt chart if showChildren flag is set to True. | WorkItem | ||
| id : String
Unique identifier. | WorkItem | ||
| inheritDocsFromParent : Boolean
Defines the current value of inheritDocsFromParent flag. | WorkItem | ||
| instanceId : String
Defines the instance ID of the workflow associated with a workItem. | WorkItem | ||
| itemEndDate : Date [только для чтения]
End date of the item. | WorkItem | ||
| itemName : String [только для чтения]
Name of the item. | WorkItem | ||
| itemStartDate : Date [только для чтения]
Start date of the item. | WorkItem | ||
| itemState : String [только для чтения]
State of the item. | WorkItem | ||
| itemStatus : String [только для чтения]
Status of the item. | WorkItem | ||
| itemType : String [только для чтения]
Type of item. | WorkItem | ||
| lastUpdatedBy : String
Principal name for a user who last updated an entity. | WorkItem | ||
| lastUpdatedDate : Date
Date when an entity was last updated. | WorkItem | ||
| memberList : IList [только для чтения]
The property returns a collection of directly associated members. | WorkItem | ||
| members : IList
Defines a list of members of the project. | WorkItem | ||
| name : String
Defines the name of the workItem, workItem name is a mandatory attribute should not be null. | WorkItem | ||
| operationList : ArrayCollection [только для чтения]
A collection of operations that are available to a user through the context menu in the Gantt chart. | WorkItem | ||
| owner : IUser
Defines the owner of a workItem. | WorkItem | ||
| parentProject : IProject
Defines the immediate parent of a workItem in the project hierarchy. | WorkItem | ||
| referenceDocuments : IList
Defines the reference documents associated with a workItem. | WorkItem | ||
| 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. | WorkItem | ||
| reviewTemplate : com.adobe.solutions.rca.domain:IReviewTemplate
Defines the reivewTemplate. | WorkItem | ||
| rootProject : IProject
Defines the root project. | WorkItem | ||
| showChildren : Boolean
A Boolean flag to determine if the children need to be displayed. | WorkItem | ||
| showParent : Boolean
A Boolean flag to determine if the parent needs to be displayed. | WorkItem | ||
| startDate : Date
Defines start date of a workItem. | WorkItem | ||
| state : String
Defines the state of a WorkItem. | WorkItem | ||
| status : String
Defines the status of a WorkItem. | WorkItem | ||
| statusReasonCode : String
Defines the status reason code. | WorkItem | ||
| tags : IList
Defines the list of tags that can be associated with an entity. | WorkItem | ||
| templateName : String
Defines the workItem template name. | WorkItem | ||
| type : String
Defines the type of workItem. | WorkItem | ||
| uniqueMemberList : IList [только для чтения]
The property returns a collection of unique members. | WorkItem | ||
| vo : WorkItemVO
This property refers to an instance of a workItem value object. | WorkItem | ||
| workflowDisposition : String
Stores additional status information about the status of workflow associated with a workItem. | WorkItem | ||
| Метод | Определено | ||
|---|---|---|---|
The constructor of WorkItem class. | WorkItem | ||
This remote operation activates the current workitem. | WorkItem | ||
This remote operation adds a document from the collection and submits the change on the server. | WorkItem | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | WorkItem | ||
This remote operation adds a member to the collection and submits the change to the server. | WorkItem | ||
This method adds a reference document to the referenceDocuments collection. | WorkItem | ||
This method adds a team member to the collection of the members. | WorkItem | ||
Dispatches an event into the event flow. | WorkItem | ||
This method returns the title of the member, if any title is assigned to the user. | WorkItem | ||
A Boolean function to determine if the item has displayable children. | WorkItem | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | WorkItem | ||
![]() |
Показывает, определено ли заданное свойство для объекта. | Object | |
![]() |
Показывает, есть ли экземпляр класса Object в цепи прототипов объекта, заданного в качестве параметра. | Object | |
![]() |
Показывает наличие заданного свойства и его перечисляемость. | Object | |
This remote operation removes itself from its parent project and updates the change on a server. | WorkItem | ||
This remote operation removes a document from the collection and submits the change on the server. | WorkItem | ||
Removes a listener from the EventDispatcher object. | WorkItem | ||
This remote operation removes a member from the collection and submits the change to the server. | WorkItem | ||
This method removes a team member, at the specified index, from the collections of the members. | WorkItem | ||
This method removes a reference document, at the specified index, from the referenceDocuments collection. | WorkItem | ||
This remote operation restarts the workflow attached to a workitem. | WorkItem | ||
This remote operation saves the current state of a workitem on a server. | WorkItem | ||
![]() |
Задает доступность динамического свойства для операций цикла. | Object | |
This remote operation terminates the current workitem. | WorkItem | ||
![]() |
Возвращает строковое представление этого объекта, отформатированного в соответствии со стандартами, принятыми для данной локали. | Object | |
![]() |
Возвращает строковое представление заданного объекта. | Object | |
This remote operation updates the tile of a member present in collection and submits the change to the server. | WorkItem | ||
![]() |
Возвращает элементарное значение заданного объекта. | Object | |
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | WorkItem | ||
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():IListasset | свойство |
attributes | свойство |
attributes:Object| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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):voidcontext | свойство |
context:IReviewContext [только для чтения] | Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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():IReviewContextcreatedBy | свойство |
createdBy:String| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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):voidcreationDate | свойство |
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():ArrayCollectioneditedTemplate | свойство |
editedTemplate:Boolean| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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):voidendDate | свойство |
endDate:Date| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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):voidexpectedEndDate | свойство |
expectedEndDate:Date| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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):voidganttItems | свойство |
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():ArrayCollectionid | свойство |
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 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):voidinstanceId | свойство |
instanceId:String| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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):voiditemEndDate | свойство |
itemEndDate:Date [только для чтения] | Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | Flash Player 10.2, AIR (unsupported) |
End date of the item.
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие ganttDataItemDurationChanged .
Реализация
public function get itemEndDate():DateitemName | свойство |
itemName:String [только для чтения] | Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | Flash Player 10.2, AIR (unsupported) |
Name of the item.
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие ganttDataItemNameChanged .
Реализация
public function get itemName():StringitemStartDate | свойство |
itemStartDate:Date [только для чтения] | Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | Flash Player 10.2, AIR (unsupported) |
Start date of the item.
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие ganttDataItemDurationChanged .
Реализация
public function get itemStartDate():DateitemState | свойство |
itemState:String [только для чтения] | Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | Flash Player 10.2, AIR (unsupported) |
State of the item.
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие ganttDataItemStateChanged .
Реализация
public function get itemState():StringitemStatus | свойство |
itemStatus:String [только для чтения] | Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | Flash Player 10.2, AIR (unsupported) |
Status of the item.
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие ganttDataItemStatusChanged .
Реализация
public function get itemStatus():StringitemType | свойство |
lastUpdatedBy | свойство |
lastUpdatedBy:String| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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):voidlastUpdatedDate | свойство |
lastUpdatedDate:Date| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | Flash Player 10.2, AIR (unsupported) |
Date when an entity was last updated.
Реализация
public function get lastUpdatedDate():Date public function set lastUpdatedDate(value:Date):voidmemberList | свойство |
memberList:IList [только для чтения] | Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | Flash Player 10.2, AIR (unsupported) |
The property returns a collection of directly associated members.
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие memberListChanged .
Реализация
public function get memberList():IListmembers | свойство |
members:IList| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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.
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие templateChanged .
Реализация
public function get members():IList public function set members(value:IList):voidname | свойство |
name:String| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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):voidoperationList | свойство |
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():ArrayCollectionowner | свойство |
owner:IUser| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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):voidparentProject | свойство |
parentProject:IProject| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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):voidreferenceDocuments | свойство |
referenceDocuments:IList| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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):voidreviewContextList | свойство |
reviewContextList:IList [только для чтения] | Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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 |
| Версии среды выполнения: | 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 |
| Версии среды выполнения: | 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):voidshowChildren | свойство |
showChildren:Boolean| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | Flash Player 10.2, AIR (unsupported) |
A Boolean flag to determine if the children need to be displayed.
Реализация
public function get showChildren():Boolean public function set showChildren(value:Boolean):voidshowParent | свойство |
showParent:Boolean| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | Flash Player 10.2, AIR (unsupported) |
A Boolean flag to determine if the parent needs to be displayed.
Реализация
public function get showParent():Boolean public function set showParent(value:Boolean):voidstartDate | свойство |
startDate:Date| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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):voidstate | свойство |
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 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 |
| Версии среды выполнения: | 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):voidtemplateName | свойство |
templateName:String| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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):voidtype | свойство |
type:String| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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):voiduniqueMemberList | свойство |
uniqueMemberList:IList [только для чтения] | Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | Flash Player 10.2, AIR (unsupported) |
The property returns a collection of unique members.
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие memberListChanged .
Реализация
public function get uniqueMemberList():IListvo | свойство |
vo:WorkItemVO| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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 |
| Версии среды выполнения: | 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):voidWorkItem | () | Конструктор |
public function WorkItem(value:WorkItemVO, parentProject:IProject, rootProject:IProject)| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10.0 |
| Версии среды выполнения: | Flash Player 10.2, AIR (unsupported) |
The constructor of WorkItem class. It creates a workitem using workitem value object and reference to parent project and root project.
value:WorkItemVO — workitem value object
| |
parentProject:IProject — Reference of parent project to which this work item is assigned.
| |
rootProject:IProject — Reference of top level project i.e root node of the tree in which this work item 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 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.
|
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.
|
addEventListener | () | метод |
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):voidRegisters an event listener object with an EventDispatcher object so that the listener receives notification of an event. You can register event listeners on all nodes in the display list for a specific type of event, phase, and priority.
After you successfully register an event listener, you cannot change its priority
through additional calls to addEventListener(). To change a listener's priority, you
must first call removeEventListener(). Then you can register the listener again with the new
priority level.
After the listener is registered, subsequent calls to
addEventListener() with a different value for either type or useCapture result in the
creation of a separate listener registration. For example, if you first register a
listener with useCapture set to true, it listens only during the capture phase. If you
call addEventListener() again using the same listener object, but with useCapture set to
false, you have two separate listeners: one that listens during the capture phase, and
another that listens during the target and bubbling phases.
You cannot register an event listener for only the target phase or the bubbling phase. Those phases are coupled during registration because bubbling applies only to the ancestors of the target node.
When you no longer need an event listener, remove it by calling EventDispatcher.removeEventListener(); otherwise, memory problems might result. Objects
with registered event listeners are not automatically removed from memory because the
garbage collector does not remove objects that still have references.
Copying an EventDispatcher instance does not copy the event listeners attached to it. (If your newly created node needs an event listener, you must attach the listener after creating the node.) However, if you move an EventDispatcher instance, the event listeners attached to it move along with it.
If the event listener is being registered on a node while an event is also being processed on this node, the event listener is not triggered during the current phase but may be triggered during a later phase in the event flow, such as the bubbling phase.
If an event listener is removed from a node while an event is being processed on the node, it is still triggered by the current actions. After it is removed, the event listener is never invoked again (unless it is registered again for future processing).
Параметры
type:String — The type of event.
| |
listener:Function — The listener function that processes the event. This function must accept an event object
as its only parameter and must return nothing, as this example shows:
| |
useCapture:Boolean (default = false) — Determines whether the listener works in the capture phase or the target
and bubbling phases. If useCapture is set to true, the
listener processes the event only during the capture phase and not in the target or
bubbling phase. If useCapture is false, the listener processes the event only
during the target or bubbling phase. To listen for the event in all three phases, call
addEventListener() twice, once with useCapture set to true,
then again with useCapture set to false.
| |
priority:int (default = 0) — The priority level of the event listener. Priorities are designated by a 32-bit integer. The higher the number, the higher the priority. All listeners with priority n are processed before listeners of priority n-1. If two or more listeners share the same priority, they are processed in the order in which they were added. The default priority is 0.
| |
weakRef:Boolean (default = false) — Determines whether the reference to the listener is strong or weak. A strong
reference (the default) prevents your listener from being garbage-collected. A weak
reference does not. Class-level member functions are not subject to garbage
collection, so you can set |
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.
|
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 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 |
| Версии среды выполнения: | 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.
|
dispatchEvent | () | метод |
public function dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow. The event target is the
EventDispatcher object upon which dispatchEvent() is called.
Параметры
event:Event — The event object dispatched into the event flow.
|
Boolean — A value of true unless preventDefault() is called on the event,
in which case it returns false.
|
getMemberTitle | () | метод |
public function getMemberTitle(member:IMember):String| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | 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.
|
hasChildren | () | метод |
public function hasChildren():Boolean| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Project Management Building Block 10 |
| Версии среды выполнения: | Flash Player 10.2, AIR (unsupported) |
A Boolean function to determine if the item has displayable children.
ВозвращаетBoolean — It returns a True value if there are displayable children.
|
hasEventListener | () | метод |
public function hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. This allows you to determine where an EventDispatcher object has altered handling of an event type in the event flow hierarchy. To determine whether
a specific event type will actually trigger an event listener, use IEventDispatcher.willTrigger().
The difference between hasEventListener() and willTrigger() is that hasEventListener() examines only the object to which it belongs, whereas willTrigger() examines the entire event flow for the event specified by the type parameter.
Параметры
type:String — The type of event.
|
Boolean — A value of true if a listener of the specified type is registered; false otherwise.
|
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 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.
|
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.
|
removeEventListener | () | метод |
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):voidRemoves a listener from the EventDispatcher object. If there is no matching listener registered with the EventDispatcher object, a call to this method has no effect.
Параметры
type:String — The type of event.
| |
listener:Function — The listener object to remove.
| |
useCapture:Boolean (default = false) — Specifies whether the listener was registered for the capture phase or the target and bubbling phases. If the listener was registered for both the capture phase and the target and bubbling phases, two calls to removeEventListener() are required to remove both: one call with useCapture set to true, and another call with useCapture set to false.
|
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 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 |
| Версии среды выполнения: | 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 |
| Версии среды выполнения: | 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 |
| Версии среды выполнения: | 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 |
| Версии среды выполнения: | 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.
|
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.
|
willTrigger | () | метод |
public function willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. This method returns true if an event listener is triggered during any phase of the event flow when an event of the specified type is dispatched to this EventDispatcher object or any of its descendants.
The difference between hasEventListener() and willTrigger() is that hasEventListener() examines only the object to which it belongs, whereas willTrigger() examines the entire event flow for the event specified by the type parameter.
Параметры
type:String — The type of event.
|
Boolean — A value of true if a listener of the specified type will be triggered; false otherwise.
|
Tue Jun 12 2018, 11:34 AM Z
Скрыть унаследованные общедоступные свойства
Показать унаследованные общедоступные свойства