/*
 * Generated file - Do not edit!
 */
package com.alodar.example.interfaces;

import java.lang.*;

/**
 * Home interface for Item. Lookup using {1}
 * @author XDOCLET 1.1.2
 * @xdoclet-generated at Aug 25, 2002 3:02:28 PM
 */
public interface ItemHome
   extends javax.ejb.EJBHome
{
   public static final String COMP_NAME="java:comp/env/ejb/Item";
   public static final String JNDI_NAME="com.alodar.example.interfaces.Item";

   /**
    * When the client invokes a create method, the EJB container invokes the ejbCreate method.
    * Typically, an ejbCreate method in an entity bean performs the following tasks:
    * Inserts the entity state into the database.
    * Initializes the instance variables.
    * Returns the primary key.
    * @param data the data object used to initialise the new instance
    * @return the primary key of the new instance
    */
   public com.alodar.example.interfaces.Item create(com.alodar.example.interfaces.ItemData data) throws java.rmi.RemoteException,javax.ejb.CreateException;

   public com.alodar.example.interfaces.Item findByPrimaryKey(com.alodar.example.interfaces.ItemPK pk)
      throws java.rmi.RemoteException,javax.ejb.FinderException;

}