包 | com.adobe.icc.services.submit |
接口 | public interface ISubmitService extends IEventDispatcher |
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | IEventDispatcher | ||
将事件调度到事件流中。 | IEventDispatcher | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | IEventDispatcher | ||
从 EventDispatcher 对象中删除侦听器。 | IEventDispatcher | ||
submitLetter(letter:Letter, letterData:String, interactive:Boolean = false):com.adobe.icc.token:IAsyncToken
Submits the data for the specified letter. | ISubmitService | ||
submitLetterWithParams(letter:Letter, letterData:String, interactive:Boolean = false, useLatestAssets:Boolean = false, reload:Boolean = false, serviceName:String = null, params:Object = null):com.adobe.icc.token:IAsyncToken
Submits the data for the specified letter. | ISubmitService | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | IEventDispatcher |
方法详细信息
submitLetter | () | 方法 |
public function submitLetter(letter:Letter, letterData:String, interactive:Boolean = false):com.adobe.icc.token:IAsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 9.5 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Submits the data for the specified letter.
参数
letter:Letter — The letter being submitted.
| |
letterData:String — The XML data for the letter (ICC Data). This string is expected to be non-encoded XML and cannot be null/empty.
| |
interactive:Boolean (default = false ) — True if the rendered letter should be an interactive PDF, false if it should be a flattened PDF.
|
com.adobe.icc.token:IAsyncToken — ResultEvent.result is a dynamic Object containing the following properties:
|
引发
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
submitLetterWithParams | () | 方法 |
public function submitLetterWithParams(letter:Letter, letterData:String, interactive:Boolean = false, useLatestAssets:Boolean = false, reload:Boolean = false, serviceName:String = null, params:Object = null):com.adobe.icc.token:IAsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Asset Composer Building Block 10 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Submits the data for the specified letter.
参数
letter:Letter — The letter to submit.
| |
letterData:String — The XML data for the letter. That is, Correspondence Management data. This string is expected to be non-encoded XML and cannot be null or empty.
| |
interactive:Boolean (default = false ) — True if the rendered letter should be an interactive PDF, false if it should be a flattened PDF.
| |
useLatestAssets:Boolean (default = false ) — True if the rendered letter should use the latest assets when generating the final Letter.
| |
reload:Boolean (default = false ) — True if we are reloading a Letter.
| |
serviceName:String (default = null ) — Name of the custom service(PostProcess) To be invoked on the server.
| |
params:Object (default = null ) — additional arguments to be posted to the server.
|
com.adobe.icc.token:IAsyncToken — ResultEvent.result is a dynamic Object that contains the following properties:
|
引发
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Tue Jun 12 2018, 11:04 AM Z