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

📄 employeepermcmp_1ny90w_localhomeimpl.java

📁 jbuilder9+weblogic8+oracle9开发的客户管理系统。服务器端采用EJB技术。可以对公司雇员和客户进行管理。
💻 JAVA
字号:
/**
* This code was automatically generated at 8:22:53 on 2005-4-22
* by weblogic.ejb20.ejbc.Ejb2Rmi -- do not edit.
*
* @version WebLogic Server 8.1  Fri Dec 5 15:01:51 PST 2003 316284 
* @author Copyright (c) 2005 by BEA Systems, Inc. All Rights Reserved.
*/

package testejb;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class EmployeePermcmp_1ny90w_LocalHomeImpl
extends    weblogic.ejb20.internal.EntityEJBLocalHome
implements testejb.EmployeePermcmpHome, weblogic.utils.PlatformConstants 

, weblogic.ejb.QueryLocalHome
{
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getEmployeeId;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getPermCode;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getPerm;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setPerm_testejb_Perm;
  
  
  public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_SS;
  
  
  public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByPrimaryKey_testejb_EmployeePermcmpPK;
  public weblogic.ejb20.internal.MethodDescriptor md_ejbFindbyid_S;
  public weblogic.ejb20.internal.MethodDescriptor md_ejbFindbycode_S;
  
  
  private static java.lang.reflect.Method mth_ejbCreate_SS;
  private static java.lang.reflect.Method mth_postejbCreate_SS;
  
  
  
  
  public weblogic.ejb20.internal.MethodDescriptor md_eo_remove;
  
  public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_O;
  
  static {
    
    try {
      
      
      mth_ejbCreate_SS = EmployeePermcmp_1ny90w_Intf.class.getMethod(
      "ejbCreate", new Class [] {java.lang.String.class, java.lang.String.class});
      
      if (true) {
        mth_postejbCreate_SS = EmployeePermcmp_1ny90w_Intf.class.getMethod(
        "ejbPostCreate", new Class [] {java.lang.String.class, java.lang.String.class}); 
      }
      
      
      
      
      
    } catch (Exception e) {
      throw new AssertionError("Unable to find expected "+
      "methods.  Please check your classpath for stale versions of "+
      "your ejb classes and re-run weblogic.ejbc");
    }
  }
  
  
  public EmployeePermcmp_1ny90w_LocalHomeImpl() {
    super(EmployeePermcmp_1ny90w_ELOImpl.class
    , testejb.EmployeePermcmpPK.class);
  }
  
  
  public testejb.EmployeePermcmp create (java.lang.String arg0,java.lang.String arg1)
  throws javax.ejb.CreateException
  {
    try {
      return (testejb.EmployeePermcmp) super.create(md_ejbCreate_SS,
      mth_ejbCreate_SS, mth_postejbCreate_SS, 
      new Object [] {  arg0, arg1});
      
    } 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 testejb.EmployeePermcmp findByPrimaryKey(testejb.EmployeePermcmpPK arg0)
  throws javax.ejb.FinderException
  {
    try {
      return (testejb.EmployeePermcmp)
      super.findByPrimaryKey(md_ejbFindByPrimaryKey_testejb_EmployeePermcmpPK,  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 findbyid(java.lang.String arg0)
  throws javax.ejb.FinderException
  {
    try {
      return (java.util.Collection)
      super.finder(md_ejbFindbyid_S, new Object [] {  arg0} , 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 java.util.Collection findbycode(java.lang.String arg0)
  throws javax.ejb.FinderException
  {
    try {
      return (java.util.Collection)
      super.finder(md_ejbFindbycode_S, new Object [] {  arg0} , 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 + -