FileDocCategorySizeDatePackage
ShipHomeLocal.javaAPI DocExample705Tue Mar 06 03:29:36 GMT 2001com.titan.ship

ShipHomeLocal.java

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;
}