@Transactional
public interface IProductService
| Modifier and Type | Method and Description |
|---|---|
List<Product> |
findByFilter(ProductFilter productFilter)
Find by filter and returns a list of products
|
List<Product> |
getAllProduct()
Return a list of all products
|
List<Integer> |
getProductsIdsForTaskTimed(String keyDate,
Timestamp timestampStart,
Timestamp timestampEnd)
Returns products IDs between two timestamps
|
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) |
Boolean isFull(Integer productId)
productId - the product idBoolean isType(Integer productId, Integer genreId)
genreId - the genre to checkBoolean isTypeOffer(Integer productId, Integer genreId, String keyDate, Timestamp now, String annuleKey)
List<Product> findByFilter(ProductFilter productFilter)
productFilter - the filterList<Integer> getProductsIdsForTaskTimed(String keyDate, Timestamp timestampStart, Timestamp timestampEnd)
keyDate - the attribute keytimestampStart - the start timestamptimestamsEnd - the end timestampCopyright © 2023 City of Paris. All rights reserved.