BEA Systems, Inc.

theory.smart.ebusiness.invoicing
Interface InvoiceHome


public interface InvoiceHome
extends SmartEJBHome

The home interface for the Invoice entity bean. Use this class to create, remove, and find Invoice entity beans.


Method Summary
 Invoice create(InvoicePk invoicePk)
          Create a new Invoice entity bean using the theory.smart.ebusiness.invoicing.InvoicePk.
 java.util.Enumeration findAll()
          Invoking the commit method on the invoice finalizes the purchase.
 Invoice findByPrimaryKey(InvoicePk invoicePk)
          Find an Invoice entity bean using the theory.smart.ebusiness.invoicing.InvoicePk.
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

public Invoice create(InvoicePk invoicePk)
               throws javax.ejb.CreateException,
                      java.rmi.RemoteException
Create a new Invoice entity bean using the theory.smart.ebusiness.invoicing.InvoicePk.

findByPrimaryKey

public Invoice findByPrimaryKey(InvoicePk invoicePk)
                         throws java.rmi.RemoteException,
                                javax.ejb.FinderException
Find an Invoice entity bean using the theory.smart.ebusiness.invoicing.InvoicePk.

findAll

public java.util.Enumeration findAll()
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException
Invoking the commit method on the invoice finalizes the purchase. It sets the final purchase prices, commits the packing list so that delivery can begin, and moves the items out of inventory and to a customers "Item" account.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved