fr.paris.lutece.plugins.stock.service
Interface IProductService

All Known Implementing Classes:
ProductService

@Transactional
public interface IProductService

IProductService


Method Summary
 List<Product> getAllProduct()
          Return a list of all products
 Boolean isFull(Integer productId)
          Check if product is ful
 Boolean isType(Integer productId, Integer genreId)
          Check if product is type of representation
 

Method Detail

getAllProduct

List<Product> getAllProduct()
Return a list of all products

Returns:
list of product

isFull

Boolean isFull(Integer productId)
Check if product is ful

Parameters:
productId - the product id
Returns:
true if full, false otherwise

isType

Boolean isType(Integer productId,
               Integer genreId)
Check if product is type of representation

Parameters:
genreId - the genre to check
Returns:
true if product is, false otherwise


Copyright © 2014 Mairie de Paris. All Rights Reserved.