📄 customerdao_s1ox8w_eoimpl.java
字号:
/**
* This code was automatically generated at 15:12:16 on 2007-11-16
* 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) 2007 by BEA Systems, Inc. All Rights Reserved.
*/
package prj37_1;
import weblogic.ejb20.interfaces.WLEnterpriseBean;
public final class CustomerDao_s1ox8w_EOImpl
extends weblogic.ejb20.internal.StatelessEJBObject
implements prj37_1.CustomerDao, weblogic.utils.PlatformConstants
{
public CustomerDao_s1ox8w_EOImpl() {}
public boolean update(prj37_1.CustomerDto arg0) throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((CustomerDao_s1ox8w_HomeImpl)getEJBHome()).md_eo_update_prj37_1_CustomerDto;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { arg0}));
}
CustomerDao_s1ox8w_Intf __bean = (CustomerDao_s1ox8w_Intf) __wrap.getBean();
boolean result = false;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.update( arg0);
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"prj37_1.CustomerDaoBean.update():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public boolean insert(prj37_1.CustomerDto arg0) throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((CustomerDao_s1ox8w_HomeImpl)getEJBHome()).md_eo_insert_prj37_1_CustomerDto;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { arg0}));
}
CustomerDao_s1ox8w_Intf __bean = (CustomerDao_s1ox8w_Intf) __wrap.getBean();
boolean result = false;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.insert( arg0);
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"prj37_1.CustomerDaoBean.insert():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public boolean delete(prj37_1.CustomerDto arg0) throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((CustomerDao_s1ox8w_HomeImpl)getEJBHome()).md_eo_delete_prj37_1_CustomerDto;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { arg0}));
}
CustomerDao_s1ox8w_Intf __bean = (CustomerDao_s1ox8w_Intf) __wrap.getBean();
boolean result = false;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.delete( arg0);
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"prj37_1.CustomerDaoBean.delete():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public prj37_1.CustomerDto findCusByAccount(java.lang.String arg0)
throws java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((CustomerDao_s1ox8w_HomeImpl)getEJBHome()).md_eo_findCusByAccount_S;
try {
__wrap = super.preInvoke(
__md, weblogic.ejb20.internal.DummyContextHandler.THE_ONE);
} catch (weblogic.ejb20.internal.NeedRealContextHandlerError e) {
__wrap = super.preInvoke(
__md, new weblogic.ejb20.internal.EJBContextHandler(
__md, new Object [] { arg0}));
}
CustomerDao_s1ox8w_Intf __bean = (CustomerDao_s1ox8w_Intf) __wrap.getBean();
prj37_1.CustomerDto result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.findCusByAccount( arg0);
} catch (java.lang.Throwable t) {
__ee = t;
}
finally {
__bean.__WL_setMethodState(__oldState);
}
try {
super.postInvoke(__wrap, __ee);
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"prj37_1.CustomerDaoBean.findCusByAccount():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public void remove()
throws javax.ejb.RemoveException, java.rmi.RemoteException
{
super.remove(((CustomerDao_s1ox8w_HomeImpl)getEJBHome()).md_eo_remove);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -