패키지 | 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, 03:17 PM Z