org.kuali.kfs.module.purap.dataaccess.impl
Class ElectronicInvoiceItemMappingDaoOjb

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          extended by org.kuali.kfs.module.purap.dataaccess.impl.ElectronicInvoiceItemMappingDaoOjb
All Implemented Interfaces:
ElectronicInvoiceItemMappingDao, org.springframework.beans.factory.InitializingBean

public class ElectronicInvoiceItemMappingDaoOjb
extends org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
implements ElectronicInvoiceItemMappingDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
ElectronicInvoiceItemMappingDaoOjb()
           
 
Method Summary
 void delete(ElectronicInvoiceItemMapping row)
          Delete a ElectronicInvoiceItemMapping.
 List getAll()
          Get list of all ElectronicInvoiceItemMappings
 List getAllItemTypes()
          This method returns a list of all Item Types from the PUR_AP_ITM_TYP_T table
 ElectronicInvoiceItemMapping getById(String id)
          Get an ElectronicInvoiceItemMapping by primary key.
 ElectronicInvoiceItemMapping getByUniqueKeys(Integer headerId, Integer detailId, String invoiceTypeCode)
          Get an ElectronicInvoiceItemMapping based on the 3 unique keys.
 ItemType getItemTypeByCode(String code)
           
 void save(ElectronicInvoiceItemMapping row)
          Save an ElectronicInvoiceItemMapping.
 
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

ElectronicInvoiceItemMappingDaoOjb

public ElectronicInvoiceItemMappingDaoOjb()
Method Detail

save

public void save(ElectronicInvoiceItemMapping row)
Save an ElectronicInvoiceItemMapping.

Specified by:
save in interface ElectronicInvoiceItemMappingDao
Parameters:
row - ElectronicInvoiceItemMapping to save

getAll

public List getAll()
Get list of all ElectronicInvoiceItemMappings

Specified by:
getAll in interface ElectronicInvoiceItemMappingDao

getByUniqueKeys

public ElectronicInvoiceItemMapping getByUniqueKeys(Integer headerId,
                                                    Integer detailId,
                                                    String invoiceTypeCode)
Description copied from interface: ElectronicInvoiceItemMappingDao
Get an ElectronicInvoiceItemMapping based on the 3 unique keys. This method is used to ensure that the user is not inserting a row that contains the same 3 keys that have already existed in the database

Specified by:
getByUniqueKeys in interface ElectronicInvoiceItemMappingDao
Parameters:
headerId - the vendorHeaderGeneratedId
detailId - the vendorDetailAssignedId
invoiceTypeCode - the electronicInvoiceTypeCode
Returns:

getAllItemTypes

public List getAllItemTypes()
Description copied from interface: ElectronicInvoiceItemMappingDao
This method returns a list of all Item Types from the PUR_AP_ITM_TYP_T table

Specified by:
getAllItemTypes in interface ElectronicInvoiceItemMappingDao
Returns:

getItemTypeByCode

public ItemType getItemTypeByCode(String code)
Specified by:
getItemTypeByCode in interface ElectronicInvoiceItemMappingDao

getById

public ElectronicInvoiceItemMapping getById(String id)
Get an ElectronicInvoiceItemMapping by primary key.

Specified by:
getById in interface ElectronicInvoiceItemMappingDao
Parameters:
id - the id to lookup

delete

public void delete(ElectronicInvoiceItemMapping row)
Delete a ElectronicInvoiceItemMapping.

Specified by:
delete in interface ElectronicInvoiceItemMappingDao
Parameters:
row -


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