|
||||||||||
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(java.util.List<java.lang.String> orderList)
Return all category |
java.util.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 |
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> |
getAllByName(java.lang.String name)
Returns categories by name |
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, detach, findAll, findById, flush, 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
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
java.util.List<Category> findByFilter(CategoryFilter filter)
filter
- the filter
java.util.List<Category> getAllByName(java.lang.String name)
name
- category name
fr.paris.lutece.plugins.stock.commons.ResultList<Category> findAll(java.util.List<java.lang.String> orderList)
orderList
- the order list
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |