CustomerDelegateHome Interface

com.beasys.commerce.ebusiness.customer
CustomerDelegateHome Interface

public interface CustomerDelegateHome

    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 CustomerDelegate
create(CustomerDelegatePk customerPk)
Create a new Customer entity bean using the primary key
public CustomerDelegate
findByPrimaryKey(CustomerDelegatePk customerPk)
Find an Customer entity bean using the primary key
public CustomerDelegate
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(CustomerDelegatePk) Method

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

Exceptions

CreateException
RemoteException

findByPrimaryKey(CustomerDelegatePk) Method

public CustomerDelegate findByPrimaryKey(CustomerDelegatePk 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 CustomerDelegate 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