Packagelc
Classpublic class QueueConstants
InheritanceQueueConstants Inheritance Object

The QueueConstants class holds constants for the Queue class type and filter 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 passed queue type.
QueueConstants
 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
  DRAFTS : Number = -1
[static] A special value that identifies the queue as being the drafts container for the user.
QueueConstants
  FILTER_TODO : int = 1
[static] A special value that sets the task collection filter for this queue to only contain tasks for this queue that are not start tasks.
QueueConstants
  FILTER_TODO_DRAFTS : int = 2
[static] A special value that sets the task collection filter for this queue to only contain tasks for this user that are not start tasks and have a status of assigned_saved.
QueueConstants
  GROUP : Number = 2
[static] A special value that identifies the queue as one where the user is a member of the group.
QueueConstants
  OTHER_SHARED : Number = 3
[static] A special value that identifies the 'pseudo-queue' that contains all tasks from other user queues that have been explicity shared.
QueueConstants
  OWNER : Number = 0
[static] A special value that identifies the queue as one being owned by the user.
QueueConstants
  USER : Number = 1
[static] A special value that identifies the queue as one being owned by another user.
QueueConstants
Method Detail
getQueueType()method
public static function getQueueType(value:Number):String

Returns a localized string corresponding to the passed queue type.

Parameters

value:Number — Specifies the queue type. It must a value of one of the following constants: OWNER, USER, or GROUP.

Returns
String — A localized string corresponding to the passed value.
Constant Detail
DRAFTSConstant
public static const DRAFTS:Number = -1

A special value that identifies the queue as being the drafts container for the user.

FILTER_TODOConstant 
public static const FILTER_TODO:int = 1

A special value that sets the task collection filter for this queue to only contain tasks for this queue that are not start tasks.

FILTER_TODO_DRAFTSConstant 
public static const FILTER_TODO_DRAFTS:int = 2

A special value that sets the task collection filter for this queue to only contain tasks for this user that are not start tasks and have a status of assigned_saved.

GROUPConstant 
public static const GROUP:Number = 2

A special value that identifies the queue as one where the user is a member of the group. A group queue is shared among many other users.

OTHER_SHAREDConstant 
public static const OTHER_SHARED:Number = 3

A special value that identifies the 'pseudo-queue' that contains all tasks from other user queues that have been explicity shared. In this case, the other user queues have not been shared with the current user.

OWNERConstant 
public static const OWNER:Number = 0

A special value that identifies the queue as one being owned by the user. The user's default queue is an example of this type of queue, and normally the only one of this type.

USERConstant 
public static const USER:Number = 1

A special value that identifies the queue as one being owned by another user. The queue would have been shared by another user.





 

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/QueueConstants.html