com.adobe.solutions.prm.constant

# ProjectState - AS3 Project Management

Package | com.adobe.solutions.prm.constant
Class | public class ProjectState
Inheritance | ProjectState Object
Subclasses | LocalizedProjectState

Language Version: | ActionScript 3.0

Product Version: | Project Management Building Block 10.0

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

This class defines the default states of project and WorkItem. Project or workitem moves from lower order state to higher order state only exception to this is that a terminated or completed (higher order) project can move back to in progress state (lower order), if a new child project or workitem is added to it.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | constructor : Object A reference to the class object or constructor function for a given object instance. | Object

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | ProjectState() The constructor of ProjectState class. | ProjectState
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():Object Returns the primitive value of the specified object. | Object

Public Constants

| Constant | Defined By
--- | --- | ---
|  | COMPLETED : String = "COMPLETED" [static] A project or workitem moves to IN_progress state when it starts, as scheduled or as activated manually. | ProjectState
|  | INACTIVE : String = "INACTIVE" [static] The initial state for a project or workitem is Inactive. | ProjectState
|  | IN_PROGRESS : String = "IN_PROGRESS" [static] A project or workitem move to the Pending state before it starts. | ProjectState
|  | PENDING : String = "PENDING" [static] Pending state indicates a termination of a project or a workitem by the user. | ProjectState
|  | TERMINATED : String = "TERMINATED" [static] A project and a WorkItem move to a Completed state when all the children are in a Completed state and when the associated workflow has ended, respectively. | ProjectState
|  | TYPES : Array [static] An array of all the states of a project or a workitem. | ProjectState

Constructor Detail

### ProjectState

()
Constructor

`public function ProjectState()`

Language Version: | ActionScript 3.0

Product Version: | Project Management Building Block 10.0

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

The constructor of `ProjectState` class.

Constant Detail

### COMPLETED

Constant

`public static const COMPLETED:String = "COMPLETED"`

Language Version: | ActionScript 3.0

Product Version: | Project Management Building Block 10.0

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

A project or workitem moves to `IN_progress` state when it starts, as scheduled or as activated manually.

### IN_PROGRESS

Constant

`public static const IN_PROGRESS:String = "IN_PROGRESS"`

Language Version: | ActionScript 3.0

Product Version: | Project Management Building Block 10.0

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

A project or workitem move to the `Pending` state before it starts.

### INACTIVE

Constant

`public static const INACTIVE:String = "INACTIVE"`

Language Version: | ActionScript 3.0

Product Version: | Project Management Building Block 10.0

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

The initial state for a project or workitem is `Inactive`.

### PENDING

Constant

`public static const PENDING:String = "PENDING"`

Language Version: | ActionScript 3.0

Product Version: | Project Management Building Block 10.0

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

`Pending` state indicates a termination of a project or a workitem by the user.

### TERMINATED

Constant

`public static const TERMINATED:String = "TERMINATED"`

Language Version: | ActionScript 3.0

Product Version: | Project Management Building Block 10.0

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

A project and a WorkItem move to a `Completed` state when all the children are in a `Completed` state and when the associated workflow has ended, respectively.

### TYPES

Constant

`public static const TYPES:Array`

Language Version: | ActionScript 3.0

Product Version: | Project Management Building Block 10.0

Runtime Versions: | Flash Player 10.2, AIR (unsupported)

An array of all the states of a project or a workitem.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00