|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICategoryDAO
IPersonDAO Interface
Method Summary | |
---|---|
java.util.List<Category> |
findByFilter(CategoryFilter filter)
Finds by filter |
java.util.List<Category> |
findByFilterWithChildren(CategoryFilter filter)
Finds by filter and fetch children |
Category |
findByIdWithChildren(java.lang.Integer idCategory)
Finds a category and all his subcategories and fetch children |
Category |
findByIdWithParent(java.lang.Integer idCategory)
Finds a category and fetch parent |
Category |
findByIdWithProduct(java.lang.Integer idCategory)
Finds a category and fetch products |
java.util.List<Category> |
selectAllChildrenWithChildrenWithProduct(java.lang.Integer idCategory)
Finds all category's children and fetch children |
java.util.List<Category> |
selectAllFirstLevelWithChildrenWithProduct()
Finds all first level categories (i.e. parent == null ) and fetch children |
Methods inherited from interface fr.paris.lutece.util.jpa.IGenericDAO |
---|
create, findAll, findById, remove, update |
Method Detail |
---|
java.util.List<Category> selectAllFirstLevelWithChildrenWithProduct()
java.util.List<Category> selectAllChildrenWithChildrenWithProduct(java.lang.Integer idCategory)
idCategory
- the id of upper category
Category findByIdWithChildren(java.lang.Integer idCategory)
idCategory
- the id of upper category
Category findByIdWithParent(java.lang.Integer idCategory)
idCategory
- the id of the searched category
Category findByIdWithProduct(java.lang.Integer idCategory)
idCategory
- the id of the searched category
java.util.List<Category> findByFilterWithChildren(CategoryFilter filter)
filter
- the filter
java.util.List<Category> findByFilter(CategoryFilter filter)
filter
- the filter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |