Pacote | com.adobe.icc.services.category |
Interface | public interface ICategoryService extends IEventDispatcher |
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 9.5 |
Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Métodos públicos
Método | Definido por | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra um objeto de ouvinte de evento em um objeto EventDispatcher, de forma que o ouvinte receba a notificação de um evento. | IEventDispatcher | ||
Determines if a category with the specified name and type exists. | ICategoryService | ||
Create a new category. | ICategoryService | ||
Deletes a category. | ICategoryService | ||
Envia um evento para o fluxo de eventos. | IEventDispatcher | ||
Lists available categories. | ICategoryService | ||
Retrieves a category given its GUID. | ICategoryService | ||
Verifica se o objeto EventDispatcher tem ouvintes registrados para um tipo específico de evento. | IEventDispatcher | ||
Remove um ouvinte do objeto 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 | ||
Verifica se um ouvinte de evento está registrado nesse objeto EventDispatcher ou em qualquer um de seus ancestrais para o tipo de evento especificado. | IEventDispatcher |
Detalhes do método
categoryExists | () | método |
public function categoryExists(name:String, type:uint):com.adobe.icc.token:IAsyncToken
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 9.5 |
Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Determines if a category with the specified name and type exists.
Parâmetros
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.
|
Lança
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Elementos da API relacionados
createCategory | () | método |
public function createCategory(name:String, type:uint):com.adobe.icc.token:IAsyncToken
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 9.5 |
Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Create a new category.
Parâmetros
name:String — New category name.
| |
type:uint — New category type (from CategoryType constants).
|
com.adobe.icc.token:IAsyncToken — The new Category object.
|
Lança
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Elementos da API relacionados
deleteCategory | () | método |
public function deleteCategory(categoryId:String):com.adobe.icc.token:IAsyncToken
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10 |
Versões de runtime: | AIR (unsupported), Flash Player 10.2 |
Deletes a category.
Parâmetros
categoryId:String — The ID (GUID) of the category to delete.
|
com.adobe.icc.token:IAsyncToken —
|
Lança
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
getAllCategories | () | método |
public function getAllCategories(query:Query = null):com.adobe.icc.token:IAsyncToken
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 9.5 |
Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Lists available categories.
Parâmetros
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.
|
Lança
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Elementos da API relacionados
getCategory | () | método |
public function getCategory(categoryId:String):com.adobe.icc.token:IAsyncToken
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 9.5 |
Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves a category given its GUID.
Parâmetros
categoryId:String — The ID (GUID) of the category to retrieve.
|
com.adobe.icc.token:IAsyncToken — The Category object retrieved.
|
Lança
Error — If the category ID is invalid.
|
Elementos da API relacionados
updateCategory | () | método |
public function updateCategory(currentName:String, currentType:uint, newName:String, newType:uint):com.adobe.icc.token:IAsyncToken
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 9.5 |
Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Update the category specified by the given name and type, to the new name and type.
Parâmetros
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.
|
Lança
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Elementos da API relacionados
Wed Jun 13 2018, 11:10 AM Z