|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPurchaseService
The Interface IPurchaseService.
| Method Summary | |
|---|---|
void |
doCancelPurchaseList(java.util.List<ReservationDTO> bookingList,
java.lang.String sessionId)
Release a list of reservation. |
void |
doDeletePurchase(int nIdReservation)
Delete a reservation. |
ReservationDTO |
doSavePurchase(ReservationDTO reservation,
java.lang.String sessionId)
Modifies a reservation. |
java.util.List<ReservationDTO> |
doSavePurchaseList(java.util.List<ReservationDTO> reservation,
java.lang.String sessionId)
Save a list of reservation. |
java.util.List<ReservationDTO> |
findAll()
Find all. |
fr.paris.lutece.plugins.stock.commons.ResultList<ReservationDTO> |
findByFilter(fr.paris.lutece.plugins.stock.business.purchase.PurchaseFilter filter,
fr.paris.lutece.plugins.stock.commons.dao.PaginationProperties paginationProperties)
Find by filter. |
ReservationDTO |
findById(java.lang.Integer nIdPurchase)
Return an purchase by his id. |
java.lang.Integer |
getNumberOfReservationByIdProductAndUserName(java.lang.Integer id,
java.lang.Integer idOfferGenre,
java.lang.String userName)
Return the number of reservation for an offer and an agent. |
void |
init()
Init this service. |
void |
update(ReservationDTO purchase)
Update. |
| Method Detail |
|---|
void init()
ReservationDTO doSavePurchase(ReservationDTO reservation,
java.lang.String sessionId)
reservation - The reservation to modify in databasesessionId - the session id
java.util.List<ReservationDTO> doSavePurchaseList(java.util.List<ReservationDTO> reservation,
java.lang.String sessionId)
reservation - list of reservationsessionId - the session id
void doCancelPurchaseList(java.util.List<ReservationDTO> bookingList,
java.lang.String sessionId)
bookingList - the booking listsessionId - the session idvoid doDeletePurchase(int nIdReservation)
nIdReservation - the identifier of the reservation to delete
fr.paris.lutece.plugins.stock.commons.ResultList<ReservationDTO> findByFilter(fr.paris.lutece.plugins.stock.business.purchase.PurchaseFilter filter,
fr.paris.lutece.plugins.stock.commons.dao.PaginationProperties paginationProperties)
filter - the filterpaginationProperties - the pagination properties
void update(ReservationDTO purchase)
purchase - the purchasejava.util.List<ReservationDTO> findAll()
ReservationDTO findById(java.lang.Integer nIdPurchase)
nIdPurchase - purchase id
java.lang.Integer getNumberOfReservationByIdProductAndUserName(java.lang.Integer id,
java.lang.Integer idOfferGenre,
java.lang.String userName)
id - offer ididOfferGenre - the id offer genreuserName - agent userName
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||