Paket | com.adobe.icc.services.category |
Schnittstelle | public interface ICategoryService extends IEventDispatcher |
Sprachversion: | ActionScript 3.0 |
Produktversion: | Baustein „Asset Composer“ 9.5 |
Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Öffentliche Methoden
Methode | Definiert von | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registriert ein Ereignis-Listener-Objekt bei einem EventDispatcher-Objekt, sodass der Listener über ein Ereignis benachrichtigt wird. | IEventDispatcher | ||
Determines if a category with the specified name and type exists. | ICategoryService | ||
Create a new category. | ICategoryService | ||
Deletes a category. | ICategoryService | ||
Sendet ein Ereignis in den Ereignisablauf. | IEventDispatcher | ||
Lists available categories. | ICategoryService | ||
Retrieves a category given its GUID. | ICategoryService | ||
Überprüft, ob das EventDispatcher-Objekt Listener für einen bestimmten Ereignistyp registriert hat. | IEventDispatcher | ||
Entfernt einen Listener aus dem EventDispatcher-Objekt. | 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 | ||
Überprüft, ob bei diesem EventDispatcher-Objekt oder bei einem seiner Vorgänger ein Ereignis-Listener für einen bestimmten Ereignistyp registriert ist. | IEventDispatcher |
Methodendetails
categoryExists | () | Methode |
public function categoryExists(name:String, type:uint):com.adobe.icc.token:IAsyncToken
Sprachversion: | ActionScript 3.0 |
Produktversion: | Baustein „Asset Composer“ 9.5 |
Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Determines if a category with the specified name and type exists.
Parameter
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.
|
Auslöser
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Verwandte API-Elemente
createCategory | () | Methode |
public function createCategory(name:String, type:uint):com.adobe.icc.token:IAsyncToken
Sprachversion: | ActionScript 3.0 |
Produktversion: | Baustein „Asset Composer“ 9.5 |
Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Create a new category.
Parameter
name:String — New category name.
| |
type:uint — New category type (from CategoryType constants).
|
com.adobe.icc.token:IAsyncToken — The new Category object.
|
Auslöser
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Verwandte API-Elemente
deleteCategory | () | Methode |
public function deleteCategory(categoryId:String):com.adobe.icc.token:IAsyncToken
Sprachversion: | ActionScript 3.0 |
Produktversion: | Baustein „Asset Composer“ 10 |
Laufzeitversionen: | AIR (unsupported), Flash Player 10.2 |
Deletes a category.
Parameter
categoryId:String — The ID (GUID) of the category to delete.
|
com.adobe.icc.token:IAsyncToken —
|
Auslöser
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
getAllCategories | () | Methode |
public function getAllCategories(query:Query = null):com.adobe.icc.token:IAsyncToken
Sprachversion: | ActionScript 3.0 |
Produktversion: | Baustein „Asset Composer“ 9.5 |
Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Lists available categories.
Parameter
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.
|
Auslöser
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Verwandte API-Elemente
getCategory | () | Methode |
public function getCategory(categoryId:String):com.adobe.icc.token:IAsyncToken
Sprachversion: | ActionScript 3.0 |
Produktversion: | Baustein „Asset Composer“ 9.5 |
Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves a category given its GUID.
Parameter
categoryId:String — The ID (GUID) of the category to retrieve.
|
com.adobe.icc.token:IAsyncToken — The Category object retrieved.
|
Auslöser
Error — If the category ID is invalid.
|
Verwandte API-Elemente
updateCategory | () | Methode |
public function updateCategory(currentName:String, currentType:uint, newName:String, newType:uint):com.adobe.icc.token:IAsyncToken
Sprachversion: | ActionScript 3.0 |
Produktversion: | Baustein „Asset Composer“ 9.5 |
Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Update the category specified by the given name and type, to the new name and type.
Parameter
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.
|
Auslöser
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Verwandte API-Elemente
Tue Jun 12 2018, 10:04 AM Z