Packagelc.domain
Classpublic class RejectCommand
InheritanceRejectCommand Inheritance TaskCommand Inheritance Object

The RejectCommand class executes the task's reject operation returning the task to the previous user.

See also

lc.domain.xml#Task/reject()


Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedname : String
[read-only] The name of the command for the task.
TaskCommand
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
 Inheritedtask : Task
The task that is associated with the command.
TaskCommand
Public Methods
 MethodDefined By
  
Constructor.
RejectCommand
  
Executes the task's reject operation.
RejectCommand
 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
  NAME : String = "Reject"
[static] The name of the reject command.
RejectCommand
Constructor Detail
RejectCommand()Constructor
public function RejectCommand(task:Task)

Constructor.

Parameters
task:Task — Specifies the task to be associated with the command.
Method Detail
execute()method
public override function execute():Token

Executes the task's reject operation.

Returns
Token — A token that notifies the caller when execution is complete.

See also

Constant Detail
NAMEConstant
public static const NAME:String = "Reject"

The name of the reject command.





 

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/domain/RejectCommand.html