fr.paris.lutece.plugins.stock.service
Class ProductService

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.service.impl.AbstractService
      extended by fr.paris.lutece.plugins.stock.service.ProductService
All Implemented Interfaces:
IProductService

public class ProductService
extends fr.paris.lutece.plugins.stock.service.impl.AbstractService
implements IProductService

ProductService


Constructor Summary
ProductService()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductService

public ProductService()
Method Detail

getAllProduct

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

Specified by:
getAllProduct in interface IProductService
Returns:
list of product

isFull

public Boolean isFull(Integer productId)
Check if product is ful

Specified by:
isFull in interface IProductService
Parameters:
productId - the product id
Returns:
true if full, false otherwise

isType

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

Specified by:
isType in interface IProductService
Parameters:
genreId - the genre to check
Returns:
true if product is, false otherwise


Copyright © 2013 Mairie de Paris. All Rights Reserved.