|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPurchaseDAO
IPurchaseDAO Interface
| Method Summary | |
|---|---|
fr.paris.lutece.plugins.stock.commons.ResultList<Purchase> |
findByFilter(PurchaseFilter filter,
fr.paris.lutece.plugins.stock.commons.dao.PaginationProperties paginationProperties)
Find by filter. |
java.lang.Integer |
getCountPurchaseByBeginDateAndLastDate(java.lang.String strDateDebut,
java.lang.String strDateFin)
Return the number of purchase for the current month |
java.lang.Integer |
getQuantityPurchasedByIdProductAndUserName(java.lang.Integer id,
java.lang.Integer idOfferGenre,
java.lang.String userName)
Return the number of reservation for an offer and an agent. |
| Methods inherited from interface fr.paris.lutece.util.jpa.IGenericDAO |
|---|
create, detach, findAll, findById, flush, remove, update |
| Method Detail |
|---|
fr.paris.lutece.plugins.stock.commons.ResultList<Purchase> findByFilter(PurchaseFilter filter,
fr.paris.lutece.plugins.stock.commons.dao.PaginationProperties paginationProperties)
filter - the filterpaginationProperties - the pagination properties
java.lang.Integer getQuantityPurchasedByIdProductAndUserName(java.lang.Integer id,
java.lang.Integer idOfferGenre,
java.lang.String userName)
id - offer ididOfferGenre - the id offer genreuserName - agent userName
java.lang.Integer getCountPurchaseByBeginDateAndLastDate(java.lang.String strDateDebut,
java.lang.String strDateFin)
strDateDebut - the first date of the monthstrDateFin - the last date of the month
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||