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

📄 comment_mcv1g0_localhomeimpl.java

📁 一个java
💻 JAVA
字号:
/**
* This code was automatically generated at 11:45:52 on 2004-4-25
* by weblogic.ejb20.ejbc.Ejb2Rmi -- do not edit.
*
* @version WebLogic Server 8.1  Fri Jun 20 23:06:40 PDT 2003 271009 
* @author Copyright (c) 2004 by BEA Systems, Inc. All Rights Reserved.
*/

package bookstore.ejb;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class Comment_mcv1g0_LocalHomeImpl
extends    weblogic.ejb20.internal.EntityEJBLocalHome
implements bookstore.ejb.CommentHome, weblogic.utils.PlatformConstants 


{
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setContent_S;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setRank_i;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getContent;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getRank;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getCommentID;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getCustomerID;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setBookID_S;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getBookID;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_setCustomerID_S;
  public weblogic.ejb20.internal.MethodDescriptor md_eo_getDetails;
  
  
  public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_bookstore_util_CommentDetails;
  
  
  public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByPrimaryKey_S;
  public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByCondition_S;
  
  
  private static java.lang.reflect.Method mth_ejbCreate_bookstore_util_CommentDetails;
  private static java.lang.reflect.Method mth_postejbCreate_bookstore_util_CommentDetails;
  
  
  
  
  public weblogic.ejb20.internal.MethodDescriptor md_eo_remove;
  
  public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_O;
  
  static {
    
    try {
      
      
      mth_ejbCreate_bookstore_util_CommentDetails = Comment_mcv1g0_Intf.class.getMethod(
      "ejbCreate", new Class [] {bookstore.util.CommentDetails.class});
      
      if (true) {
        mth_postejbCreate_bookstore_util_CommentDetails = Comment_mcv1g0_Intf.class.getMethod(
        "ejbPostCreate", new Class [] {bookstore.util.CommentDetails.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 Comment_mcv1g0_LocalHomeImpl() {
    super(Comment_mcv1g0_ELOImpl.class
    , java.lang.String.class);
  }
  
  
  public bookstore.ejb.Comment create (bookstore.util.CommentDetails arg0)
  throws javax.ejb.CreateException
  {
    try {
      return (bookstore.ejb.Comment) super.create(md_ejbCreate_bookstore_util_CommentDetails,
      mth_ejbCreate_bookstore_util_CommentDetails, mth_postejbCreate_bookstore_util_CommentDetails, 
      new Object [] {  arg0});
      
    } 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 bookstore.ejb.Comment findByPrimaryKey(java.lang.String arg0)
  throws javax.ejb.FinderException
  {
    try {
      return (bookstore.ejb.Comment)
      super.findByPrimaryKey(md_ejbFindByPrimaryKey_S,  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 findByCondition(java.lang.String arg0)
  throws javax.ejb.FinderException
  {
    try {
      return (java.util.Collection)
      super.finder(md_ejbFindByCondition_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 + -