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


public interface ShipHomeLocal


Method Summary
 ShipLocal create(java.lang.Integer primaryKey, java.lang.String name, double tonnage)
           
 java.util.Collection findAllShips()
           
 ShipLocal 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 ShipLocal create(java.lang.Integer primaryKey,
                        java.lang.String name,
                        double tonnage)
                 throws javax.ejb.CreateException

findByPrimaryKey

public ShipLocal findByPrimaryKey(java.lang.Object primaryKey)
                           throws javax.ejb.FinderException

findAllShips

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

findByTonnage

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

findByTonnage

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