📄 product_uiw25s_homeimpl.java
字号:
/**
* This code was automatically generated at 3:13:38 on 2006-12-19
* 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) 2006 by BEA Systems, Inc. All Rights Reserved.
*/
package demo12;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class product_uiw25s_HomeImpl
extends weblogic.ejb20.internal.EntityEJBHome
implements demo12.productRemoteHome, weblogic.utils.PlatformConstants
, weblogic.ejb.QueryHome
{
public weblogic.ejb20.internal.MethodDescriptor md_eo_setProductor_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getProductor;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getPid;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getUnitPrice;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setDesciption_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getCateid;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setUnitPrice_d;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setPname_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_setCateid_S;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getPname;
public weblogic.ejb20.internal.MethodDescriptor md_eo_getDesciption;
public weblogic.ejb20.internal.MethodDescriptor md_ejbCreate_SSSSSd;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindByPrimaryKey_S;
public weblogic.ejb20.internal.MethodDescriptor md_ejbFindAllProducts;
private static java.lang.reflect.Method mth_ejbCreate_SSSSSd;
private static java.lang.reflect.Method mth_postejbCreate_SSSSSd;
public weblogic.ejb20.internal.MethodDescriptor md_eo_remove;
public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_javax_ejb_Handle;
public weblogic.ejb20.internal.MethodDescriptor md_ejbRemove_O;
static {
try {
mth_ejbCreate_SSSSSd = product_uiw25s_Intf.class.getMethod(
"ejbCreate", new Class [] {java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, double.class});
if (true) {
mth_postejbCreate_SSSSSd = product_uiw25s_Intf.class.getMethod(
"ejbPostCreate", new Class [] {java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, double.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 product_uiw25s_HomeImpl() {
super(product_uiw25s_EOImpl.class
, java.lang.String.class);
}
public demo12.productRemote create (java.lang.String arg0,java.lang.String arg1,java.lang.String arg2,java.lang.String arg3,java.lang.String arg4,double arg5)
throws javax.ejb.CreateException, java.rmi.RemoteException
{
try {
return (demo12.productRemote) super.create(md_ejbCreate_SSSSSd,
mth_ejbCreate_SSSSSd, mth_postejbCreate_SSSSSd,
new Object [] { arg0, arg1, arg2, arg3, arg4,new Double( arg5)});
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)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 demo12.productRemote findByPrimaryKey(java.lang.String arg0)
throws javax.ejb.FinderException, java.rmi.RemoteException
{
try {
return (demo12.productRemote)
super.findByPrimaryKey(md_ejbFindByPrimaryKey_S, arg0 );
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)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 findAllProducts()
throws javax.ejb.FinderException, java.rmi.RemoteException
{
try {
return (java.util.Collection)
super.finder(md_ejbFindAllProducts, new Object [] { } , weblogic.ejb20.internal.EntityEJBHome.COLL_FINDER);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)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 java.rmi.RemoteException, javax.ejb.RemoveException
{
super.remove(md_ejbRemove_O, pk);
}
public void remove(javax.ejb.Handle h)
throws java.rmi.RemoteException, javax.ejb.RemoveException
{
super.remove(md_ejbRemove_javax_ejb_Handle, h);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -