net.sf.emarket.config.repository
Class JdbcMarketDaoImpl

java.lang.Object
  extended by net.sf.emarket.config.repository.JdbcMarketDaoImpl
All Implemented Interfaces:
IMarketDao

@Repository
public class JdbcMarketDaoImpl
extends java.lang.Object
implements IMarketDao

JdbcMarketDaoImpl Description. This Class accesses "EMARKET" table, which describes what kind of market is created and configured. This table preserves the market type, market id and other market attributes that this domain provides For e.g., https://www.kellysgardenservice.com creates an online shop for gardening services provided by kelly.

Author:
: snambi

Constructor Summary
JdbcMarketDaoImpl()
           
 
Method Summary
 void createMarket(Market market)
           
 void createTemplate(javax.sql.DataSource datasource)
           
 java.util.List<Market> getMarketDetails()
           
 int removeMarket()
           
 int updateMarket(Market market)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcMarketDaoImpl

public JdbcMarketDaoImpl()
Method Detail

createTemplate

public void createTemplate(javax.sql.DataSource datasource)

createMarket

public void createMarket(Market market)
Specified by:
createMarket in interface IMarketDao

getMarketDetails

public java.util.List<Market> getMarketDetails()
Specified by:
getMarketDetails in interface IMarketDao

updateMarket

public int updateMarket(Market market)
Specified by:
updateMarket in interface IMarketDao

removeMarket

public int removeMarket()
Specified by:
removeMarket in interface IMarketDao


Copyright © 2009. All Rights Reserved.