esiteusershoppingcartbean.java~1~

来自「大型EJB项目的代码,上传让大家看看,希望得到会员的资格,可以下到好的代码来学习」· JAVA~1~ 代码 · 共 43 行

JAVA~1~
43
字号
package shiponline;import javax.ejb.*;abstract public class EsiteUserShoppingCartBean implements EntityBean {  EntityContext entityContext;  public EsiteUserShoppingCartPK ejbCreate(java.lang.Integer user, java.lang.Integer shoppingCartUserid, java.lang.Integer shoppingCartInventoryid) throws CreateException  {    setUser(user);    setShoppingCartUserid(shoppingCartUserid);    setShoppingCartInventoryid(shoppingCartInventoryid);    return null;  }  public void ejbPostCreate(java.lang.Integer user, java.lang.Integer shoppingCartUserid, java.lang.Integer shoppingCartInventoryid) throws CreateException  {    /**@todo Complete this method*/  }  public void ejbRemove() throws RemoveException  {    /**@todo Complete this method*/  }  public abstract void setUser(java.lang.Integer user);  public abstract void setShoppingCartUserid(java.lang.Integer shoppingCartUserid);  public abstract void setShoppingCartInventoryid(java.lang.Integer shoppingCartInventoryid);  public abstract java.lang.Integer getUser();  public abstract java.lang.Integer getShoppingCartUserid();  public abstract java.lang.Integer getShoppingCartInventoryid();  public void ejbLoad() {    /**@todo Complete this method*/  }  public void ejbStore() {    /**@todo Complete this method*/  }  public void ejbActivate() {    /**@todo Complete this method*/  }  public void ejbPassivate() {    /**@todo Complete this method*/  }  public void setEntityContext(EntityContext entityContext) {    this.entityContext = entityContext;  }  public void unsetEntityContext() {    this.entityContext = null;  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?