包 | lc.procmgmt.commands |
类 | public class DeleteAttachmentCommand |
继承 | DeleteAttachmentCommand AttachmentCommand Object |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
DeleteAttachmentCommand
class removes the specified attachment
from a task. The attachment is referenced by a TaskAttachmentInfo
object.
相关 API 元素
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
DeleteAttachmentCommand(taskAttachmentInfo:lc.procmgmt.domain:TaskAttachmentInfo)
Constructor. | DeleteAttachmentCommand | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | AttachmentCommand | ||
Dispatches an event into the event flow. | AttachmentCommand | ||
[覆盖]
Deletes the attachment from the task. | DeleteAttachmentCommand | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | AttachmentCommand | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
Removes a listener from the EventDispatcher object. | AttachmentCommand | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | AttachmentCommand |
公共常量
常量 | 由以下参数定义 | ||
---|---|---|---|
NAME : String = "DeleteAttachmentCommand" [静态]
The name of the command. | DeleteAttachmentCommand |
构造函数详细信息
DeleteAttachmentCommand | () | 构造函数 |
public function DeleteAttachmentCommand(taskAttachmentInfo:lc.procmgmt.domain:TaskAttachmentInfo)
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructor.
Information in the passed TaskAttachmentInfo
object is used to
determine the command's enabled
property.
taskAttachmentInfo:lc.procmgmt.domain:TaskAttachmentInfo — Specifies the TaskAttachmentInfo object that contains the
task and attachment information.
|
方法详细信息
execute | () | 方法 |
override public function execute():lc.foundation.util:Token
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Deletes the attachment from the task. The task is stored by the TaskAttachmentInfo
object.
lc.foundation.util:Token — A token that allows the caller to be notified when the deletion is complete.
|
常量详细信息
NAME | 常量 |
public static const NAME:String = "DeleteAttachmentCommand"
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The name of the command.
Tue Jun 12 2018, 11:04 AM Z