EsiteUserShoppingCartBean.java
上传用户:jnhyscl
上传日期:2010-03-08
资源大小:345k
文件大小:2k
源码类别:

电子政务应用

开发平台:

Java

  1. package shiponline;
  2. import javax.ejb.*;
  3. abstract public class EsiteUserShoppingCartBean implements EntityBean {
  4.   EntityContext entityContext;
  5.   public EsiteUserShoppingCartPK ejbCreate(java.lang.Integer user, java.lang.Integer shoppingCartUserid, java.lang.Integer shoppingCartInventoryid) throws CreateException {
  6.     setUser(user);
  7.     setShoppingCartUserid(shoppingCartUserid);
  8.     setShoppingCartInventoryid(shoppingCartInventoryid);
  9.     return null;
  10.   }
  11.   public void ejbPostCreate(java.lang.Integer user, java.lang.Integer shoppingCartUserid, java.lang.Integer shoppingCartInventoryid) throws CreateException {
  12.     /**@todo Complete this method*/
  13.   }
  14.   public void ejbRemove() throws RemoveException {
  15.     /**@todo Complete this method*/
  16.   }
  17.   public abstract void setUser(java.lang.Integer user);
  18.   public abstract void setShoppingCartUserid(java.lang.Integer shoppingCartUserid);
  19.   public abstract void setShoppingCartInventoryid(java.lang.Integer shoppingCartInventoryid);
  20.   public abstract java.lang.Integer getUser();
  21.   public abstract java.lang.Integer getShoppingCartUserid();
  22.   public abstract java.lang.Integer getShoppingCartInventoryid();
  23.   public void ejbLoad() {
  24.     /**@todo Complete this method*/
  25.   }
  26.   public void ejbStore() {
  27.     /**@todo Complete this method*/
  28.   }
  29.   public void ejbActivate() {
  30.     /**@todo Complete this method*/
  31.   }
  32.   public void ejbPassivate() {
  33.     /**@todo Complete this method*/
  34.   }
  35.   public void unsetEntityContext() {
  36.     this.entityContext = null;
  37.   }
  38.   public void setEntityContext(EntityContext entityContext) {
  39.     this.entityContext = entityContext;
  40.   }
  41. }