|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.service.jpa.AbstractLuteceHome<java.lang.Integer,Category,ICategoryDAO>
fr.paris.lutece.plugins.stock.business.CategoryHome
public final class CategoryHome
This class provides instances management methods (create, find, ...) for Person objects
| Constructor Summary | |
|---|---|
CategoryHome()
|
|
| Method Summary | |
|---|---|
java.util.List<Category> |
findAllChildrenWithChildren(java.lang.Integer idCategory)
Finds all category's children and fetch children |
java.util.List<Category> |
findAllFirstLevelWithChildren()
Finds all categories (first level) and fetch children |
java.util.List<Category> |
findByFilter(CategoryFilter filter)
Finds by filter |
java.util.List<Category> |
findByFilterWithChildren(CategoryFilter filter)
Finds by filter and fetch children |
Category |
findByIdWithParent(java.lang.Integer nIdCategory)
Finds a category and fetch parent |
Category |
findByPrimarykeyWithChildren(java.lang.Integer nIdCategory)
Finds a category and all his subcategories and fetch children |
| Methods inherited from class fr.paris.lutece.portal.service.jpa.AbstractLuteceHome |
|---|
create, findAll, findByPrimaryKey, getDao, remove, setDao, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fr.paris.lutece.util.jpa.IGenericHome |
|---|
create, findAll, findByPrimaryKey, remove, update |
| Constructor Detail |
|---|
public CategoryHome()
| Method Detail |
|---|
public java.util.List<Category> findAllFirstLevelWithChildren()
findAllFirstLevelWithChildren in interface ICategoryHomepublic java.util.List<Category> findAllChildrenWithChildren(java.lang.Integer idCategory)
findAllChildrenWithChildren in interface ICategoryHomeidCategory - the id of upper category
public Category findByPrimarykeyWithChildren(java.lang.Integer nIdCategory)
findByPrimarykeyWithChildren in interface ICategoryHomepublic Category findByIdWithParent(java.lang.Integer nIdCategory)
findByIdWithParent in interface ICategoryHomepublic java.util.List<Category> findByFilterWithChildren(CategoryFilter filter)
findByFilterWithChildren in interface ICategoryHomefilter - the filter
public java.util.List<Category> findByFilter(CategoryFilter filter)
findByFilter in interface ICategoryHomefilter - the filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||