套件 | 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, 03:47 PM Z