org.openejb.test.entity.cmp
Interface BasicCmpHome

All Superinterfaces:
javax.ejb.EJBHome, Remote

public interface BasicCmpHome
extends javax.ejb.EJBHome

Author:
David Blevins, Richard Monson-Haefel

Method Summary
 BasicCmpObject create(String name)
           
 Collection findByLastName(String lastName)
           
 BasicCmpObject findByPrimaryKey(Integer primarykey)
           
 Collection findEmptyCollection()
           
 int sum(int x, int y)
           
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

public BasicCmpObject create(String name)
                      throws javax.ejb.CreateException,
                             RemoteException
Throws:
javax.ejb.CreateException
RemoteException

findByPrimaryKey

public BasicCmpObject findByPrimaryKey(Integer primarykey)
                                throws javax.ejb.FinderException,
                                       RemoteException
Throws:
javax.ejb.FinderException
RemoteException

findEmptyCollection

public Collection findEmptyCollection()
                               throws javax.ejb.FinderException,
                                      RemoteException
Throws:
javax.ejb.FinderException
RemoteException

findByLastName

public Collection findByLastName(String lastName)
                          throws javax.ejb.FinderException,
                                 RemoteException
Throws:
javax.ejb.FinderException
RemoteException

sum

public int sum(int x,
               int y)
        throws RemoteException
Throws:
RemoteException


Copyright © 1999-2007 OpenEJB. All Rights Reserved.