?? sb_hotelmanager_s744ls_eoimpl.java
字號(hào):
} catch (java.lang.Exception e) {
if (e instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)e;
}
else if (e instanceof com.xc.hotelmanager.hotel.exception.HotelManagerException) {
throw (com.xc.hotelmanager.hotel.exception.HotelManagerException) e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"com.xc.hotelmanager.hotel.control.session.SB_hotelmanagerBean.getRoomtype():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public com.xc.hotelmanager.hotel.model.Room addRoom(com.xc.hotelmanager.hotel.model.Room arg0)
throws com.xc.hotelmanager.hotel.exception.HotelManagerException, java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((SB_hotelmanager_s744ls_HomeImpl)getEJBHome()).md_eo_addRoom_com_xc_hotelmanager_hotel_model_Room;
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}));
}
SB_hotelmanager_s744ls_Intf __bean = (SB_hotelmanager_s744ls_Intf) __wrap.getBean();
com.xc.hotelmanager.hotel.model.Room result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.addRoom( 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 if (e instanceof com.xc.hotelmanager.hotel.exception.HotelManagerException) {
throw (com.xc.hotelmanager.hotel.exception.HotelManagerException) e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"com.xc.hotelmanager.hotel.control.session.SB_hotelmanagerBean.addRoom():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public void CancleResByDate(java.lang.String arg0)
throws com.xc.hotelmanager.hotel.exception.HotelManagerException, java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((SB_hotelmanager_s744ls_HomeImpl)getEJBHome()).md_eo_CancleResByDate_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}));
}
SB_hotelmanager_s744ls_Intf __bean = (SB_hotelmanager_s744ls_Intf) __wrap.getBean();
// No return value
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
__bean.CancleResByDate( 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 if (e instanceof com.xc.hotelmanager.hotel.exception.HotelManagerException) {
throw (com.xc.hotelmanager.hotel.exception.HotelManagerException) e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"com.xc.hotelmanager.hotel.control.session.SB_hotelmanagerBean.CancleResByDate():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
// No return result
}
public java.util.Collection getAllRoomType()
throws com.xc.hotelmanager.hotel.exception.HotelManagerException, java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((SB_hotelmanager_s744ls_HomeImpl)getEJBHome()).md_eo_getAllRoomType;
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 [] { }));
}
SB_hotelmanager_s744ls_Intf __bean = (SB_hotelmanager_s744ls_Intf) __wrap.getBean();
java.util.Collection result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.getAllRoomType();
} 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 if (e instanceof com.xc.hotelmanager.hotel.exception.HotelManagerException) {
throw (com.xc.hotelmanager.hotel.exception.HotelManagerException) e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"com.xc.hotelmanager.hotel.control.session.SB_hotelmanagerBean.getAllRoomType():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public void ResetRstust(java.lang.String arg0)
throws com.xc.hotelmanager.hotel.exception.HotelManagerException, java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((SB_hotelmanager_s744ls_HomeImpl)getEJBHome()).md_eo_ResetRstust_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}));
}
SB_hotelmanager_s744ls_Intf __bean = (SB_hotelmanager_s744ls_Intf) __wrap.getBean();
// No return value
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
__bean.ResetRstust( 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 if (e instanceof com.xc.hotelmanager.hotel.exception.HotelManagerException) {
throw (com.xc.hotelmanager.hotel.exception.HotelManagerException) e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"com.xc.hotelmanager.hotel.control.session.SB_hotelmanagerBean.ResetRstust():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
// No return result
}
public com.xc.hotelmanager.hotel.model.RoomType saveRoomType(com.xc.hotelmanager.hotel.model.RoomType arg0)
throws com.xc.hotelmanager.hotel.exception.HotelManagerException, java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((SB_hotelmanager_s744ls_HomeImpl)getEJBHome()).md_eo_saveRoomType_com_xc_hotelmanager_hotel_model_RoomType;
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}));
}
SB_hotelmanager_s744ls_Intf __bean = (SB_hotelmanager_s744ls_Intf) __wrap.getBean();
com.xc.hotelmanager.hotel.model.RoomType result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.saveRoomType( 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 if (e instanceof com.xc.hotelmanager.hotel.exception.HotelManagerException) {
throw (com.xc.hotelmanager.hotel.exception.HotelManagerException) e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"com.xc.hotelmanager.hotel.control.session.SB_hotelmanagerBean.saveRoomType():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public java.util.Collection getAllRes()
throws com.xc.hotelmanager.hotel.exception.HotelManagerException, java.rmi.RemoteException
{
java.lang.Throwable __ee = null;
weblogic.ejb20.interfaces.InvocationWrapper __wrap;
weblogic.ejb20.internal.MethodDescriptor __md =
((SB_hotelmanager_s744ls_HomeImpl)getEJBHome()).md_eo_getAllRes;
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 [] { }));
}
SB_hotelmanager_s744ls_Intf __bean = (SB_hotelmanager_s744ls_Intf) __wrap.getBean();
java.util.Collection result = null;
int __oldState = __bean.__WL_getMethodState();
try {
__bean.__WL_setMethodState(WLEnterpriseBean.STATE_BUSINESS_METHOD);
result = __bean.getAllRes();
} 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 if (e instanceof com.xc.hotelmanager.hotel.exception.HotelManagerException) {
throw (com.xc.hotelmanager.hotel.exception.HotelManagerException) e;
}
else {
throw new java.rmi.UnexpectedException("Unexpected exception in " +
"com.xc.hotelmanager.hotel.control.session.SB_hotelmanagerBean.getAllRes():" + EOL +
weblogic.utils.StackTraceUtils.throwable2StackTrace(e), e);
}
}
return result;
}
public void remove()
throws javax.ejb.RemoveException, java.rmi.RemoteException
{
super.remove(((SB_hotelmanager_s744ls_HomeImpl)getEJBHome()).md_eo_remove);
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -