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