lc.procmgmt.commands

# AbandonCommand - AS3 ADEP Workspace

Package | lc.procmgmt.commands
Class | public class AbandonCommand
Inheritance | AbandonCommand TaskCommand 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 `AbandonCommand` class executes the abandon operation for a task.

Related API Elements

lc.procmgmt.domain.Task.abandon()

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
|  | name : String [read-only] The name of the command for the task. | TaskCommand
|  | task : lc.procmgmt.domain:Task The task that is associated with the command. | TaskCommand

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | AbandonCommand(task:lc.procmgmt.domain:Task) Constructor. | AbandonCommand
|  | execute():lc.foundation.util:Token [override] Executes the task's abandon operation. | AbandonCommand
|  | 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
--- | --- | ---
|  | NAME : String = "Abandon" [static] The name of the abandon command. | AbandonCommand

Constructor Detail

### AbandonCommand

()
Constructor

`public function AbandonCommand(task:lc.procmgmt.domain:Task)`

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

Constructor.

Parameters

| `task:lc.procmgmt.domain:Task` — Specifies the task to be associated with the command.

Method Detail

### execute

()
method

`override public function execute():lc.foundation.util:Token`

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

Executes the task's abandon operation.

Returns

| `lc.foundation.util:Token` — A token that notifies the caller when execution is complete.

Related API Elements

lc.foundation.util.Token
lc.procmgmt.domain.Task.abandon()
Constant Detail

### NAME

Constant

`public static const NAME:String = "Abandon"`

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 name of the abandon command.

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