Пакет | 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:34 AM Z