org.kuali.kfs.module.purap.dataaccess
Interface ElectronicInvoiceItemMappingDao

All Known Implementing Classes:
ElectronicInvoiceItemMappingDaoOjb

public interface ElectronicInvoiceItemMappingDao

Author:
This dao and its implementation is used for data retrieval/insertion/deletion by the ElectronicInvoiceItemMappingService which is used by the maintenance page for Electronic Invoice Item Mapping.

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 a ElectronicInvoiceItemMapping.
 

Method Detail

save

void save(ElectronicInvoiceItemMapping row)
Save a ElectronicInvoiceItemMapping.

Parameters:
row - ElectronicInvoiceItemMapping to save

getAll

List getAll()
Get list of all ElectronicInvoiceItemMappings


getById

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

Parameters:
id - the id to lookup

getByUniqueKeys

ElectronicInvoiceItemMapping getByUniqueKeys(Integer headerId,
                                             Integer detailId,
                                             String invoiceTypeCode)
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

Parameters:
headerId - the vendorHeaderGeneratedId
detailId - the vendorDetailAssignedId
invoiceTypeCode - the electronicInvoiceTypeCode
Returns:

delete

void delete(ElectronicInvoiceItemMapping row)
Delete a ElectronicInvoiceItemMapping.

Parameters:
row -

getAllItemTypes

List getAllItemTypes()
This method returns a list of all Item Types from the PUR_AP_ITM_TYP_T table

Returns:

getItemTypeByCode

ItemType getItemTypeByCode(String code)


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