///////////////////////////////////////////////////////////////////////////////
// File     : EJB_DOUBLE_UNIQUEHome.java
// Creation : 2002.04.29 (generated by ejen 1.0.0)

package org.ejb.test;

import javax.ejb.EJBHome;
import javax.ejb.CreateException;
import javax.ejb.EJBException;
import javax.ejb.ObjectNotFoundException;
import javax.ejb.FinderException;
import java.rmi.RemoteException;
import java.util.Collection;


/**
 * Home interface for the entity bean that maps the DOUBLE_UNIQUE table.
 * <br><i>Ejen EJB 1.1 (BMP) demonstration</i>
 * @version 1.0
 * @author (unknown)
 * @see org.ejb.test.DOUBLE_UNIQUEValues
 * @see org.ejb.test.EJB_DOUBLE_UNIQUE
 * @see org.ejb.test.EJB_DOUBLE_UNIQUEBean
 * @see org.ejb.test.EJB_DOUBLE_UNIQUE_PK
 */
public interface EJB_DOUBLE_UNIQUEHome extends EJBHome {

    /**
     * Creates a new DOUBLE_UNIQUE row.
     * @param pk primary key of the new row to be created.
     * @param values a values object that contains values for the
     *        DOUBLE_UNIQUE row to be created.
     * @return remote interface of the created entity bean.
     * @throws javax.ejb.CreateException row count for INSERT != 1.
     * @throws javax.ejb.EJBException SQL error.
     * @throws java.rmi.RemoteException
     */
    public EJB_DOUBLE_UNIQUE create(EJB_DOUBLE_UNIQUE_PK pk, DOUBLE_UNIQUEValues values) throws CreateException, RemoteException;

    /**
     * Finds a single row, provided a primary key.
     * @param pk the primary key that indentifies the row to retrieve.
     * @return remote interface mapping the founded row.
     * @throws javax.ejb.ObjectNotFoundException no row with this primary key.
     * @throws javax.ejb.EJBException SQL error.
     * @throws java.rmi.RemoteException
     */
    public EJB_DOUBLE_UNIQUE findByPrimaryKey(EJB_DOUBLE_UNIQUE_PK pk) throws ObjectNotFoundException, RemoteException;

    /**
     * Finds rows by id0.
     * @param id0 value of the ID0 column.
     * @return remote interfaces collection mapping the founded rows.
     * @throws javax.ejb.EJBException SQL error.
     * @throws javax.ejb.FinderException unused.
     * @throws java.rmi.RemoteException
     */
    public Collection findById0(int id0) throws FinderException, RemoteException;

    /**
     * Finds rows by id1.
     * @param id1 value of the ID1 column.
     * @return remote interfaces collection mapping the founded rows.
     * @throws javax.ejb.EJBException SQL error.
     * @throws javax.ejb.FinderException unused.
     * @throws java.rmi.RemoteException
     */
    public Collection findById1(int id1) throws FinderException, RemoteException;

    /**
     * Finds rows by i.
     * @param i value of the I column.
     * @return remote interfaces collection mapping the founded rows.
     * @throws javax.ejb.EJBException SQL error.
     * @throws javax.ejb.FinderException unused.
     * @throws java.rmi.RemoteException
     */
    public Collection findByI(int i) throws FinderException, RemoteException;

    /**
     * Finds rows by j.
     * @param j value of the J column.
     * @return remote interfaces collection mapping the founded rows.
     * @throws javax.ejb.EJBException SQL error.
     * @throws javax.ejb.FinderException unused.
     * @throws java.rmi.RemoteException
     */
    public Collection findByJ(int j) throws FinderException, RemoteException;

    /**
     * Finds all rows in the DOUBLE_UNIQUE table.
     * @return remote interfaces collection mapping the founded rows.
     * @throws javax.ejb.EJBException SQL error.
     * @throws javax.ejb.FinderException unused.
     * @throws java.rmi.RemoteException
     */
    public Collection findAll() throws FinderException, RemoteException;
}

EJB_DOUBLE_UNIQUEHome.html (HTML view generated by ejen v.1.0.0).