|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.stock.service.impl.AbstractService
fr.paris.lutece.plugins.stock.service.OfferService
fr.paris.lutece.plugins.stock.modules.tickets.service.SeanceService
@Transactional(rollbackFor=java.lang.Exception.class) public class SeanceService
OfferService.
| Field Summary | |
|---|---|
static String |
RESOURCE_TYPE
The Constant RESOURCE_TYPE. |
static String |
RIGHT_MANAGE_OFFRES
The Constant RIGHT_MANAGE_OFFRES. |
| Constructor Summary | |
|---|---|
SeanceService()
|
|
| Method Summary | |
|---|---|
void |
checkAvailability(Integer offerId,
String userName)
Check availability. |
void |
doDeleteOffer(int nIdOffer)
Delete a seance. |
void |
doMasseDeleteOffer(List<Integer> nIdsOffer)
Same action as doDeleteOffer but with many offer |
void |
doSaveOffer(SeanceDTO offer)
Modifies a seance. |
List<SeanceDTO> |
findAll()
Find all. |
List<fr.paris.lutece.plugins.stock.business.offer.OfferGenre> |
findAllGenre()
Return all the offer genre. |
fr.paris.lutece.plugins.stock.commons.ResultList<SeanceDTO> |
findByFilter(fr.paris.lutece.plugins.stock.business.offer.OfferFilter filter,
fr.paris.lutece.plugins.stock.commons.dao.PaginationProperties paginationProperties)
Find by filter. |
List<SeanceDTO> |
findSeanceByDate(Integer showId,
Date dateHour)
Find seance by date and hour. |
SeanceDTO |
findSeanceById(Integer nIdOffer)
Return an offer by his id. |
List<String> |
findSeanceByShow(Integer showId,
fr.paris.lutece.plugins.stock.business.offer.OfferFilter filter,
Locale locale)
List of seance dates for a show. |
void |
init()
Init this service. |
void |
update(SeanceDTO offer)
Update. |
| Methods inherited from class fr.paris.lutece.plugins.stock.service.OfferService |
|---|
findById, findByProduct, getQuantity |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String RIGHT_MANAGE_OFFRES
public static final String RESOURCE_TYPE
| Constructor Detail |
|---|
public SeanceService()
| Method Detail |
|---|
public void init()
init in interface ISeanceServicepublic void doSaveOffer(SeanceDTO offer)
doSaveOffer in interface ISeanceServiceoffer - The seance to modify in databasepublic void doDeleteOffer(int nIdOffer)
doDeleteOffer in interface ISeanceServicenIdOffer - the identifier of the seance to deletepublic void doMasseDeleteOffer(List<Integer> nIdsOffer)
doMasseDeleteOffer in interface ISeanceServicenIdsOffer - the list of offer which must be deletepublic void update(SeanceDTO offer)
update in interface ISeanceServiceoffer - the offer
public fr.paris.lutece.plugins.stock.commons.ResultList<SeanceDTO> findByFilter(fr.paris.lutece.plugins.stock.business.offer.OfferFilter filter,
fr.paris.lutece.plugins.stock.commons.dao.PaginationProperties paginationProperties)
findByFilter in interface ISeanceServicefilter - the filterpaginationProperties - the pagination properties
public List<SeanceDTO> findAll()
findAll in interface ISeanceServicepublic SeanceDTO findSeanceById(Integer nIdOffer)
findSeanceById in interface ISeanceServicenIdOffer - offer id
public List<fr.paris.lutece.plugins.stock.business.offer.OfferGenre> findAllGenre()
findAllGenre in interface ISeanceService
public List<String> findSeanceByShow(Integer showId,
fr.paris.lutece.plugins.stock.business.offer.OfferFilter filter,
Locale locale)
findSeanceByShow in interface ISeanceServiceshowId - id of the showfilter - offer filterlocale - the locale
public List<SeanceDTO> findSeanceByDate(Integer showId,
Date dateHour)
findSeanceByDate in interface ISeanceServiceshowId - the show iddateHour - date and hour
public void checkAvailability(Integer offerId,
String userName)
offerId - the offer iduserName - the user name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||