📄 bookbean_1sxrd_localhomeimpl.java
字号:
/**
* This code was automatically generated at 16:03:04 on 2003-4-30
* by weblogic.ejb20.ejbc.Ejb2Rmi -- do not edit.
*
* @version WebLogic Server 7.0 SP2 Sun Jan 26 23:09:32 PST 2003 234192
* @author Copyright (c) 2003 by BEA Systems, Inc. All Rights Reserved.
*/
package test;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class bookBean_1sxrd_LocalHomeImpl
extends weblogic.ejb20.internal.EntityEJBLocalHome
implements test.bookHome, weblogic.utils.PlatformConstants
, weblogic.ejb.QueryLocalHome
{
public weblogic.ejb20.internal.MethodDescriptor md_eo_setBaseprice_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getName;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setDescription_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getBookid;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getBaseprice;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getDescription;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setName_S;
public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_SSSS;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByPrimaryKey_S;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByName_S;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByDescription_S;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByBasePrice_d;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindExpensiveBooks_d;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindCheapBooks_d;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindAllBooks;
private static java.lang.reflect.Method mth_ejbCreate_SSSS;
private static java.lang.reflect.Method mth_postejbCreate_SSSS;
public weblogic.ejb20.internal.MethodDescriptor md_eo_remove;
public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_O;
static {
try {
mth_ejbCreate_SSSS = bookBean.class.getMethod(
"ejbCreate", new Class [] {java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class});
if (true) {
mth_postejbCreate_SSSS = bookBean.class.getMethod(
"ejbPostCreate", new Class [] {java.lang.String.class, java.lang.String.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 bookBean_1sxrd_LocalHomeImpl() {
super(bookBean_1sxrd_ELOImpl.class
, java.lang.String.class);
}
public test.book create (java.lang.String arg0,java.lang.String arg1,java.lang.String arg2,java.lang.String arg3)
throws javax.ejb.CreateException
{
try {
return (test.book) super.create(md_ejbCreate_SSSS,
mth_ejbCreate_SSSS, mth_postejbCreate_SSSS,
new Object [] { arg0, 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 test.book findByPrimaryKey(java.lang.String arg0)
throws javax.ejb.FinderException
{
try {
return (test.book)
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 findByName(java.lang.String arg0)
throws javax.ejb.FinderException
{
try {
return (java.util.Collection)
super.finder(md_ejbFindByName_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 findByDescription(java.lang.String arg0)
throws javax.ejb.FinderException
{
try {
return (java.util.Collection)
super.finder(md_ejbFindByDescription_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 findByBasePrice(double arg0)
throws javax.ejb.FinderException
{
try {
return (java.util.Collection)
super.finder(md_ejbFindByBasePrice_d, new Object [] { new Double( 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 findExpensiveBooks(double arg0)
throws javax.ejb.FinderException
{
try {
return (java.util.Collection)
super.finder(md_ejbFindExpensiveBooks_d, new Object [] { new Double( 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 findCheapBooks(double arg0)
throws javax.ejb.FinderException
{
try {
return (java.util.Collection)
super.finder(md_ejbFindCheapBooks_d, new Object [] { new Double( 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 findAllBooks()
throws javax.ejb.FinderException
{
try {
return (java.util.Collection)
super.finder(md_ejbFindAllBooks, 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 + -