CustomerHome Interface

com.beasys.commerce.ebusiness.customer
CustomerHome Interface

public interface CustomerHome

    extends EJBHome

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


All Superinterfaces
EJBHome, Remote

Method Summary

public Customer
create(CustomerPk customerPk)
Create a new Customer entity bean using the primary key
public Customer
findByPrimaryKey(CustomerPk customerPk)
Find an Customer entity bean using the primary key
public Customer
findByUserIdentifier(String identifier)
Access existing customer -- if not found, then try to create a new one.
 
Methods from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
   

Method Detail

create(CustomerPk) Method

public Customer create(CustomerPk customerPk)
throws CreateException, RemoteException
Create a new Customer entity bean using the primary key

Exceptions

CreateException
RemoteException

findByPrimaryKey(CustomerPk) Method

public Customer findByPrimaryKey(CustomerPk customerPk)
throws RemoteException, FinderException
Find an Customer entity bean using the primary key

Returns

Remote interface to Customer

Exceptions

RemoteException
FinderException
if cannot locate named customer

findByUserIdentifier(String) Method

public Customer findByUserIdentifier(String identifier)
throws RemoteException, FinderException
Access existing customer -- if not found, then try to create a new one.

Parameters

identifier
Customer name

Returns

Remote interface to Customer

Exceptions

RemoteException
FinderException