套件 | com.adobe.icc.services.letter |
介面 | public interface ILetterService extends IEventDispatcher |
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
方法 | 定義自 | ||
---|---|---|---|
Activates a letter template
| ILetterService | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | IEventDispatcher | ||
Creates a copy of an existing letter. | ILetterService | ||
Allows creating a new Letter template entry. | ILetterService | ||
Allows creating a test version of a letter template entry. | ILetterService | ||
Allows deleting of a letter. | ILetterService | ||
會將事件傳送到事件流程。 | IEventDispatcher | ||
Method description: Returns a list of available letter templates. | ILetterService | ||
Retrieves a letter given its unique identifier. | ILetterService | ||
Retrieves a letter given its unique identifier and date on which the letter was published. | ILetterService | ||
getUsedDataModules(letterId:String, fetchIndirectReferences:Boolean = false):com.adobe.icc.token:IAsyncToken
Retrieve the list of modules that is used by the Letter identified by the given letterId. | ILetterService | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | IEventDispatcher | ||
Determines if the specified letter exists. | ILetterService | ||
Mark as ready to publish the Letter identified by the given letterID. | ILetterService | ||
Publish the Letter identified by the given letterID. | ILetterService | ||
會從 EventDispatcher 物件移除偵聽程式。 | IEventDispatcher | ||
Reverts the letter to the last published version. | ILetterService | ||
Allows modifying a letter template entry which has a state test. | ILetterService | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | IEventDispatcher |
activateLetter | () | 方法 |
public function activateLetter(letterID:String, updateDependencies:Boolean = false):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Activates a letter template
參數
letterID:String — The ID (GUID) of the letter to activate
| |
updateDependencies:Boolean (default = false ) — Whether to replace/use this new activated version in the dependencies
|
com.adobe.icc.token:IAsyncToken — the updated Letter
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
copyLetter | () | 方法 |
public function copyLetter(oldLetterID:String, newLetter:Letter):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Creates a copy of an existing letter.
參數
oldLetterID:String — Identifier if the letter to be copied
| |
newLetter:Letter — may optionally specify a new test data file
|
com.adobe.icc.token:IAsyncToken — New letter object (the copy).
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
createLetter | () | 方法 |
public function createLetter(letter:Letter):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Allows creating a new Letter template entry.
參數
letter:Letter — Letter object to be created
|
com.adobe.icc.token:IAsyncToken — The new Letter object on success
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
createTestLetter | () | 方法 |
public function createTestLetter(letterID:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Allows creating a test version of a letter template entry.
參數
letterID:String — The ID (GUID) of an existing Letter to duplicate as a test version
|
com.adobe.icc.token:IAsyncToken — The new Letter object
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
deleteLetter | () | 方法 |
public function deleteLetter(letterId:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Allows deleting of a letter.
參數
letterId:String — The ID (GUID) of the letter to delete
|
com.adobe.icc.token:IAsyncToken — Return without any value if delete was successful
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
getAllLetters | () | 方法 |
public function getAllLetters(query:Query = null):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Method description: Returns a list of available letter templates.
參數
query:Query (default = null ) — Query specifying the statements for filtering search results.
|
com.adobe.icc.token:IAsyncToken — ArrayCollection containing the letter records as Letter objects
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
getLetter | () | 方法 |
public function getLetter(letterId:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Retrieves a letter given its unique identifier.
參數
letterId:String — The unique identifier of the letter to retrieve (i.e. it's GUID).
|
com.adobe.icc.token:IAsyncToken — The result event's result data will be a Letter object for the specified letter, if the ID was valid.
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
getLetterByVersion | () | 方法 |
public function getLetterByVersion(letterId:String, date:Date):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Retrieves a letter given its unique identifier and date on which the letter was published.
參數
letterId:String — The unique identifier of the letter to retrieve (i.e. it's GUID).
| |
date:Date — The date on which the letter was published
|
com.adobe.icc.token:IAsyncToken — The result event's result data will be a Letter object for the specified letter, if the ID was valid.
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
getUsedDataModules | () | 方法 |
public function getUsedDataModules(letterId:String, fetchIndirectReferences:Boolean = false):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Retrieve the list of modules that is used by the Letter identified by the given letterId
.
參數
letterId:String — ID (GUID) of the Letter, for which the used modules are to be fetched.
| |
fetchIndirectReferences:Boolean (default = false ) — True, if you wish to fetch the modules that are directly or indirectly used by this Letter.
For example, if a Text T1 is used in a List L1, and List L1 is used in Letter L1, the List would contain
(T1 and L1), for the Letter L1. If false, the List would contain only L1.
|
com.adobe.icc.token:IAsyncToken — List of modules that is used by the given Letter.
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
letterExists | () | 方法 |
public function letterExists(name:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Determines if the specified letter exists.
參數
name:String — Version-independent name of the letter.
|
com.adobe.icc.token:IAsyncToken — Boolean which is true if the letter exists; false if not.
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
markReadyToPublish | () | 方法 |
public function markReadyToPublish(letterId:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Mark as ready to publish the Letter identified by the given letterID
.
參數
letterId:String — ID of the Letter
|
com.adobe.icc.token:IAsyncToken — Letter object marked for publishing
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
publishLetter | () | 方法 |
public function publishLetter(letterId:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Publish the Letter identified by the given letterID
.
參數
letterId:String — ID of the Letter
|
com.adobe.icc.token:IAsyncToken — published Letter object
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
revertToLastPublish | () | 方法 |
public function revertToLastPublish(fragmentLayoutId:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Reverts the letter to the last published version. If letter is not published, it is removed from repository.
參數
fragmentLayoutId:String — ID of the Letter
|
com.adobe.icc.token:IAsyncToken — Reverted letter object
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
updateLetter | () | 方法 |
public function updateLetter(letter:Letter):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Allows modifying a letter template entry which has a state test.
參數
letter:Letter — Letter object to be updated
|
com.adobe.icc.token:IAsyncToken — Updated letter object.
|
擲回值
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