FileDocCategorySizeDatePackage
SqlMapProductDao.javaAPI DocExample1520Fri Mar 26 09:44:02 GMT 2004org.springframework.samples.jpetstore.dao.ibatis

SqlMapProductDao

public class SqlMapProductDao extends org.springframework.orm.ibatis.support.SqlMapDaoSupport implements org.springframework.samples.jpetstore.dao.ProductDao

Fields Summary
Constructors Summary
Methods Summary
public org.springframework.samples.jpetstore.domain.ProductgetProduct(java.lang.String productId)

    return (Product) getSqlMapTemplate().executeQueryForObject("getProduct", productId);
  
public java.util.ListgetProductListByCategory(java.lang.String categoryId)

    return getSqlMapTemplate().executeQueryForList("getProductListByCategory", categoryId);
  
public java.util.ListsearchProductList(java.lang.String keywords)

    Object parameterObject = new ProductSearch(keywords);
    return getSqlMapTemplate().executeQueryForList("searchProductList", parameterObject);