org.kuali.kfs.vnd.service.impl
Class CommodityCodeServiceImpl
java.lang.Object
org.kuali.kfs.vnd.service.impl.CommodityCodeServiceImpl
- All Implemented Interfaces:
- CommodityCodeService
@Transactional
public class CommodityCodeServiceImpl
- extends Object
- implements CommodityCodeService
This class is the service implementation for the CommodityCodeService.
This is the default, Kuali delivered implementation. It's currently used for dwr and
for searching for wild card commodity code which is used by commodity code routing
rules.
Field Summary |
protected static org.apache.log4j.Logger |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static org.apache.log4j.Logger LOG
CommodityCodeServiceImpl
public CommodityCodeServiceImpl()
getByPrimaryId
public CommodityCode getByPrimaryId(String purchasingCommodityCode)
- Description copied from interface:
CommodityCodeService
- Retrieves a commodity code object by its primary key - the purchasing commodity code.
- Specified by:
getByPrimaryId
in interface CommodityCodeService
- Returns:
- CommodityCode the commodity code object which has the purchasingCommodityCode
in the input parameter to match its the primary key.
- See Also:
org.kuali.module.vnd.service.CommodityCodeService#getByPrimaryId(java.lang.String)
wildCardCommodityCodeExists
public boolean wildCardCommodityCodeExists(String wildCardCommodityCode)
- Description copied from interface:
CommodityCodeService
- 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 CommodityCodeService
- 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:
CommodityCodeService.wildCardCommodityCodeExists(java.lang.String)
setBusinessObjectService
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
setCommodityCodeDao
public void setCommodityCodeDao(CommodityCodeDao commodityCodeDao)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.