package com.titan.ship;
import javax.ejb.CreateException;
import javax.ejb.FinderException;
import java.util.Collection;
// Ship EJB's local home interface
public interface ShipHomeLocal extends javax.ejb.EJBLocalHome {
public ShipLocal create(Integer primaryKey, String name, double tonnage)
throws javax.ejb.CreateException;
public ShipLocal findByPrimaryKey(Integer primaryKey)
throws javax.ejb.FinderException;
public Collection findByTonnage(Double tonnage)
throws javax.ejb.FinderException;
public Collection findByTonnage(Double tonnage1, Double tonnage2)
throws javax.ejb.FinderException;
}
|