|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CategoryMgrIf
CategoryMgrIf Interface which an implementation of this manager must adhere to.
| Method Summary | |
|---|---|
Category[] |
getCategoriesFromIds(java.util.ArrayList<java.lang.Integer> catIdList,
int languageId)
Return an array of categories for the ids passed in through the catIdList parameter. |
Category[] |
getCategoriesPerManufacturer(int manufacturerId,
int languageId)
Returns an array of leaf Category objects for the given manufacturer. |
Category[] |
getCategoriesPerProduct(int productId,
int languageId)
Returns an array of Category objects that the product belongs to. |
Category |
getCategory(int categoryId,
int languageId)
|
Category[] |
getCategoryTree(int languageId,
boolean getNumProducts)
Returns an array of top level categories each of which includes an array of child categories etc. |
int[] |
getChildren(int categoryId)
Returns an array of categoryId describing the children of the given category. |
int[] |
getParents(int categoryId)
Returns an array of categoryId describing the given category and its parents. |
| Method Detail |
|---|
Category[] getCategoryTree(int languageId,
boolean getNumProducts)
throws java.lang.Exception
getNumProducts is set.
languageId - getNumProducts -
java.lang.Exception
Category[] getCategoriesPerManufacturer(int manufacturerId,
int languageId)
throws java.lang.Exception
manufacturerId - languageId -
java.lang.Exception
int[] getChildren(int categoryId)
throws java.lang.Exception
categoryId -
java.lang.Exception
int[] getParents(int categoryId)
throws java.lang.Exception
categoryId -
java.lang.Exception
Category getCategory(int categoryId,
int languageId)
throws java.lang.Exception
categoryId - languageId -
java.lang.Exception
Category[] getCategoriesPerProduct(int productId,
int languageId)
throws java.lang.Exception
productId - languageId -
java.lang.Exception
Category[] getCategoriesFromIds(java.util.ArrayList<java.lang.Integer> catIdList,
int languageId)
throws java.lang.Exception
catIdList - An array list containing ids of categorieslanguageId -
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||