Пакет | com.adobe.icc.services.category |
Интерфейс | public interface ICategoryService extends IEventDispatcher |
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Composer Building Block 9.5 |
Версии среды выполнения: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Общедоступные методы
Метод | Определено | ||
---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Регистрирует объект прослушивателя события на объекте EventDispatcher для получения прослушивателем уведомления о событии. | IEventDispatcher | |
Determines if a category with the specified name and type exists. | ICategoryService | ||
Create a new category. | ICategoryService | ||
Deletes a category. | ICategoryService | ||
![]() |
Посылает событие в поток событий. | IEventDispatcher | |
Lists available categories. | ICategoryService | ||
Retrieves a category given its GUID. | ICategoryService | ||
![]() |
Проверяет, имеет ли объект EventDispatcher прослушиватели, зарегистрированные для определенного типа события. | IEventDispatcher | |
![]() |
Удаляет прослушиватель из объекта EventDispatcher. | IEventDispatcher | |
updateCategory(currentName:String, currentType:uint, newName:String, newType:uint):com.adobe.icc.token:IAsyncToken
Update the category specified by the given name and type, to the new name and type. | ICategoryService | ||
![]() |
Проверяет, зарегистрирован ли прослушиватель события для указанного типа события с данным объектом EventDispatcher или любым его предшественником. | IEventDispatcher |
Сведения о методе
categoryExists | () | метод |
public function categoryExists(name:String, type:uint):com.adobe.icc.token:IAsyncToken
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Composer Building Block 9.5 |
Версии среды выполнения: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Determines if a category with the specified name and type exists.
Параметры
name:String — The name of the category sought.
| |
type:uint — The type of the category sought (from CategoryType constants).
|
com.adobe.icc.token:IAsyncToken — Boolean : True if the category 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.
|
Связанные элементы API
createCategory | () | метод |
public function createCategory(name:String, type:uint):com.adobe.icc.token:IAsyncToken
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Composer Building Block 9.5 |
Версии среды выполнения: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Create a new category.
Параметры
name:String — New category name.
| |
type:uint — New category type (from CategoryType constants).
|
com.adobe.icc.token:IAsyncToken — The new Category object.
|
Выдает
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Связанные элементы API
deleteCategory | () | метод |
public function deleteCategory(categoryId:String):com.adobe.icc.token:IAsyncToken
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Composer Building Block 10 |
Версии среды выполнения: | AIR (unsupported), Flash Player 10.2 |
Deletes a category.
Параметры
categoryId:String — The ID (GUID) of the category to delete.
|
com.adobe.icc.token:IAsyncToken —
|
Выдает
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
getAllCategories | () | метод |
public function getAllCategories(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 |
Lists available categories.
Параметры
query:Query (default = null ) — A query that specifies the statements used to filter search results. Leave null to retrieve all categories.
|
com.adobe.icc.token:IAsyncToken — An ArrayCollection of Category objects that match the query.
|
Выдает
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Связанные элементы API
getCategory | () | метод |
public function getCategory(categoryId: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 category given its GUID.
Параметры
categoryId:String — The ID (GUID) of the category to retrieve.
|
com.adobe.icc.token:IAsyncToken — The Category object retrieved.
|
Выдает
Error — If the category ID is invalid.
|
Связанные элементы API
updateCategory | () | метод |
public function updateCategory(currentName:String, currentType:uint, newName:String, newType:uint):com.adobe.icc.token:IAsyncToken
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Composer Building Block 9.5 |
Версии среды выполнения: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Update the category specified by the given name and type, to the new name and type.
Параметры
currentName:String — The name of the existing category.
| |
currentType:uint — The type of the existing category (from CategoryType constants).
| |
newName:String — The new name for the category.
| |
newType:uint — The type for the category (from CategoryType constants).
|
com.adobe.icc.token:IAsyncToken — The updated Category object.
|
Выдает
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Связанные элементы API
Tue Jun 12 2018, 11:34 AM Z