org.kuali.kfs.vnd.dataaccess.impl
Class CommodityCodeDaoOjb

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          extended by org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
              extended by org.kuali.kfs.vnd.dataaccess.impl.CommodityCodeDaoOjb
All Implemented Interfaces:
CommodityCodeDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class CommodityCodeDaoOjb
extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
implements CommodityCodeDao

OJB implementation of CommodityCodeDao.


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
CommodityCodeDaoOjb()
           
 
Method Summary
 boolean wildCardCommodityCodeExists(String wildCardCommodityCode)
          Checks whether the commodity code in wildcard form exists.
 
Methods inherited from class org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
getDbPlatform, setDbPlatform
 
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommodityCodeDaoOjb

public CommodityCodeDaoOjb()
Method Detail

wildCardCommodityCodeExists

public boolean wildCardCommodityCodeExists(String wildCardCommodityCode)
Description copied from interface: CommodityCodeDao
Checks whether the commodity code in wildcard form exists. For example, if the wildCardCommodityCode in the input parameter is 100* and the database has commodity code 10023, then this method will return true. If no matching found then this method returns false.

Specified by:
wildCardCommodityCodeExists in interface CommodityCodeDao
Parameters:
wildCardCommodityCode - The string containing wild card character to be queried to the database.
Returns:
boolean true if the wildcardCommodityCode exists in the database.
See Also:
CommodityCodeDao.wildCardCommodityCodeExists(java.lang.String)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.