ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
lc.procmgmt 

TaskConstants  - AS3 ADEP Workspace

Packagelc.procmgmt
Classpublic class TaskConstants
InheritanceTaskConstants Inheritance Object

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

The TaskConstants class holds constants for the Task class status and priority properties. It also provides static helper methods to convert these numeric constants into localized strings.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined By
  
[static] Returns a localized string corresponding to the priority of the task.
TaskConstants
  
[static] Returns a localized string corresponding to the status of the task.
TaskConstants
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  PRIORITY_HIGH : int = 2
[static] A special value that specifies the task priority is high.
TaskConstants
  PRIORITY_HIGHEST : int = 1
[static] A special value that specifies the highest task priority.
TaskConstants
  PRIORITY_LOW : int = 4
[static] A special value that specifies the task priority is low.
TaskConstants
  PRIORITY_LOWEST : int = 5
[static] A special value that specifies the lowest task priority.
TaskConstants
  PRIORITY_NORMAL : int = 3
[static] A special value that specifies the task priority is normal.
TaskConstants
  TASK_CLASS_MULTI_USER : String = "Multi"
[static] The value that specifies the task is from an Approval Service.
TaskConstants
  TASK_CLASS_STANDARD : String = "Standard"
[static] The value that specifies the task is from an User 2.0 service.
TaskConstants
  TASK_CLASS_STANDARD_LC8 : String = "Standard_LC8"
[static] The value that specifies the task is from an User 1.0 service.
TaskConstants
  TASK_STATUS_ASSIGNED : int = 3
[static] A special value that specifies the task has been assigned.
TaskConstants
  TASK_STATUS_ASSIGNED_SAVED : int = 4
[static] A special value that specifies the task has been assigned and saved.
TaskConstants
  TASK_STATUS_COMPLETED : int = 100
[static] A special value that specifies the task has been completed.
TaskConstants
  TASK_STATUS_CREATED : int = 1
[static] A special value that specifies the task has been created.
TaskConstants
  TASK_STATUS_CREATED_SAVED : int = 2
[static] A special value that specifies the task has been created and saved.
TaskConstants
  TASK_STATUS_DEADLINED : int = 101
[static] A special value that specifies the task has deadlined.
TaskConstants
  TASK_STATUS_TERMINATED : int = 102
[static] A special value that specifies the task has been terminated.
TaskConstants
Method Detail

getPriority

()method
public static function getPriority(task:lc.procmgmt.domain:Task):String

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Returns a localized string corresponding to the priority of the task.

Parameters

task:lc.procmgmt.domain:Task — Specifies the task for which to retrieve the priority.

Returns
String — A localized string corresponding to the priority of the task.

getStatusString

()method 
public static function getStatusString(task:lc.procmgmt.domain:Task):String

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Returns a localized string corresponding to the status of the task.

Parameters

task:lc.procmgmt.domain:Task — Specifies the task for which to retrieve the status.

Returns
String — A localized string corresponding to the status of the task.
Constant Detail

PRIORITY_HIGH

Constant
public static const PRIORITY_HIGH:int = 2

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

A special value that specifies the task priority is high.

PRIORITY_HIGHEST

Constant 
public static const PRIORITY_HIGHEST:int = 1

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

A special value that specifies the highest task priority.

PRIORITY_LOW

Constant 
public static const PRIORITY_LOW:int = 4

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

A special value that specifies the task priority is low.

PRIORITY_LOWEST

Constant 
public static const PRIORITY_LOWEST:int = 5

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

A special value that specifies the lowest task priority.

PRIORITY_NORMAL

Constant 
public static const PRIORITY_NORMAL:int = 3

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

A special value that specifies the task priority is normal.

TASK_CLASS_MULTI_USER

Constant 
public static const TASK_CLASS_MULTI_USER:String = "Multi"

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

The value that specifies the task is from an Approval Service.

TASK_CLASS_STANDARD

Constant 
public static const TASK_CLASS_STANDARD:String = "Standard"

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

The value that specifies the task is from an User 2.0 service.

TASK_CLASS_STANDARD_LC8

Constant 
public static const TASK_CLASS_STANDARD_LC8:String = "Standard_LC8"

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

The value that specifies the task is from an User 1.0 service.

TASK_STATUS_ASSIGNED

Constant 
public static const TASK_STATUS_ASSIGNED:int = 3

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

A special value that specifies the task has been assigned.

TASK_STATUS_ASSIGNED_SAVED

Constant 
public static const TASK_STATUS_ASSIGNED_SAVED:int = 4

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

A special value that specifies the task has been assigned and saved.

TASK_STATUS_COMPLETED

Constant 
public static const TASK_STATUS_COMPLETED:int = 100

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

A special value that specifies the task has been completed.

TASK_STATUS_CREATED

Constant 
public static const TASK_STATUS_CREATED:int = 1

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

A special value that specifies the task has been created.

TASK_STATUS_CREATED_SAVED

Constant 
public static const TASK_STATUS_CREATED_SAVED:int = 2

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

A special value that specifies the task has been created and saved.

TASK_STATUS_DEADLINED

Constant 
public static const TASK_STATUS_DEADLINED:int = 101

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

A special value that specifies the task has deadlined.

TASK_STATUS_TERMINATED

Constant 
public static const TASK_STATUS_TERMINATED:int = 102

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

A special value that specifies the task has been terminated.