@Encoded public class CategoryViewHandler extends AbstractSearchResourceHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
static java.lang.String | RESOURCE_NAME
The constant for "categoryview".
|
Constructor and Description |
---|
CategoryViewHandler() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response | findCategoryByIdentifier(java.lang.String storeId, java.lang.String categoryIdentifier)
This method retrieves the category based on identifier.
|
javax.ws.rs.core.Response | findCategoryByUniqueId(java.lang.String storeId, java.lang.String categoryId)
This method retrieves the category based on unique ID.
|
javax.ws.rs.core.Response | findCategoryByUniqueIds(java.lang.String storeId, java.util.List<java.lang.String> categoryIds)
This method retrieves the categories based on multiple unique IDs.
|
javax.ws.rs.core.Response | findSubCategories(java.lang.String storeId, java.lang.String parentCategoryId)
This method retrieves the sub-categories for a given parent category.
|
javax.ws.rs.core.Response | findTopCategories(java.lang.String storeId)
This method retrieves the top categories of the catalogue.
|
java.lang.String | getExternalResourceName()
Get the resource name to show externally.
|
java.lang.String | getResourceName()
This method returns the name of the resource used primarily to determine the representation of the resource.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String RESOURCE_NAME
public java.lang.String getResourceName()
public javax.ws.rs.core.Response findCategoryByUniqueId(java.lang.String storeId, java.lang.String categoryId)
public javax.ws.rs.core.Response findCategoryByUniqueIds(java.lang.String storeId, java.util.List<java.lang.String> categoryIds)
public javax.ws.rs.core.Response findTopCategories(java.lang.String storeId)
public javax.ws.rs.core.Response findSubCategories(java.lang.String storeId, java.lang.String parentCategoryId)
public javax.ws.rs.core.Response findCategoryByIdentifier(java.lang.String storeId, java.lang.String categoryIdentifier)
public java.lang.String getExternalResourceName()