【Java开源代码栏目提醒】:网学会员Java开源代码为您提供TShirtHome.java参考,解决您在TShirtHome.java学习中工作中的难题,参考学习。
package ejava.ejbch36.tshirt;
import javax.ejb.EJBHome;
import javax.ejb.CreateException;
import java.rmi.RemoteException;
import javax.ejb.FinderException;
import java.util.Enumeration;
public interface TShirtHome extends EJBHome
{
/** Create a TShirt entity given all of its field data */
public TShirt create(Integer shirtID, String size, String color ,
String designFront, String designBack,
String pictureFront, String pictureBack, double unitPrice,
Integer itemID)
throws CreateException, RemoteException;
/** Find a TShirt entity given its primary key */
public TShirt findByPrimaryKey(Integer shirtID)
throws FinderException, RemoteException;
/** Find TShirt entities given a TShirt size and color */
public Enumeration findBySizeAndColor(String size, String color)
throws FinderException, RemoteException;
/** Find TShirt entities given a TShirt Item ID */
public Enumeration findByItemID(Integer itemID)
throws FinderException, RemoteException;
}
上一篇:
TShirtEJBean.java
下一篇:
餐饮管理系统