Package | com.adobe.icc.services.category |
Interface | public interface ICategoryService extends IEventDispatcher |
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Méthodes publiques
Méthode | Défini par | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Enregistre un objet écouteur d’événement auprès d’un objet EventDispatcher afin que l’écouteur soit averti d’un événement. | IEventDispatcher | ||
Determines if a category with the specified name and type exists. | ICategoryService | ||
Create a new category. | ICategoryService | ||
Deletes a category. | ICategoryService | ||
Distribue un événement dans le flux d’événements. | IEventDispatcher | ||
Lists available categories. | ICategoryService | ||
Retrieves a category given its GUID. | ICategoryService | ||
Vérifie si des écouteurs sont enregistrés auprès de l’objet EventDispatcher pour un type spécifique d’événement. | IEventDispatcher | ||
Supprime un écouteur de l’objet 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 | ||
Vérifie si un écouteur d’événement est enregistré auprès de cet objet EventDispatcher ou de ses ancêtres pour le type d’événement spécifié. | IEventDispatcher |
Détails de la méthode
categoryExists | () | méthode |
public function categoryExists(name:String, type:uint):com.adobe.icc.token:IAsyncToken
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Determines if a category with the specified name and type exists.
Paramètres
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.
|
Valeur émise
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Eléments de l’API associés
createCategory | () | méthode |
public function createCategory(name:String, type:uint):com.adobe.icc.token:IAsyncToken
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Create a new category.
Paramètres
name:String — New category name.
| |
type:uint — New category type (from CategoryType constants).
|
com.adobe.icc.token:IAsyncToken — The new Category object.
|
Valeur émise
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Eléments de l’API associés
deleteCategory | () | méthode |
public function deleteCategory(categoryId:String):com.adobe.icc.token:IAsyncToken
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
Deletes a category.
Paramètres
categoryId:String — The ID (GUID) of the category to delete.
|
com.adobe.icc.token:IAsyncToken —
|
Valeur émise
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
getAllCategories | () | méthode |
public function getAllCategories(query:Query = null):com.adobe.icc.token:IAsyncToken
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Lists available categories.
Paramètres
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.
|
Valeur émise
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Eléments de l’API associés
getCategory | () | méthode |
public function getCategory(categoryId:String):com.adobe.icc.token:IAsyncToken
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves a category given its GUID.
Paramètres
categoryId:String — The ID (GUID) of the category to retrieve.
|
com.adobe.icc.token:IAsyncToken — The Category object retrieved.
|
Valeur émise
Error — If the category ID is invalid.
|
Eléments de l’API associés
updateCategory | () | méthode |
public function updateCategory(currentName:String, currentType:uint, newName:String, newType:uint):com.adobe.icc.token:IAsyncToken
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 9.5 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Update the category specified by the given name and type, to the new name and type.
Paramètres
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.
|
Valeur émise
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Eléments de l’API associés
Tue Jun 12 2018, 09:30 AM Z