|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CategoryService
Service interface for Category specific operations.
| Method Summary | |
|---|---|
Boolean |
categoryExists(String categoryName,
int type)
Check if a category exists by the given name and type. |
Category |
createCategory(String categoryName,
int type)
Create a Category with the given name and type. |
void |
deleteCategory(String categoryID)
Delete the category given the Category GUID. |
List |
getAllCategories(Query query)
Retrieve the list of categories, filtering as per the given Query. |
Category |
getCategory(String categoryID)
Fetch a Category object by the given GUID. |
Category |
updateCategory(String categoryName,
int categoryType,
String newName,
int newType)
Update the Category specified by the given name and type, to the new name and type. |
| Method Detail |
|---|
Boolean categoryExists(String categoryName,
int type)
throws ICCException
categoryName - Name of the Category.type - Type of the Category.
ICCException
void deleteCategory(String categoryID)
throws ICCException
categoryID - GUID of the Category.
ICCException
Category getCategory(String categoryID)
throws ICCException
Category object by the given GUID.
categoryID - GUID of the Category to be fetched.
Category object.
ICCException
Category createCategory(String categoryName,
int type)
throws ICCException
categoryName - Name of the Category.type - Type of the Category.
Category object.
ICCException
List getAllCategories(Query query)
throws ICCException
Query.
query - Query to select categories (supports only first level
attributes/properties of an object).ICCExceptionStatement} and {@link Query}.
Category updateCategory(String categoryName,
int categoryType,
String newName,
int newType)
throws ICCException
categoryName - Old Category name.categoryType - Old Category type.newName - New Category name.newType - New Category type.
Category object.
ICCException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||