org.objectweb.jonas.jtests.beans.ejbql
Interface ShipHomeRemote


public interface ShipHomeRemote


Method Summary
 ShipRemote create(java.lang.Integer primaryKey, java.lang.String name, double tonnage)
           
 java.util.Collection findAllShips()
           
 ShipRemote findByPrimaryKey(java.lang.Object primaryKey)
           
 java.util.Collection findByTonnage(java.lang.Double tonnage)
           
 java.util.Collection findByTonnage(java.lang.Double tonnage1, java.lang.Double tonnage2)
           
 

Method Detail

create

public ShipRemote create(java.lang.Integer primaryKey,
                         java.lang.String name,
                         double tonnage)
                  throws javax.ejb.CreateException,
                         java.rmi.RemoteException

findByPrimaryKey

public ShipRemote findByPrimaryKey(java.lang.Object primaryKey)
                            throws javax.ejb.FinderException,
                                   java.rmi.RemoteException

findAllShips

public java.util.Collection findAllShips()
                                  throws javax.ejb.FinderException,
                                         java.rmi.RemoteException

findByTonnage

public java.util.Collection findByTonnage(java.lang.Double tonnage)
                                   throws javax.ejb.FinderException,
                                          java.rmi.RemoteException

findByTonnage

public java.util.Collection findByTonnage(java.lang.Double tonnage1,
                                          java.lang.Double tonnage2)
                                   throws javax.ejb.FinderException,
                                          java.rmi.RemoteException