1 package org.objectweb.jonas.jtests.beans.ejbql; 2 3 import java.util.Collection ; 4 5 import javax.ejb.FinderException ; 6 7 public interface ShipHomeLocal extends javax.ejb.EJBLocalHome { 9 10 public ShipLocal create(Integer primaryKey, String name, double tonnage) 11 throws javax.ejb.CreateException ; 12 13 public ShipLocal findByPrimaryKey(Object primaryKey) 14 throws javax.ejb.FinderException ; 15 16 public Collection findAllShips() 17 throws FinderException ; 18 19 public Collection findByTonnage(Double tonnage) 20 throws javax.ejb.FinderException ; 21 22 public Collection findByTonnage(Double tonnage1, Double tonnage2) 23 throws javax.ejb.FinderException ; 24 25 } 26 | Popular Tags |