Pacchetto | com.adobe.solutions.prm.domain.impl |
Classe | public class WorkItem |
Ereditarietà | WorkItem Object |
Implementa | IWorkItem, IEventDispatcher |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10.0 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
Elementi API correlati
Proprietà | Definito da | ||
---|---|---|---|
allMemberList : IList [sola lettura]
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
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | ||
context : IReviewContext [sola lettura]
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 [sola lettura]
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 [sola lettura]
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 [sola lettura]
End date of the item. | WorkItem | ||
itemName : String [sola lettura]
Name of the item. | WorkItem | ||
itemStartDate : Date [sola lettura]
Start date of the item. | WorkItem | ||
itemState : String [sola lettura]
State of the item. | WorkItem | ||
itemStatus : String [sola lettura]
Status of the item. | WorkItem | ||
itemType : String [sola lettura]
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 [sola lettura]
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 [sola lettura]
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 [sola lettura]
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 [sola lettura]
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 |
Metodo | Definito da | ||
---|---|---|---|
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 | ||
Indica se per un oggetto è definita una proprietà specifica. | Object | ||
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | ||
Indica se la proprietà specificata esiste ed è enumerabile. | 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 | ||
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | ||
This remote operation terminates the current workitem. | WorkItem | ||
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | ||
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | ||
This remote operation updates the tile of a member present in collection and submits the change to the server. | WorkItem | ||
Restituisce il valore di base dell'oggetto specificato. | Object | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | WorkItem |
allMemberList | proprietà |
allMemberList:IList
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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
.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento memberListChanged
.
Implementazione
public function get allMemberList():IList
asset | proprietà |
attributes | proprietà |
attributes:Object
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
Defines the map of key value pair attributes.
Implementazione
public function get attributes():Object
public function set attributes(value:Object):void
context | proprietà |
context:IReviewContext
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Implementazione
public function get context():IReviewContext
createdBy | proprietà |
createdBy:String
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
Principal name for a user who created an entity.
Implementazione
public function get createdBy():String
public function set createdBy(value:String):void
creationDate | proprietà |
creationDate:Date
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
Date of creation of an entity.
Implementazione
public function get creationDate():Date
public function set creationDate(value:Date):void
description | proprietà |
documents | proprietà |
documents:ArrayCollection
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
The property returns a collection of associated documents.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange
.
Implementazione
public function get documents():ArrayCollection
editedTemplate | proprietà |
editedTemplate:Boolean
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Implementazione
public function get editedTemplate():Boolean
public function set editedTemplate(value:Boolean):void
endDate | proprietà |
endDate:Date
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Implementazione
public function get endDate():Date
public function set endDate(value:Date):void
expectedEndDate | proprietà |
expectedEndDate:Date
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Implementazione
public function get expectedEndDate():Date
public function set expectedEndDate(value:Date):void
ganttItems | proprietà |
ganttItems:ArrayCollection
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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
.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento ganttItemsChanged
.
Implementazione
public function get ganttItems():ArrayCollection
id | proprietà |
inheritDocsFromParent | proprietà |
inheritDocsFromParent:Boolean
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Implementazione
public function get inheritDocsFromParent():Boolean
public function set inheritDocsFromParent(value:Boolean):void
instanceId | proprietà |
instanceId:String
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Implementazione
public function get instanceId():String
public function set instanceId(value:String):void
itemEndDate | proprietà |
itemEndDate:Date
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
End date of the item.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento ganttDataItemDurationChanged
.
Implementazione
public function get itemEndDate():Date
itemName | proprietà |
itemName:String
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
Name of the item.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento ganttDataItemNameChanged
.
Implementazione
public function get itemName():String
itemStartDate | proprietà |
itemStartDate:Date
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
Start date of the item.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento ganttDataItemDurationChanged
.
Implementazione
public function get itemStartDate():Date
itemState | proprietà |
itemState:String
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
State of the item.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento ganttDataItemStateChanged
.
Implementazione
public function get itemState():String
itemStatus | proprietà |
itemStatus:String
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
Status of the item.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento ganttDataItemStatusChanged
.
Implementazione
public function get itemStatus():String
itemType | proprietà |
lastUpdatedBy | proprietà |
lastUpdatedBy:String
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
Principal name for a user who last updated an entity.
Implementazione
public function get lastUpdatedBy():String
public function set lastUpdatedBy(value:String):void
lastUpdatedDate | proprietà |
lastUpdatedDate:Date
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
Date when an entity was last updated.
Implementazione
public function get lastUpdatedDate():Date
public function set lastUpdatedDate(value:Date):void
memberList | proprietà |
memberList:IList
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
The property returns a collection of directly associated members.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento memberListChanged
.
Implementazione
public function get memberList():IList
members | proprietà |
members:IList
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento templateChanged
.
Implementazione
public function get members():IList
public function set members(value:IList):void
name | proprietà |
name:String
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Implementazione
public function get name():String
public function set name(value:String):void
operationList | proprietà |
operationList:ArrayCollection
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
A collection of operations that are available to a user through the context menu in the Gantt chart.
Implementazione
public function get operationList():ArrayCollection
owner | proprietà |
owner:IUser
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento ownerUpdated
.
Implementazione
public function get owner():IUser
public function set owner(value:IUser):void
parentProject | proprietà |
parentProject:IProject
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Implementazione
public function get parentProject():IProject
public function set parentProject(value:IProject):void
referenceDocuments | proprietà |
referenceDocuments:IList
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
Defines the reference documents associated with a workItem.
Implementazione
public function get referenceDocuments():IList
public function set referenceDocuments(value:IList):void
reviewContextList | proprietà |
reviewContextList:IList
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Implementazione
public function get reviewContextList():IList
Elementi API correlati
reviewTemplate | proprietà |
reviewTemplate:com.adobe.solutions.rca.domain:IReviewTemplate
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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
.
Implementazione
public function get reviewTemplate():com.adobe.solutions.rca.domain:IReviewTemplate
public function set reviewTemplate(value:com.adobe.solutions.rca.domain:IReviewTemplate):void
Elementi API correlati
rootProject | proprietà |
rootProject:IProject
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
Defines the root project. This method is used internally and should not be used by a client.
Implementazione
public function get rootProject():IProject
public function set rootProject(value:IProject):void
showChildren | proprietà |
showChildren:Boolean
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
A Boolean flag to determine if the children need to be displayed.
Implementazione
public function get showChildren():Boolean
public function set showChildren(value:Boolean):void
showParent | proprietà |
showParent:Boolean
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
A Boolean flag to determine if the parent needs to be displayed.
Implementazione
public function get showParent():Boolean
public function set showParent(value:Boolean):void
startDate | proprietà |
startDate:Date
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Implementazione
public function get startDate():Date
public function set startDate(value:Date):void
state | proprietà |
status | proprietà |
statusReasonCode | proprietà |
statusReasonCode:String
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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
Implementazione
public function get statusReasonCode():String
public function set statusReasonCode(value:String):void
Elementi API correlati
tags | proprietà |
tags:IList
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
Defines the list of tags that can be associated with an entity.
Implementazione
public function get tags():IList
public function set tags(value:IList):void
templateName | proprietà |
templateName:String
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Implementazione
public function get templateName():String
public function set templateName(value:String):void
type | proprietà |
type:String
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Implementazione
public function get type():String
public function set type(value:String):void
uniqueMemberList | proprietà |
uniqueMemberList:IList
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
The property returns a collection of unique members.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento memberListChanged
.
Implementazione
public function get uniqueMemberList():IList
vo | proprietà |
vo:WorkItemVO
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
This property refers to an instance of a workItem value object.
Implementazione
public function get vo():WorkItemVO
public function set vo(value:WorkItemVO):void
Elementi API correlati
workflowDisposition | proprietà |
workflowDisposition:String
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Implementazione
public function get workflowDisposition():String
public function set workflowDisposition(value:String):void
WorkItem | () | Funzione di costruzione |
public function WorkItem(value:WorkItemVO, parentProject:IProject, rootProject:IProject)
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10.0 |
Versioni runtime: | 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 | () | metodo |
public function activate():mx.rpc:AsyncToken
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
This remote operation activates the current workitem.
Restituiscemx.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 | () | metodo |
public function addDocumentAndSave(doc:ISupportingDocument):mx.rpc:AsyncToken
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
This remote operation adds a document from the collection and submits the change on the server.
Parametri
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 | () | metodo |
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).
Parametri
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 | () | metodo |
public function addMemberAndSave(member:IMember):mx.rpc:AsyncToken
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
This remote operation adds a member to the collection and submits the change to the server.
Parametri
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 | () | metodo |
public function addReferenceDocument(doc:ISupportingDocument):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Parametri
doc:ISupportingDocument — A reference document to be added.
|
addTeamMember | () | metodo |
public function addTeamMember(teamMember:com.adobe.solutions.prm.domain:ITeamMember):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Parametri
teamMember:com.adobe.solutions.prm.domain:ITeamMember — Team Member to be added.
|
dispatchEvent | () | metodo |
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.
Parametri
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 | () | metodo |
public function getMemberTitle(member:IMember):String
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
This method returns the title of the member, if any title is assigned to the user.
Parametri
member:IMember — Member instance whose title is required.
|
String — It returns the title of the member.
|
hasChildren | () | metodo |
public function hasChildren():Boolean
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
A Boolean function to determine if the item has displayable children.
RestituisceBoolean — It returns a True value if there are displayable children.
|
hasEventListener | () | metodo |
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.
Parametri
type:String — The type of event.
|
Boolean — A value of true if a listener of the specified type is registered; false otherwise.
|
remove | () | metodo |
public function remove():mx.rpc:AsyncToken
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
This remote operation removes itself from its parent project and updates the change on a server.
Restituiscemx.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 | () | metodo |
public function removeDocumentAndSave(doc:ISupportingDocument):mx.rpc:AsyncToken
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
This remote operation removes a document from the collection and submits the change on the server.
Parametri
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 | () | metodo |
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.
Parametri
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 | () | metodo |
public function removeMemberAndSave(member:IMember):mx.rpc:AsyncToken
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
This remote operation removes a member from the collection and submits the change to the server.
Parametri
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 | () | metodo |
public function removeMemberAt(index:int):com.adobe.solutions.prm.domain:ITeamMember
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Parametri
index:int — Index of the member to be removed.
|
com.adobe.solutions.prm.domain:ITeamMember — It returns a reference to the removed member.
|
removeReferenceDocumentAt | () | metodo |
public function removeReferenceDocumentAt(index:int):ISupportingDocument
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Parametri
index:int — Index of the document to be removed.
|
ISupportingDocument — It returns a reference to the removed document.
|
restartSchedule | () | metodo |
public function restartSchedule(file:File, stageNumber:int):mx.rpc:AsyncToken
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Parametri
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 | () | metodo |
public function save():mx.rpc:AsyncToken
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Restituiscemx.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 | () | metodo |
public function terminate():mx.rpc:AsyncToken
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Restituiscemx.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 | () | metodo |
public function updateTitleAndSave(member:IMember, title:String):mx.rpc:AsyncToken
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10 |
Versioni runtime: | 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.
Parametri
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 | () | metodo |
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.
Parametri
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, 02:44 PM Z