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 IProductService
public Boolean isFull(Integer productId)
isFull
in interface IProductService
productId
- the product idpublic Boolean isType(Integer productId, Integer genreId)
isType
in interface IProductService
genreId
- the genre to checkpublic Boolean isTypeOffer(Integer productId, Integer genreId, String keyDate, Timestamp now, String annuleKey)
isTypeOffer
in interface IProductService
Copyright © 2021 City of Paris. All rights reserved.