fr.paris.lutece.plugins.stock.business
Class ProviderHome
java.lang.Object
fr.paris.lutece.portal.service.jpa.AbstractLuteceHome<java.lang.Integer,Provider,IProviderDAO>
fr.paris.lutece.plugins.stock.business.ProviderHome
- All Implemented Interfaces:
- IProviderHome, fr.paris.lutece.util.jpa.IGenericHome<java.lang.Integer,Provider>
@Transactional
public final class ProviderHome
- extends fr.paris.lutece.portal.service.jpa.AbstractLuteceHome<java.lang.Integer,Provider,IProviderDAO>
- implements IProviderHome
This class provides instances management methods (create, find, ...) for Person objects
Methods inherited from class fr.paris.lutece.portal.service.jpa.AbstractLuteceHome |
create, findAll, findByPrimaryKey, getDao, remove, setDao, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.paris.lutece.util.jpa.IGenericHome |
create, findAll, findByPrimaryKey, remove, update |
ProviderHome
public ProviderHome()
findAllWithProducts
public java.util.List<Provider> findAllWithProducts()
- Find all providers with products fetched
- Specified by:
findAllWithProducts
in interface IProviderHome
- Returns:
- the provider list
findByFilter
public java.util.List<Provider> findByFilter(ProviderFilter filter)
- Find by filter
- Specified by:
findByFilter
in interface IProviderHome
- Parameters:
filter
- the filter
- Returns:
- the provider list filtered
findByIdWithProducts
public Provider findByIdWithProducts(int nId)
- Find by provider id with product fetched
- Specified by:
findByIdWithProducts
in interface IProviderHome
- Parameters:
nId
- the provider id
- Returns:
- the provider
Copyright © 2011 Mairie de Paris. All Rights Reserved.