⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 goodscategorybean_75x3ro_localhomeimpl.java

📁 j2ee项目精选
💻 JAVA
字号:
/**
 * This code was automatically generated at 23:19:08 on 2004-6-16
 * by weblogic.ejb20.ejbc.Ejb2Rmi -- do not edit.
 *
 * @version WebLogic Server 7.0  Thu Apr 25 17:16:22 PDT 2002 180709 
 * @author Copyright (c) 2004 by BEA Systems, Inc. All Rights Reserved.
 */

package stockmanagementpro;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class GoodsCategoryBean_75x3ro_LocalHomeImpl
     extends    weblogic.ejb20.internal.EntityEJBLocalHome
     implements stockmanagementpro.GoodsCategoryHome, weblogic.utils.PlatformConstants 
                
		, weblogic.ejb.QueryLocalHome
{
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getCategoryDescription;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getCategoryName;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setCategoryName_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setCategoryDescription_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setParentId_i;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getCategoryId;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getParentId;


  public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_IiSS;


  public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByPrimaryKey_I;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindAll;


    private static java.lang.reflect.Method mth_ejbCreate_IiSS;
  private static java.lang.reflect.Method mth_postejbCreate_IiSS;


  

  public weblogic.ejb20.internal.MethodDescriptor md_eo_remove;

  public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_O;

  static {

    try {

      
  mth_ejbCreate_IiSS = GoodsCategoryBean.class.getMethod(
    "ejbCreate", new Class [] {java.lang.Integer.class, int.class, java.lang.String.class, java.lang.String.class});

  if (true) {
    mth_postejbCreate_IiSS = GoodsCategoryBean.class.getMethod(
        "ejbPostCreate", new Class [] {java.lang.Integer.class, int.class, java.lang.String.class, java.lang.String.class}); 
  }





    } catch (Exception e) {
      throw new weblogic.utils.AssertionError("Unable to find expected "+
        "methods.  Please check your classpath for stale versions of "+
        "your ejb classes and re-run weblogic.ejbc");
    }
  }


  public GoodsCategoryBean_75x3ro_LocalHomeImpl() {
    super(GoodsCategoryBean_75x3ro_ELOImpl.class
          , java.lang.Integer.class);
  }

  
public stockmanagementpro.GoodsCategory create (java.lang.Integer arg0,int arg1,java.lang.String arg2,java.lang.String arg3)
   throws javax.ejb.CreateException
{
  try {
    return (stockmanagementpro.GoodsCategory) super.create(md_ejbCreate_IiSS,
      mth_ejbCreate_IiSS, mth_postejbCreate_IiSS, 
      new Object [] {  arg0,new Integer( arg1), arg2, arg3});

 } catch (java.lang.Exception e) {
    if (e instanceof javax.ejb.EJBException) {
      throw (javax.ejb.EJBException)e;
    }
    else if (e instanceof javax.ejb.CreateException) {
   throw (javax.ejb.CreateException) e;
}
       else {
         throw new javax.ejb.CreateException ("Error while creating bean: " + 
           e.toString());
       }
  }
}



  
public stockmanagementpro.GoodsCategory findByPrimaryKey(java.lang.Integer arg0)
   throws javax.ejb.FinderException
{
  try {
    return (stockmanagementpro.GoodsCategory)
      super.findByPrimaryKey(md_ejbFindByPrimaryKey_I,  arg0 );
  } catch (java.lang.Exception e) {
    if (e instanceof javax.ejb.EJBException) {
      throw (javax.ejb.EJBException)e;
    }
    else if (e instanceof javax.ejb.FinderException) {
   throw (javax.ejb.FinderException) e;
}
       else {
         throw new javax.ejb.FinderException ("Error while finding bean: " + 
           e.toString());
       }
  }
}



public java.util.Collection findAll()
   throws javax.ejb.FinderException
{
  try {
    return (java.util.Collection)
      super.finder(md_ejbFindAll, new Object [] { } , weblogic.ejb20.internal.EntityEJBHome.COLL_FINDER);
  } catch (java.lang.Exception e) {
    if (e instanceof javax.ejb.EJBException) {
      throw (javax.ejb.EJBException)e;
    }
    else if (e instanceof javax.ejb.FinderException) {
   throw (javax.ejb.FinderException) e;
}
       else {
         throw new javax.ejb.FinderException ("Error while finding bean: " + 
           e.toString());
       }
  }
}




  

  public void remove(java.lang.Object pk) 
    throws javax.ejb.RemoveException
  {
    super.remove(md_ejbRemove_O, pk);
  }

}

⌨️ 快捷键说明

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