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

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

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

IProviderHome


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.IGenericHome
create, findAll, findByPrimaryKey, remove, update
 

Method Detail

findAllWithProducts

@Transactional(readOnly=true)
java.util.List<Provider> findAllWithProducts()
Find all providers with products fetched

Returns:
the provider list

findByFilter

@Transactional(readOnly=true)
java.util.List<Provider> findByFilter(ProviderFilter filter)
Find by filter

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

findByIdWithProducts

@Transactional(readOnly=true)
Provider findByIdWithProducts(int nId)
Find by provider id with product fetched

Parameters:
nId - the provider id
Returns:
the provider


Copyright © 2011 Mairie de Paris. All Rights Reserved.