Packagelc
Classpublic class TaskConstants
InheritanceTaskConstants Inheritance Object

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
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
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 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_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:Task):String

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

Parameters

task: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:Task):String

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

Parameters

task: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_HIGHConstant
public static const PRIORITY_HIGH:int = 2

A special value that specifies the task priority is high.

PRIORITY_HIGHESTConstant 
public static const PRIORITY_HIGHEST:int = 1

A special value that specifies the highest task priority.

PRIORITY_LOWConstant 
public static const PRIORITY_LOW:int = 4

A special value that specifies the task priority is low.

PRIORITY_LOWESTConstant 
public static const PRIORITY_LOWEST:int = 5

A special value that specifies the lowest task priority.

PRIORITY_NORMALConstant 
public static const PRIORITY_NORMAL:int = 3

A special value that specifies the task priority is normal.

TASK_STATUS_ASSIGNEDConstant 
public static const TASK_STATUS_ASSIGNED:int = 3

A special value that specifies the task has been assigned.

TASK_STATUS_ASSIGNED_SAVEDConstant 
public static const TASK_STATUS_ASSIGNED_SAVED:int = 4

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

TASK_STATUS_COMPLETEDConstant 
public static const TASK_STATUS_COMPLETED:int = 100

A special value that specifies the task has been completed.

TASK_STATUS_CREATEDConstant 
public static const TASK_STATUS_CREATED:int = 1

A special value that specifies the task has been created.

TASK_STATUS_CREATED_SAVEDConstant 
public static const TASK_STATUS_CREATED_SAVED:int = 2

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

TASK_STATUS_DEADLINEDConstant 
public static const TASK_STATUS_DEADLINED:int = 101

A special value that specifies the task has deadlined.

TASK_STATUS_TERMINATEDConstant 
public static const TASK_STATUS_TERMINATED:int = 102

A special value that specifies the task has been terminated.





 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/lc/TaskConstants.html