|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- the primary keyT
- the ticket categorypublic interface ITicketCategoryDAO<K,T extends TicketCategory>
ITicketCategoryDAO Interface
Method Summary | |
---|---|
T |
findByIdWithChildren(K idCategory)
Finds a ticket category and all his subcategories and fetch children |
T |
findByIdWithParent(K idCategory)
Finds a ticket category and fetch parent |
java.util.List<T> |
selectAllFirstLevelWithChildren()
Finds all first level tickets 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<T> selectAllFirstLevelWithChildren()
T findByIdWithChildren(K idCategory)
idCategory
- the id of upper ticket category
T findByIdWithParent(K idCategory)
idCategory
- the id of the searched ticket category
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |