|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.util.jpa.JPAGenericDAO<K,E>
fr.paris.lutece.portal.service.jpa.JPALuteceDAO<K,T>
fr.paris.lutece.plugins.stock.business.AbstractTicketCategoryDAO<K,T>
K - the primary keyT - the ticket categorypublic class AbstractTicketCategoryDAO<K,T extends TicketCategory>
This class provides Data Access methods for Person objects
| Constructor Summary | |
|---|---|
AbstractTicketCategoryDAO()
Constructor |
|
| Method Summary | |
|---|---|
T |
findByIdWithChildren(K idCategory)
Find ticket by id with children fetched |
T |
findByIdWithParent(K idCategory)
Find ticket by id with parent fetched |
java.lang.String |
getPluginName()
|
java.lang.Class<T> |
getProductClass()
Get the product P class |
java.util.List<T> |
selectAllFirstLevelWithChildren()
Find all ticket category without parents, with children fetched |
| Methods inherited from class fr.paris.lutece.portal.service.jpa.JPALuteceDAO |
|---|
createNativeQuery, getEntityManagerFactory |
| Methods inherited from class fr.paris.lutece.util.jpa.JPAGenericDAO |
|---|
create, findAll, findById, getEM, getEntityClass, getEntityClassName, remove, 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.IGenericDAO |
|---|
create, findAll, findById, remove, update |
| Constructor Detail |
|---|
public AbstractTicketCategoryDAO()
| Method Detail |
|---|
public java.lang.Class<T> getProductClass()
public java.lang.String getPluginName()
getPluginName in class fr.paris.lutece.portal.service.jpa.JPALuteceDAO<K,T extends TicketCategory>public T findByIdWithChildren(K idCategory)
findByIdWithChildren in interface ITicketCategoryDAO<K,T extends TicketCategory>idCategory - the ticket category id
public T findByIdWithParent(K idCategory)
findByIdWithParent in interface ITicketCategoryDAO<K,T extends TicketCategory>idCategory - the ticket category id
public java.util.List<T> selectAllFirstLevelWithChildren()
selectAllFirstLevelWithChildren in interface ITicketCategoryDAO<K,T extends TicketCategory>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||