public class ProductService extends fr.paris.lutece.plugins.stock.service.impl.AbstractService implements IProductService
| Constructor and Description |
|---|
ProductService() |
| Modifier and Type | Method and Description |
|---|---|
List<Product> |
getAllProduct()
Return a list of products
|
Boolean |
isFull(Integer productId)
Check if product is ful
|
Boolean |
isType(Integer productId,
Integer genreId)
Check if product is type of representation
|
Boolean |
isTypeOffer(Integer productId,
Integer genreId,
String keyDate,
Timestamp now,
String annuleKey) |
public List<Product> getAllProduct()
getAllProduct in interface IProductServicepublic Boolean isFull(Integer productId)
isFull in interface IProductServiceproductId - the product idpublic Boolean isType(Integer productId, Integer genreId)
isType in interface IProductServicegenreId - the genre to checkpublic Boolean isTypeOffer(Integer productId, Integer genreId, String keyDate, Timestamp now, String annuleKey)
isTypeOffer in interface IProductServiceCopyright © 2020 City of Paris. All rights reserved.