MerchantStoreDao.java
Home
/
sm-core /
src /
main /
java /
com /
salesmanager /
core /
business /
merchant /
dao /
MerchantStoreDao.java
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;
}