MerchantStoreDao.java

18 lines | 719 B Blame History Raw Download
package com.salesmanager.core.business.merchant.dao;

import java.util.Collection;

import com.salesmanager.core.business.catalog.product.model.Product;
import com.salesmanager.core.business.generic.dao.SalesManagerEntityDao;
import com.salesmanager.core.business.generic.exception.ServiceException;
import com.salesmanager.core.business.merchant.model.MerchantStore;

public interface MerchantStoreDao extends SalesManagerEntityDao<Integer, MerchantStore> {
	
	public Collection<Product> getProducts(MerchantStore merchantStore) throws ServiceException;
	
	public MerchantStore getMerchantStore(Integer merchantStoreId);

	public MerchantStore getMerchantStore(String code) throws ServiceException;
}