套件 | com.adobe.icc.services.layout |
介面 | public interface ILayoutService extends IEventDispatcher |
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
方法 | 定義自 | ||
---|---|---|---|
Activates a form template
| ILayoutService | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | IEventDispatcher | ||
Creates a copy of an existing form. | ILayoutService | ||
Creates a new form template record
| ILayoutService | ||
For creating a test version of a form template. | ILayoutService | ||
Allows deleting of a form. | ILayoutService | ||
會將事件傳送到事件流程。 | IEventDispatcher | ||
Determines if the specified form exists. | ILayoutService | ||
Returns a list of available form templates. | ILayoutService | ||
Retrieves a list of letters that are dependent on the specified form (i.e. | ILayoutService | ||
Retrieves a form given its unique identifier. | ILayoutService | ||
Retrieves a form given its unique identifier and date on which the form was published. | ILayoutService | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | IEventDispatcher | ||
Mark as ready to publish the Layout identified by the given formID. | ILayoutService | ||
Publish the Layout identified by the given formID. | ILayoutService | ||
會從 EventDispatcher 物件移除偵聽程式。 | IEventDispatcher | ||
Revert the Layout identified by the given formID. | ILayoutService | ||
Allows updating a form template with state test
| ILayoutService | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | IEventDispatcher |
activateForm | () | 方法 |
public function activateForm(formId:String, updateDependencies:Boolean = false):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Activates a form template
參數
formId:String — The ID (GUID) of the form to activate
| |
updateDependencies:Boolean (default = false ) — Whether to replace/use this new activated version in the dependencies
|
com.adobe.icc.token:IAsyncToken — the updated Form
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
copyForm | () | 方法 |
public function copyForm(oldFormID:String, newForm:Form):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Creates a copy of an existing form.
參數
oldFormID:String — Identifier of the Form to be copied
| |
newForm:Form — may optionally specify a new test data file but original XDP form cannot be altered
|
com.adobe.icc.token:IAsyncToken — New form 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.
|
createForm | () | 方法 |
public function createForm(form:Form):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Creates a new form template record
參數
form:Form — New form object
|
com.adobe.icc.token:IAsyncToken — The new Form object
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
createTestForm | () | 方法 |
public function createTestForm(formID:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
For creating a test version of a form template.
參數
formID:String — The ID (GUID) of an existing Form to duplicate as a test version
|
com.adobe.icc.token:IAsyncToken — The new Form object
|
擲回值
Error | |
Error | |
Error | |
Error |
deleteForm | () | 方法 |
public function deleteForm(formId:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Allows deleting of a form. If the form referenced by formId has the state test it is physically deleted otherwise if the state is active it is being set to state archive.
參數
formId:String — The ID (GUID) of the form 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.
|
formExists | () | 方法 |
public function formExists(name:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Determines if the specified form exists.
參數
name:String — Version-independent name of the form.
|
com.adobe.icc.token:IAsyncToken — Boolean which is true if the form 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.
|
getAllForms | () | 方法 |
public function getAllForms(query:Query = null):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Returns a list of available form templates.
參數
query:Query (default = null ) — Query specifying the statements for filtering search results.
|
com.adobe.icc.token:IAsyncToken — An ArrayCollection containing Form objects
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
getDependentLetters | () | 方法 |
public function getDependentLetters(formId:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves a list of letters that are dependent on the specified form (i.e. that use the specified form as their layout).
參數
formId:String — The unique identifer of the form whose dependent letters are sought.
|
com.adobe.icc.token:IAsyncToken — ArrayCollection of Letter objects that are dependent on the specified form.
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
getForm | () | 方法 |
public function getForm(formId:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves a form given its unique identifier.
參數
formId:String — The unique identifier of the form to retrieve (i.e. it's GUID).
|
com.adobe.icc.token:IAsyncToken — The result event's result data will be a Form object for the specified form, 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.
|
getFormByVersion | () | 方法 |
public function getFormByVersion(formId:String, date:Date):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Retrieves a form given its unique identifier and date on which the form was published.
參數
formId:String — The unique identifier of the form 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 Form object for the specified form, 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.
|
markReadyToPublish | () | 方法 |
public function markReadyToPublish(formId: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 Layout identified by the given formID
.
參數
formId:String — Id of the Form
|
com.adobe.icc.token:IAsyncToken — Form object marked for publish
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
publishForm | () | 方法 |
public function publishForm(formId:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Publish the Layout identified by the given formID
.
參數
formId:String — Id of the Form
|
com.adobe.icc.token:IAsyncToken — Published Form 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(formId:String):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 10 |
執行階段版本: | AIR (unsupported), Flash Player 10.2 |
Revert the Layout identified by the given formID
.
參數
formId:String — Id of the Form
|
com.adobe.icc.token:IAsyncToken — Reverted Form object
|
擲回值
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
updateForm | () | 方法 |
public function updateForm(form:Form):com.adobe.icc.token:IAsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Asset Composer Building Block 9.5 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Allows updating a form template with state test
參數
form:Form — Updated form object
|
com.adobe.icc.token:IAsyncToken — Updated form 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