Paket | com.adobe.icc.services.category |
Gränssnitt | public interface ICategoryService extends IEventDispatcher |
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 9.5 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | IEventDispatcher | ||
Determines if a category with the specified name and type exists. | ICategoryService | ||
Create a new category. | ICategoryService | ||
Deletes a category. | ICategoryService | ||
Skickar en händelse till händelseflödet. | IEventDispatcher | ||
Lists available categories. | ICategoryService | ||
Retrieves a category given its GUID. | ICategoryService | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | IEventDispatcher | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | 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 | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | IEventDispatcher |
Metoddetaljer
categoryExists | () | metod |
public function categoryExists(name:String, type:uint):com.adobe.icc.token:IAsyncToken
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 9.5 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Determines if a category with the specified name and type exists.
Parametrar
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.
|
Utlöser
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Relaterade API-element
createCategory | () | metod |
public function createCategory(name:String, type:uint):com.adobe.icc.token:IAsyncToken
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 9.5 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Create a new category.
Parametrar
name:String — New category name.
| |
type:uint — New category type (from CategoryType constants).
|
com.adobe.icc.token:IAsyncToken — The new Category object.
|
Utlöser
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Relaterade API-element
deleteCategory | () | metod |
public function deleteCategory(categoryId:String):com.adobe.icc.token:IAsyncToken
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 10 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Deletes a category.
Parametrar
categoryId:String — The ID (GUID) of the category to delete.
|
com.adobe.icc.token:IAsyncToken —
|
Utlöser
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
getAllCategories | () | metod |
public function getAllCategories(query:Query = null):com.adobe.icc.token:IAsyncToken
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 9.5 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Lists available categories.
Parametrar
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.
|
Utlöser
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Relaterade API-element
getCategory | () | metod |
public function getCategory(categoryId:String):com.adobe.icc.token:IAsyncToken
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 9.5 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves a category given its GUID.
Parametrar
categoryId:String — The ID (GUID) of the category to retrieve.
|
com.adobe.icc.token:IAsyncToken — The Category object retrieved.
|
Utlöser
Error — If the category ID is invalid.
|
Relaterade API-element
updateCategory | () | metod |
public function updateCategory(currentName:String, currentType:uint, newName:String, newType:uint):com.adobe.icc.token:IAsyncToken
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Composer Building Block 9.5 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Update the category specified by the given name and type, to the new name and type.
Parametrar
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.
|
Utlöser
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.
|
Relaterade API-element
Tue Jun 12 2018, 01:40 PM Z