Pakket | com.adobe.solutions.prm.domain.impl |
Klasse | public class WorkItem |
Overerving | WorkItem Object |
Implementatie | IWorkItem, IEventDispatcher |
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10.0 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
Verwante API-elementen
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
allMemberList : IList [alleen-lezen]
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
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | Object | ||
context : IReviewContext [alleen-lezen]
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 [alleen-lezen]
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 [alleen-lezen]
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 [alleen-lezen]
End date of the item. | WorkItem | ||
itemName : String [alleen-lezen]
Name of the item. | WorkItem | ||
itemStartDate : Date [alleen-lezen]
Start date of the item. | WorkItem | ||
itemState : String [alleen-lezen]
State of the item. | WorkItem | ||
itemStatus : String [alleen-lezen]
Status of the item. | WorkItem | ||
itemType : String [alleen-lezen]
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 [alleen-lezen]
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 [alleen-lezen]
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 [alleen-lezen]
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 [alleen-lezen]
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 |
Methode | Gedefinieerd door | ||
---|---|---|---|
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 | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | 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 | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
This remote operation terminates the current workitem. | WorkItem | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
This remote operation updates the tile of a member present in collection and submits the change to the server. | WorkItem | ||
Retourneert de primitieve waarde van het opgegeven object. | Object | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | WorkItem |
allMemberList | eigenschap |
allMemberList:IList
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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
.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis memberListChanged
verzonden.
Implementatie
public function get allMemberList():IList
asset | eigenschap |
attributes | eigenschap |
context | eigenschap |
context:IReviewContext
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Implementatie
public function get context():IReviewContext
createdBy | eigenschap |
creationDate | eigenschap |
description | eigenschap |
documents | eigenschap |
documents:ArrayCollection
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
The property returns a collection of associated documents.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get documents():ArrayCollection
editedTemplate | eigenschap |
editedTemplate:Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Implementatie
public function get editedTemplate():Boolean
public function set editedTemplate(value:Boolean):void
endDate | eigenschap |
endDate:Date
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Implementatie
public function get endDate():Date
public function set endDate(value:Date):void
expectedEndDate | eigenschap |
expectedEndDate:Date
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Implementatie
public function get expectedEndDate():Date
public function set expectedEndDate(value:Date):void
ganttItems | eigenschap |
ganttItems:ArrayCollection
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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
.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis ganttItemsChanged
verzonden.
Implementatie
public function get ganttItems():ArrayCollection
id | eigenschap |
inheritDocsFromParent | eigenschap |
inheritDocsFromParent:Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Implementatie
public function get inheritDocsFromParent():Boolean
public function set inheritDocsFromParent(value:Boolean):void
instanceId | eigenschap |
instanceId:String
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Implementatie
public function get instanceId():String
public function set instanceId(value:String):void
itemEndDate | eigenschap |
itemEndDate:Date
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
End date of the item.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis ganttDataItemDurationChanged
verzonden.
Implementatie
public function get itemEndDate():Date
itemName | eigenschap |
itemName:String
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
Name of the item.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis ganttDataItemNameChanged
verzonden.
Implementatie
public function get itemName():String
itemStartDate | eigenschap |
itemStartDate:Date
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
Start date of the item.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis ganttDataItemDurationChanged
verzonden.
Implementatie
public function get itemStartDate():Date
itemState | eigenschap |
itemState:String
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
State of the item.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis ganttDataItemStateChanged
verzonden.
Implementatie
public function get itemState():String
itemStatus | eigenschap |
itemStatus:String
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
Status of the item.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis ganttDataItemStatusChanged
verzonden.
Implementatie
public function get itemStatus():String
itemType | eigenschap |
lastUpdatedBy | eigenschap |
lastUpdatedBy:String
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
Principal name for a user who last updated an entity.
Implementatie
public function get lastUpdatedBy():String
public function set lastUpdatedBy(value:String):void
lastUpdatedDate | eigenschap |
memberList | eigenschap |
memberList:IList
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
The property returns a collection of directly associated members.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis memberListChanged
verzonden.
Implementatie
public function get memberList():IList
members | eigenschap |
members:IList
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis templateChanged
verzonden.
Implementatie
public function get members():IList
public function set members(value:IList):void
name | eigenschap |
name:String
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Implementatie
public function get name():String
public function set name(value:String):void
operationList | eigenschap |
operationList:ArrayCollection
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
A collection of operations that are available to a user through the context menu in the Gantt chart.
Implementatie
public function get operationList():ArrayCollection
owner | eigenschap |
owner:IUser
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis ownerUpdated
verzonden.
Implementatie
public function get owner():IUser
public function set owner(value:IUser):void
parentProject | eigenschap |
parentProject:IProject
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Implementatie
public function get parentProject():IProject
public function set parentProject(value:IProject):void
referenceDocuments | eigenschap |
referenceDocuments:IList
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
Defines the reference documents associated with a workItem.
Implementatie
public function get referenceDocuments():IList
public function set referenceDocuments(value:IList):void
reviewContextList | eigenschap |
reviewContextList:IList
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Implementatie
public function get reviewContextList():IList
Verwante API-elementen
reviewTemplate | eigenschap |
reviewTemplate:com.adobe.solutions.rca.domain:IReviewTemplate
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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
.
Implementatie
public function get reviewTemplate():com.adobe.solutions.rca.domain:IReviewTemplate
public function set reviewTemplate(value:com.adobe.solutions.rca.domain:IReviewTemplate):void
Verwante API-elementen
rootProject | eigenschap |
rootProject:IProject
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
Defines the root project. This method is used internally and should not be used by a client.
Implementatie
public function get rootProject():IProject
public function set rootProject(value:IProject):void
showChildren | eigenschap |
showChildren:Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
A Boolean flag to determine if the children need to be displayed.
Implementatie
public function get showChildren():Boolean
public function set showChildren(value:Boolean):void
showParent | eigenschap |
showParent:Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
A Boolean flag to determine if the parent needs to be displayed.
Implementatie
public function get showParent():Boolean
public function set showParent(value:Boolean):void
startDate | eigenschap |
startDate:Date
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Implementatie
public function get startDate():Date
public function set startDate(value:Date):void
state | eigenschap |
status | eigenschap |
statusReasonCode | eigenschap |
statusReasonCode:String
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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
Implementatie
public function get statusReasonCode():String
public function set statusReasonCode(value:String):void
Verwante API-elementen
tags | eigenschap |
templateName | eigenschap |
templateName:String
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Implementatie
public function get templateName():String
public function set templateName(value:String):void
type | eigenschap |
type:String
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Implementatie
public function get type():String
public function set type(value:String):void
uniqueMemberList | eigenschap |
uniqueMemberList:IList
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
The property returns a collection of unique members.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis memberListChanged
verzonden.
Implementatie
public function get uniqueMemberList():IList
vo | eigenschap |
vo:WorkItemVO
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
This property refers to an instance of a workItem value object.
Implementatie
public function get vo():WorkItemVO
public function set vo(value:WorkItemVO):void
Verwante API-elementen
workflowDisposition | eigenschap |
workflowDisposition:String
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Implementatie
public function get workflowDisposition():String
public function set workflowDisposition(value:String):void
WorkItem | () | Constructor |
public function WorkItem(value:WorkItemVO, parentProject:IProject, rootProject:IProject)
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10.0 |
Runtimeversies: | 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 | () | methode |
public function activate():mx.rpc:AsyncToken
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
This remote operation activates the current workitem.
Geretourneerde waardemx.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 | () | methode |
public function addDocumentAndSave(doc:ISupportingDocument):mx.rpc:AsyncToken
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
This remote operation adds a document from the collection and submits the change on the server.
Parameters
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 | () | methode |
public function 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. 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).
Parameters
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 | () | methode |
public function addMemberAndSave(member:IMember):mx.rpc:AsyncToken
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
This remote operation adds a member to the collection and submits the change to the server.
Parameters
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 | () | methode |
public function addReferenceDocument(doc:ISupportingDocument):void
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Parameters
doc:ISupportingDocument — A reference document to be added.
|
addTeamMember | () | methode |
public function addTeamMember(teamMember:com.adobe.solutions.prm.domain:ITeamMember):void
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Parameters
teamMember:com.adobe.solutions.prm.domain:ITeamMember — Team Member to be added.
|
dispatchEvent | () | methode |
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.
Parameters
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 | () | methode |
public function getMemberTitle(member:IMember):String
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
This method returns the title of the member, if any title is assigned to the user.
Parameters
member:IMember — Member instance whose title is required.
|
String — It returns the title of the member.
|
hasChildren | () | methode |
public function hasChildren():Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
A Boolean function to determine if the item has displayable children.
Geretourneerde waardeBoolean — It returns a True value if there are displayable children.
|
hasEventListener | () | methode |
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.
Parameters
type:String — The type of event.
|
Boolean — A value of true if a listener of the specified type is registered; false otherwise.
|
remove | () | methode |
public function remove():mx.rpc:AsyncToken
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
This remote operation removes itself from its parent project and updates the change on a server.
Geretourneerde waardemx.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 | () | methode |
public function removeDocumentAndSave(doc:ISupportingDocument):mx.rpc:AsyncToken
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
This remote operation removes a document from the collection and submits the change on the server.
Parameters
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 | () | methode |
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes 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.
Parameters
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 | () | methode |
public function removeMemberAndSave(member:IMember):mx.rpc:AsyncToken
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | Flash Player 10.2, AIR (unsupported) |
This remote operation removes a member from the collection and submits the change to the server.
Parameters
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 | () | methode |
public function removeMemberAt(index:int):com.adobe.solutions.prm.domain:ITeamMember
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Parameters
index:int — Index of the member to be removed.
|
com.adobe.solutions.prm.domain:ITeamMember — It returns a reference to the removed member.
|
removeReferenceDocumentAt | () | methode |
public function removeReferenceDocumentAt(index:int):ISupportingDocument
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Parameters
index:int — Index of the document to be removed.
|
ISupportingDocument — It returns a reference to the removed document.
|
restartSchedule | () | methode |
public function restartSchedule(file:File, stageNumber:int):mx.rpc:AsyncToken
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Parameters
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 | () | methode |
public function save():mx.rpc:AsyncToken
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Geretourneerde waardemx.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 | () | methode |
public function terminate():mx.rpc:AsyncToken
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Geretourneerde waardemx.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 | () | methode |
public function updateTitleAndSave(member:IMember, title:String):mx.rpc:AsyncToken
Taalversie: | ActionScript 3.0 |
Productversie: | Project Management Building Block 10 |
Runtimeversies: | 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.
Parameters
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 | () | methode |
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.
Parameters
type:String — The type of event.
|
Boolean — A value of true if a listener of the specified type will be triggered; false otherwise.
|
Wed Jun 13 2018, 11:42 AM Z