fr.paris.lutece.plugins.stock.business
Interface IProviderDAO

All Superinterfaces:
fr.paris.lutece.util.jpa.IGenericDAO<java.lang.Integer,Provider>
All Known Implementing Classes:
ProviderDAO

public interface IProviderDAO
extends fr.paris.lutece.util.jpa.IGenericDAO<java.lang.Integer,Provider>

IProviderDAO Interface


Method Summary
 java.util.List<Provider> findAllWithProducts()
          Find all providers with products fetched
 java.util.List<Provider> findByFilter(ProviderFilter filter)
          Find by filter
 Provider findByIdWithProducts(int nId)
          Find by provider id with product fetched
 
Methods inherited from interface fr.paris.lutece.util.jpa.IGenericDAO
create, detach, findAll, findById, flush, remove, update
 

Method Detail

findAllWithProducts

java.util.List<Provider> findAllWithProducts()
Find all providers with products fetched

Returns:
the provider list

findByIdWithProducts

Provider findByIdWithProducts(int nId)
Find by provider id with product fetched

Parameters:
nId - the provider id
Returns:
the provider

findByFilter

java.util.List<Provider> findByFilter(ProviderFilter filter)
Find by filter

Parameters:
filter - the filter
Returns:
the provider list filtered


Copyright © 2011 Mairie de Paris. All Rights Reserved.