|
|||||||||
| 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 | |
|---|---|
java.lang.Boolean |
categoryExists(java.lang.String categoryName,
int type)
Check if a category exists by the given name and type. |
Category |
createCategory(java.lang.String categoryName,
int type)
Create a Category with the given name and type. |
void |
deleteCategory(java.lang.String categoryID)
Delete the category given the Category GUID. |
java.util.List |
getAllCategories(Query query)
Retrieve the list of categories, filtering as per the given Query. |
Category |
getCategory(java.lang.String categoryID)
Fetch a Category object by the given GUID. |
java.lang.String |
publishCategory(java.lang.String categoryId)
Publish Category |
Category |
readCategory(java.lang.String categoryID)
Fetch a Category object by the given GUID. |
Category |
updateCategory(java.lang.String categoryName,
int categoryType,
java.lang.String newName,
int newType)
Update the Category specified by the given name and type, to the new name and type. |
| Method Detail |
|---|
java.lang.Boolean categoryExists(java.lang.String categoryName,
int type)
throws ICCException
categoryName - Name of the Category.type - Type of the Category.
ICCException
void deleteCategory(java.lang.String categoryID)
throws ICCException
categoryID - GUID of the Category.
ICCException
Category getCategory(java.lang.String categoryID)
throws ICCException
Category object by the given GUID.
This action is not audited for action type Read.
categoryID - GUID of the Category to be fetched.
Category object.
ICCException
Category readCategory(java.lang.String categoryID)
throws ICCException
Category object by the given GUID.
This action is audited for action type Read.
categoryID - GUID of the Category to be fetched.
Category object.
ICCException
Category createCategory(java.lang.String categoryName,
int type)
throws ICCException
categoryName - Name of the Category.type - Type of the Category.
Category object.
ICCException
java.util.List getAllCategories(Query query)
throws ICCException
Query.
query - Query to select categories (supports only first level
attributes/properties of an object).ICCExceptionStatement,
Query
Category updateCategory(java.lang.String categoryName,
int categoryType,
java.lang.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
java.lang.String publishCategory(java.lang.String categoryId)
throws ICCException
categoryId - ID of the category to be published
ICCException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||