///////////////////////////////////////////////////////////////////////////////
// File : EJB_DOUBLE_PKHome.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_PK table.
* <br><i>Ejen EJB 1.1 (BMP) demonstration</i>
* @version 1.0
* @author (unknown)
* @see org.ejb.test.DOUBLE_PKValues
* @see org.ejb.test.EJB_DOUBLE_PK
* @see org.ejb.test.EJB_DOUBLE_PKBean
* @see org.ejb.test.EJB_DOUBLE_PK_PK
*/
public interface EJB_DOUBLE_PKHome extends EJBHome {
/**
* Creates a new DOUBLE_PK row.
* @param pk primary key of the new row to be created.
* @param values a values object that contains values for the
* DOUBLE_PK 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_PK create(EJB_DOUBLE_PK_PK pk, DOUBLE_PKValues 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_PK findByPrimaryKey(EJB_DOUBLE_PK_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_PK 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_PKHome.html
(HTML view generated by ejen v.1.0.0).