|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICategoryDAO
IPersonDAO Interface
| Method Summary | |
|---|---|
fr.paris.lutece.plugins.stock.commons.ResultList<Category> |
findAll(List<String> orderList)
Return all category |
List<Category> |
findByFilter(CategoryFilter filter)
Finds by filter |
fr.paris.lutece.plugins.stock.commons.ResultList<Category> |
findByFilter(CategoryFilter filter,
fr.paris.lutece.plugins.stock.commons.dao.PaginationProperties paginationProperties)
Finds by filter |
List<Category> |
findByFilterWithChildren(CategoryFilter filter)
Finds by filter and fetch children |
Category |
findByIdWithChildren(Integer idCategory)
Finds a category and all his subcategories and fetch children |
Category |
findByIdWithParent(Integer idCategory)
Finds a category and fetch parent |
Category |
findByIdWithProduct(Integer idCategory)
Finds a category and fetch products |
List<Category> |
getAllByName(String name)
Returns categories by name |
List<Category> |
selectAllChildrenWithChildrenWithProduct(Integer idCategory)
Finds all category's children and fetch children |
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, detach, findAll, findById, flush, remove, update |
| Method Detail |
|---|
List<Category> selectAllFirstLevelWithChildrenWithProduct()
List<Category> selectAllChildrenWithChildrenWithProduct(Integer idCategory)
idCategory - the id of upper category
Category findByIdWithChildren(Integer idCategory)
idCategory - the id of upper category
Category findByIdWithParent(Integer idCategory)
idCategory - the id of the searched category
Category findByIdWithProduct(Integer idCategory)
idCategory - the id of the searched category
List<Category> findByFilterWithChildren(CategoryFilter filter)
filter - the filter
fr.paris.lutece.plugins.stock.commons.ResultList<Category> findByFilter(CategoryFilter filter,
fr.paris.lutece.plugins.stock.commons.dao.PaginationProperties paginationProperties)
filter - the filterpaginationProperties - properties for pagination
List<Category> findByFilter(CategoryFilter filter)
filter - the filter
List<Category> getAllByName(String name)
name - category name
fr.paris.lutece.plugins.stock.commons.ResultList<Category> findAll(List<String> orderList)
orderList - the order list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||