(Beta)
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 1.0, 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 1.0, 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 and false if it should be a flattened PDF.
|
com.adobe.icc.token:IAsyncToken — ResultEvent.result is a dynamic Object that contains the redirect property, which is a string. This property is the URL
the user is redirected to, or null if the user is not redirected. Note that it is the caller's responsibility to ensure that the URL is valid.
|
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 1.0, 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.
|
Wed Nov 21 2018, 06:34 AM -08:00