public interface IProductDAO extends fr.paris.lutece.plugins.stock.commons.dao.IStockDAO<Integer,Product>
Modifier and Type | Method and Description |
---|---|
List<Product> |
findByFilter(ProductFilter filter)
Finds by filter
|
fr.paris.lutece.plugins.stock.commons.ResultList<Product> |
findByFilter(ProductFilter filter,
fr.paris.lutece.plugins.stock.commons.dao.PaginationProperties paginationProperties)
Finds by filter
|
List<Product> |
getAllByName(String name)
Returns products by name
|
Integer |
getCountProductALAfficheByDate(String strDate)
Return the number of current product
|
Integer |
getCountProductAVenirByDate(String strDate)
Return the number of future product
|
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) |
List<Product> findByFilter(ProductFilter filter)
filter
- the filterfr.paris.lutece.plugins.stock.commons.ResultList<Product> findByFilter(ProductFilter filter, fr.paris.lutece.plugins.stock.commons.dao.PaginationProperties paginationProperties)
filter
- the filterpaginationProperties
- the pagination propertiesList<Product> getAllByName(String name)
name
- product nameInteger getCountProductALAfficheByDate(String strDate)
strDate
- the current dateInteger getCountProductAVenirByDate(String strDate)
strDate
- the current dateBoolean isFull(Integer productId)
productId
- the product idBoolean isType(Integer productId, Integer genreId)
genreId
- the genre to checkCopyright © 2020 City of Paris. All rights reserved.