Package | com.adobe.icc.services.submit |
Interface | public interface ISubmitService extends IEventDispatcher |
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Public Methods
Method | Defined By | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | IEventDispatcher | ||
Dispatches an event into the event flow. | IEventDispatcher | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | IEventDispatcher | ||
Removes a listener from the EventDispatcher object. | 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 | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | IEventDispatcher |
Method Detail
submitLetter | () | method |
public function submitLetter(letter:Letter, letterData:String, interactive:Boolean = false):com.adobe.icc.token:IAsyncToken
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Submits the data for the specified letter.
Parameters
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:
|
Throws
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
submitLetterWithParams | () | method |
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
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10 |
Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Submits the data for the specified letter.
Parameters
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:
|
Throws
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Mon Nov 28 2011, 06:48 AM -08:00