Справочник по ActionScript® 3.0 для платформы Adobe® Flash®
Домашняя страница  |  Скрыть список пакетов и классов |  Пакеты  |  Классы  |  Что нового  |  Указатель  |  Приложения  |  Почему по-английски?
Фильтры: Получение данных с сервера...
Получение данных с сервера...
com.adobe.icc.services.layout 

ILayoutService  - AS3 Формирователь активов

Пакет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

Defines a service for Layout (a.k.a. Form) management.



Общедоступные методы
 МетодОпределено
  
activateForm(formId:String, updateDependencies:Boolean = false):com.adobe.icc.token:IAsyncToken
Activates a form template
ILayoutService
 Inherited
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
 Inherited
Посылает событие в поток событий.
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
 Inherited
Проверяет, имеет ли объект EventDispatcher прослушиватели, зарегистрированные для определенного типа события.
IEventDispatcher
  
Mark as ready to publish the Layout identified by the given formID.
ILayoutService
  
Publish the Layout identified by the given formID.
ILayoutService
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Удаляет прослушиватель из объекта EventDispatcher.
IEventDispatcher
  
Revert the Layout identified by the given formID.
ILayoutService
  
Allows updating a form template with state test
ILayoutService
 Inherited
Проверяет, зарегистрирован ли прослушиватель события для указанного типа события с данным объектом 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:IAsyncTokenBoolean 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:IAsyncTokenArrayCollection 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.




[ X ]Почему по-английски?
Содержимое Справочника ActionScript 3.0 отображается на английском языке

Не все части Справочника ActionScript 3.0 переводятся на все языки. Если какой-то текстовый элемент не переведен, он отображается на английском языке. Например, компонент ga.controls.HelpBox не переведен ни на один из языков. Это значит, что в русской версии справки компонент ga.controls.HelpBox будет отображаться на английском языке.