ActionScript® 3.0 Referenzhandbuch für die Adobe® Flash®-Plattform
Home  |  Liste der Pakete und Klassen ausblenden |  Pakete  |  Klassen  |  Neue Funktionen  |  Stichwortverzeichnis  |  Anhänge  |  Warum auf Englisch?
Filter: Daten werden vom Server abgerufen...
Daten werden vom Server abgerufen...
com.adobe.solutions.prm.domain 

IWorkItem  - AS3 Project Management

Paketcom.adobe.solutions.prm.domain
Schnittstellepublic interface IWorkItem extends IGanttDataItem , IMemberCollection , IDocumentCollection
Umsetzer WorkItem

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: Flash Player 10.2, AIR (unsupported)

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

Verwandte API-Elemente



Öffentliche Eigenschaften
 EigenschaftDefiniert von
 InheritedallMemberList : IList
[schreibgeschützt] The property returns a collection of all members.
IMemberCollection
  asset : IAsset
Defines the asset of WorkItem.
IWorkItem
  attributes : Object
Defines the map of key value pair attributes.
IWorkItem
  context : IReviewContext
[schreibgeschützt] This property returns a reference to the workflow template that will be used by the work item.
IWorkItem
  createdBy : String
Principal name for a user who created an entity.
IWorkItem
  creationDate : Date
Date of creation of an entity.
IWorkItem
  description : String
Description.
IWorkItem
 Inheriteddocuments : ArrayCollection
[schreibgeschützt] The property returns a collection of associated documents.
IDocumentCollection
  editedTemplate : Boolean
Defines the current value of editedTemplate flag.
IWorkItem
  endDate : Date
Defines the end date of a workItem.
IWorkItem
  expectedEndDate : Date
Defines the expected end date for a workItem.
IWorkItem
 InheritedganttItems : ArrayCollection
[schreibgeschützt] A collection of the displayable children that are displayed in the Gantt chart if showChildren flag is set to True.
IGanttDataItem
  id : String
Unique identifier.
IWorkItem
  inheritDocsFromParent : Boolean
Defines the current value of inheritDocsFromParent flag.
IWorkItem
  instanceId : String
Defines the instance ID of the workflow associated with a workItem.
IWorkItem
 InheriteditemEndDate : Date
[schreibgeschützt] End date of the item.
IGanttDataItem
 InheriteditemName : String
[schreibgeschützt] Name of the item.
IGanttDataItem
 InheriteditemStartDate : Date
[schreibgeschützt] Start date of the item.
IGanttDataItem
 InheriteditemState : String
[schreibgeschützt] State of the item.
IGanttDataItem
 InheriteditemStatus : String
[schreibgeschützt] Status of the item.
IGanttDataItem
 InheriteditemType : String
[schreibgeschützt] Type of item.
IGanttDataItem
  lastUpdatedBy : String
Principal name for a user who last updated an entity.
IWorkItem
  lastUpdatedDate : Date
Date when an entity was last updated.
IWorkItem
 InheritedmemberList : IList
[schreibgeschützt] The property returns a collection of directly associated members.
IMemberCollection
  members : IList
Defines a list of members of the project.
IWorkItem
  name : String
Defines the name of the workItem, workItem name is a mandatory attribute should not be null.
IWorkItem
 InheritedoperationList : ArrayCollection
[schreibgeschützt] A collection of operations that are available to a user through the context menu in the Gantt chart.
IGanttDataItem
  owner : IUser
Defines the owner of a workItem.
IWorkItem
  parentProject : IProject
Defines the immediate parent of a workItem in the project hierarchy.
IWorkItem
  referenceDocuments : IList
Defines the reference documents associated with a workItem.
IWorkItem
  reviewContextList : IList
[schreibgeschützt] Defines the list of reviewContext List, If the workitem is has a running instance of review associated with it, then it gives list of review context each corresponding to a different revision of review.
IWorkItem
  reviewTemplate : com.adobe.solutions.rca.domain:IReviewTemplate
Defines the reivewTemplate.
IWorkItem
  rootProject : IProject
Defines the root project.
IWorkItem
 InheritedshowChildren : Boolean
A Boolean flag to determine if the children need to be displayed.
IGanttDataItem
 InheritedshowParent : Boolean
A Boolean flag to determine if the parent needs to be displayed.
IGanttDataItem
  startDate : Date
Defines start date of a workItem.
IWorkItem
  state : String
Defines the state of a WorkItem.
IWorkItem
  status : String
Defines the status of a WorkItem.
IWorkItem
  statusReasonCode : String
Defines the status reason code.
IWorkItem
  tags : IList
Defines the list of tags that can be associated with an entity.
IWorkItem
  templateName : String
Defines the workItem template name.
IWorkItem
  type : String
Defines the type of workItem.
IWorkItem
 InheriteduniqueMemberList : IList
[schreibgeschützt] The property returns a collection of unique members.
IMemberCollection
  vo : WorkItemVO
This property refers to an instance of a workItem value object.
IWorkItem
  workflowDisposition : String
Stores additional status information about the status of workflow associated with a workItem.
IWorkItem
Öffentliche Methoden
 MethodeDefiniert von
  
This remote operation activates the current workitem.
IWorkItem
 Inherited
This remote operation adds a document from the collection and submits the change on the server.
IDocumentCollection
 Inherited
This remote operation adds a member to the collection and submits the change to the server.
IMemberCollection
  
This method adds a reference document to the referenceDocuments collection.
IWorkItem
  
This method adds a team member to the collection of the members.
IWorkItem
  
This method returns the title of the member, if any title is assigned to the user.
IWorkItem
 Inherited
A Boolean function to determine if the item has displayable children.
IGanttDataItem
  
This remote operation removes itself from its parent project and updates the change on a server.
IWorkItem
 Inherited
This remote operation removes a document from the collection and submits the change on the server.
IDocumentCollection
 Inherited
This remote operation removes a member from the collection and submits the change to the server.
IMemberCollection
  
This method removes a team member, at the specified index, from the collections of the members.
IWorkItem
  
This method removes a reference document, at the specified index, from the referenceDocuments collection.
IWorkItem
  
This remote operation restarts the workflow attached to a workitem.
IWorkItem
  
This remote operation saves the current state of a workitem on a server.
IWorkItem
  
This remote operation terminates the current workitem.
IWorkItem
 Inherited
This remote operation updates the tile of a member present in collection and submits the change to the server.
IMemberCollection
Eigenschaftendetails

asset

Eigenschaft
asset:IAsset

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: Flash Player 10.2, AIR (unsupported)

Defines the asset of WorkItem.



Implementierung
    public function get asset():IAsset
    public function set asset(value:IAsset):void

attributes

Eigenschaft 
attributes:Object

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: Flash Player 10.2, AIR (unsupported)

Defines the map of key value pair attributes.



Implementierung
    public function get attributes():Object
    public function set attributes(value:Object):void

context

Eigenschaft 
context:IReviewContext  [schreibgeschützt]

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.



Implementierung
    public function get context():IReviewContext

createdBy

Eigenschaft 
createdBy:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: Flash Player 10.2, AIR (unsupported)

Principal name for a user who created an entity.



Implementierung
    public function get createdBy():String
    public function set createdBy(value:String):void

creationDate

Eigenschaft 
creationDate:Date

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: Flash Player 10.2, AIR (unsupported)

Date of creation of an entity.



Implementierung
    public function get creationDate():Date
    public function set creationDate(value:Date):void

description

Eigenschaft 
description:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: Flash Player 10.2, AIR (unsupported)

Description.



Implementierung
    public function get description():String
    public function set description(value:String):void

editedTemplate

Eigenschaft 
editedTemplate:Boolean

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.



Implementierung
    public function get editedTemplate():Boolean
    public function set editedTemplate(value:Boolean):void

endDate

Eigenschaft 
endDate:Date

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.



Implementierung
    public function get endDate():Date
    public function set endDate(value:Date):void

expectedEndDate

Eigenschaft 
expectedEndDate:Date

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.



Implementierung
    public function get expectedEndDate():Date
    public function set expectedEndDate(value:Date):void

id

Eigenschaft 
id:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: Flash Player 10.2, AIR (unsupported)

Unique identifier.



Implementierung
    public function get id():String
    public function set id(value:String):void

inheritDocsFromParent

Eigenschaft 
inheritDocsFromParent:Boolean

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.



Implementierung
    public function get inheritDocsFromParent():Boolean
    public function set inheritDocsFromParent(value:Boolean):void

instanceId

Eigenschaft 
instanceId:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.



Implementierung
    public function get instanceId():String
    public function set instanceId(value:String):void

lastUpdatedBy

Eigenschaft 
lastUpdatedBy:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: Flash Player 10.2, AIR (unsupported)

Principal name for a user who last updated an entity.



Implementierung
    public function get lastUpdatedBy():String
    public function set lastUpdatedBy(value:String):void

lastUpdatedDate

Eigenschaft 
lastUpdatedDate:Date

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: Flash Player 10.2, AIR (unsupported)

Date when an entity was last updated.



Implementierung
    public function get lastUpdatedDate():Date
    public function set lastUpdatedDate(value:Date):void

members

Eigenschaft 
members:IList

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.



Implementierung
    public function get members():IList
    public function set members(value:IList):void

name

Eigenschaft 
name:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.



Implementierung
    public function get name():String
    public function set name(value:String):void

owner

Eigenschaft 
owner:IUser

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.

Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das ownerUpdated -Ereignis ausgelöst.



Implementierung
    public function get owner():IUser
    public function set owner(value:IUser):void

parentProject

Eigenschaft 
parentProject:IProject

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.



Implementierung
    public function get parentProject():IProject
    public function set parentProject(value:IProject):void

referenceDocuments

Eigenschaft 
referenceDocuments:IList

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: Flash Player 10.2, AIR (unsupported)

Defines the reference documents associated with a workItem.



Implementierung
    public function get referenceDocuments():IList
    public function set referenceDocuments(value:IList):void

reviewContextList

Eigenschaft 
reviewContextList:IList  [schreibgeschützt]

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.



Implementierung
    public function get reviewContextList():IList

Verwandte API-Elemente

reviewTemplate

Eigenschaft 
reviewTemplate:com.adobe.solutions.rca.domain:IReviewTemplate

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.



Implementierung
    public function get reviewTemplate():com.adobe.solutions.rca.domain:IReviewTemplate
    public function set reviewTemplate(value:com.adobe.solutions.rca.domain:IReviewTemplate):void

Verwandte API-Elemente

rootProject

Eigenschaft 
rootProject:IProject

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: Flash Player 10.2, AIR (unsupported)

Defines the root project. This method is used internally and should not be used by a client.



Implementierung
    public function get rootProject():IProject
    public function set rootProject(value:IProject):void

startDate

Eigenschaft 
startDate:Date

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.



Implementierung
    public function get startDate():Date
    public function set startDate(value:Date):void

state

Eigenschaft 
state:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: Flash Player 10.2, AIR (unsupported)

Defines the state of a WorkItem.



Implementierung
    public function get state():String
    public function set state(value:String):void

status

Eigenschaft 
status:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: Flash Player 10.2, AIR (unsupported)

Defines the status of a WorkItem.



Implementierung
    public function get status():String
    public function set status(value:String):void

statusReasonCode

Eigenschaft 
statusReasonCode:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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



Implementierung
    public function get statusReasonCode():String
    public function set statusReasonCode(value:String):void

Verwandte API-Elemente

tags

Eigenschaft 
tags:IList

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: Flash Player 10.2, AIR (unsupported)

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



Implementierung
    public function get tags():IList
    public function set tags(value:IList):void

templateName

Eigenschaft 
templateName:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.



Implementierung
    public function get templateName():String
    public function set templateName(value:String):void

type

Eigenschaft 
type:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.



Implementierung
    public function get type():String
    public function set type(value:String):void

vo

Eigenschaft 
vo:WorkItemVO

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: Flash Player 10.2, AIR (unsupported)

This property refers to an instance of a workItem value object.



Implementierung
    public function get vo():WorkItemVO
    public function set vo(value:WorkItemVO):void

Verwandte API-Elemente

workflowDisposition

Eigenschaft 
workflowDisposition:String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.



Implementierung
    public function get workflowDisposition():String
    public function set workflowDisposition(value:String):void
Methodendetails

activate

()Methode
public function activate():mx.rpc:AsyncToken

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: Flash Player 10.2, AIR (unsupported)

This remote operation activates the current workitem.

Rückgabewerte
mx.rpc:AsyncToken — It returns a token on which success fault handlers can be attached. The resulting event contains the value object of the activated workitem.

addReferenceDocument

()Methode 
public function addReferenceDocument(doc:ISupportingDocument):void

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.

Parameter

doc:ISupportingDocument — A reference document to be added.

addTeamMember

()Methode 
public function addTeamMember(teamMember:com.adobe.solutions.prm.domain:ITeamMember):void

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.

Parameter

teamMember:com.adobe.solutions.prm.domain:ITeamMember — Team Member to be added.

getMemberTitle

()Methode 
public function getMemberTitle(member:IMember):String

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: Flash Player 10.2, AIR (unsupported)

This method returns the title of the member, if any title is assigned to the user.

Parameter

member:IMember — Member instance whose title is required.

Rückgabewerte
String — It returns the title of the member.

Verwandte API-Elemente

remove

()Methode 
public function remove():mx.rpc:AsyncToken

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: Flash Player 10.2, AIR (unsupported)

This remote operation removes itself from its parent project and updates the change on a server.

Rückgabewerte
mx.rpc:AsyncToken — It returns a token on which success fault handlers can be attached. The resulting event contains the value object of the removed workitem.

removeMemberAt

()Methode 
public function removeMemberAt(index:int):com.adobe.solutions.prm.domain:ITeamMember

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.

Parameter

index:int — Index of the member to be removed.

Rückgabewerte
com.adobe.solutions.prm.domain:ITeamMember — It returns a reference to the removed member.

removeReferenceDocumentAt

()Methode 
public function removeReferenceDocumentAt(index:int):ISupportingDocument

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.

Parameter

index:int — Index of the document to be removed.

Rückgabewerte
ISupportingDocument — It returns a reference to the removed document.

restartSchedule

()Methode 
public function restartSchedule(file:File, stageNumber:int):mx.rpc:AsyncToken

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.

Parameter

file:File — New asset to be used in the restarted workflow.
 
stageNumber:int — Stage number from which the schedule should restarted.

Rückgabewerte
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached.

save

()Methode 
public function save():mx.rpc:AsyncToken

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.

Rückgabewerte
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

()Methode 
public function terminate():mx.rpc:AsyncToken

Sprachversion: ActionScript 3.0
Produktversion: Baustein „Project Management“ 10.0
Laufzeitversionen: 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.

Rückgabewerte
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached. The resulting event contains the value object of the terminated workitem.




[ X ]Warum auf Englisch?
Inhalt des ActionScript 3.0-Referenzhandbuchs wird in englischer Sprache angezeigt

Nicht alle Teile des ActionScript 3.0-Referenzhandbuchs wurden in alle Sprachen übersetzt. Wenn der Text zu einem Sprachelement nicht übersetzt wurde, wird er auf Englisch angezeigt. Zum Beispiel wurden die Informationen zur ga.controls.HelpBox-Klasse nicht in andere Sprachen übersetzt. In der deutschen Version des Referenzhandbuchs erscheint der Abschnitt zur ga.controls.HelpBox-Klasse deshalb auf Englisch.